CrowdStrike Falcon CrowdStrike Subreddit

Using the IOA Exclusions service collection

Uber class support Service class support Documentation Version Page Updated

Table of Contents

Operation IDDescription
getIOAExclusionsV1
PEP 8get_exclusions
Get a set of IOA Exclusions by specifying their IDs.
createIOAExclusionsV1
PEP 8create_exclusions
Create the IOA exclusions.
deleteIOAExclusionsV1
PEP 8delete_exclusions
Delete the IOA exclusions by ID.
updateIOAExclusionsV1
PEP 8update_exclusions
Update the IOA exclusions.
queryIOAExclusionsV1
PEP 8query_exclusions
Search for IOA exclusions.
ss_ioa_exclusions_aggregates_v2
PEP 8get_ss_exclusion_aggregates
Get Self Service IOA Exclusion aggregates as specified via json in the request body.
ss_ioa_exclusions_get_reports_v2
PEP 8get_ss_exclusion_reports_v2
Create a report of Self Service IOA Exclusions scoped by the given filters.
ss_ioa_exclusions_get_v2
PEP 8get_ss_exclusion_rules_v2
Get the Self Service IOA Exclusions rules by id.
ss_ioa_exclusions_create_v2
PEP 8create_ss_exclusions
Create new Self Service IOA Exclusions.
ss_ioa_exclusions_update_v2
PEP 8update_ss_exclusions
Update the Self Service IOA Exclusions rule by id.
ss_ioa_exclusions_delete_v2
PEP 8delete_ss_exclusions
Delete the Self Service IOA Exclusions rule by id.
ss_ioa_exclusions_matched_rule_v2
PEP 8get_ss_exclusion_matched_rules
Get Self Service IOA Exclusions rules for matched IFN/CLI for child, parent and grandparent.
ss_ioa_exclusions_new_rules_v2
PEP 8get_default_ss_exclusions
Get defaults for Self Service IOA Exclusions based on provided IFN/CLI for child, parent and grandparent.
ss_ioa_exclusions_search_v2
PEP 8query_ss_exclusions
Search for Self Service IOA Exclusions.

Passing credentials

WARNING

client_id and client_secret are keyword arguments that contain your CrowdStrike API credentials. Please note that all examples below do not hard code these values. (These values are ingested as strings.)

CrowdStrike does not recommend hard coding API credentials or customer identifiers within source code.

getIOAExclusionsV1

Get a set of IOA Exclusions by specifying their IDs

PEP8 method name

get_exclusions

Endpoint

MethodRoute
GET/policy/entities/ioa-exclusions/v1

Required Scope

ioa-exclusions:read

Content-Type

  • Produces: application/json

Keyword Arguments

NameServiceUberTypeData typeDescription
ids
Service Class Support

Uber Class Support
querystring or list of stringsThe IDs of the exclusions to retrieve.
parameters
Service Class Support

Uber Class Support
querydictionaryFull query string parameters payload in JSON format.

Usage

Service class example (PEP8 syntax)
from falconpy import IOAExclusions

# Do not hardcode API credentials!
falcon = IOAExclusions(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

id_list = 'ID1,ID2,ID3'  # Can also pass a list here: ['ID1', 'ID2', 'ID3']

response = falcon.get_exclusions(ids=id_list)
print(response)

Service class example (Operation ID syntax)
from falconpy import IOAExclusions

# Do not hardcode API credentials!
falcon = IOAExclusions(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

id_list = 'ID1,ID2,ID3'  # Can also pass a list here: ['ID1', 'ID2', 'ID3']

response = falcon.getIOAExclusionsV1(ids=id_list)
print(response)

Uber class example
from falconpy import APIHarnessV2

# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

id_list = 'ID1,ID2,ID3'  # Can also pass a list here: ['ID1', 'ID2', 'ID3']

response = falcon.command("getIOAExclusionsV1", ids=id_list)
print(response)

Back to Table of Contents

createIOAExclusionsV1

Create the IOA exclusions

PEP8 method name

create_exclusions

Endpoint

MethodRoute
POST/policy/entities/ioa-exclusions/v1

Required Scope

ioa-exclusions_write:write

Content-Type

  • Produces: application/json

Keyword Arguments

NameServiceUberTypeData typeDescription
body
Service Class Support

Uber Class Support
bodydictionaryFull body payload in JSON format.
cl_regex
Service Class Support

No Uber Class Support
bodystringCommand line regular expression.
comment
Service Class Support

No Uber Class Support
bodystringString comment describing why the exclusions was created.
description
Service Class Support

No Uber Class Support
bodystringExclusion description.
detection_json
Service Class Support

No Uber Class Support
bodystringJSON formatted detection template.
groups
Service Class Support

No Uber Class Support
bodylist of stringsGroup ID(s) impacted by the exclusion.
ifn_regex
Service Class Support

No Uber Class Support
bodystringIndicator file name regular expression.
name
Service Class Support

No Uber Class Support
bodystringName of the exclusion.
pattern_id
Service Class Support

No Uber Class Support
bodystringID of the pattern to use for the exclusion.
pattern_name
Service Class Support

No Uber Class Support
bodystringName of the pattern to use for the exclusion.

Usage

Service class example (PEP8 syntax)
from falconpy import IOAExclusions

# Do not hardcode API credentials!
falcon = IOAExclusions(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

group_list = ['ID1', 'ID2', 'ID3']

response = falcon.create_exclusions(cl_regex="string",
                                    comment="string",
                                    description="string",
                                    detection_json="string",
                                    groups=group_list,
                                    ifn_regex="string",
                                    name="string",
                                    pattern_id="string",
                                    pattern_name="string"
                                    )

print(response)
Service class example (Operation ID syntax)
from falconpy import IOAExclusions

# Do not hardcode API credentials!
falcon = IOAExclusions(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

group_list = ['ID1', 'ID2', 'ID3']

response = falcon.createIOAExclusionsV1(cl_regex="string",
                                        comment="string",
                                        description="string",
                                        detection_json="string",
                                        groups=group_list,
                                        ifn_regex="string",
                                        name="string",
                                        pattern_id="string",
                                        pattern_name="string"
                                        )
print(response)
Uber class example
from falconpy import APIHarnessV2

# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

group_list = ['ID1', 'ID2', 'ID3']

BODY = {
    "cl_regex": "string",
    "comment": "string",
    "description": "string",
    "detection_json": "string",
    "groups": group_list,
    "ifn_regex": "string",
    "name": "string",
    "pattern_id": "string",
    "pattern_name": "string"
}

response = falcon.command("createIOAExclusionsV1", body=BODY)
print(response)

Back to Table of Contents

deleteIOAExclusionsV1

Delete the IOA exclusions by id

PEP8 method name

delete_exclusions

Endpoint

MethodRoute
DELETE/policy/entities/ioa-exclusions/v1

Required Scope

ioa-exclusions_write:write

Content-Type

  • Produces: application/json

Keyword Arguments

NameServiceUberTypeData typeDescription
comment
Service Class Support

Uber Class Support
querystringExplains why this exclusion was deleted.
ids
Service Class Support

Uber Class Support
querystring or list of stringsThe IDs of the exclusions to retrieve.
parameters
Service Class Support

Uber Class Support
querydictionaryFull query string parameters payload in JSON format.

Usage

Service class example (PEP8 syntax)
from falconpy import IOAExclusions

# Do not hardcode API credentials!
falcon = IOAExclusions(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

id_list = 'ID1,ID2,ID3'  # Can also pass a list here: ['ID1', 'ID2', 'ID3']

response = falcon.delete_exclusions(comment="string", ids=id_list)
print(response)

Service class example (Operation ID syntax)
from falconpy import IOAExclusions

# Do not hardcode API credentials!
falcon = IOAExclusions(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

id_list = 'ID1,ID2,ID3'  # Can also pass a list here: ['ID1', 'ID2', 'ID3']

response = falcon.deleteIOAExclusionsV1(comment="string", ids=id_list)
print(response)

Uber class example
from falconpy import APIHarnessV2

# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

id_list = 'ID1,ID2,ID3'  # Can also pass a list here: ['ID1', 'ID2', 'ID3']

response = falcon.command("deleteIOAExclusionsV1", comment="string", ids=id_list)
print(response)

Back to Table of Contents

updateIOAExclusionsV1

Update the IOA exclusions

PEP8 method name

update_exclusions

Endpoint

MethodRoute
PATCH/policy/entities/ioa-exclusions/v1

Required Scope

ioa-exclusions_write:write

Content-Type

  • Produces: application/json

Keyword Arguments

NameServiceUberTypeData typeDescription
body
Service Class Support

Uber Class Support
bodydictionaryFull body payload in JSON format.
cl_regex
Service Class Support

No Uber Class Support
bodystringCommand line regular expression.
comment
Service Class Support

No Uber Class Support
bodystringString comment describing why the exclusions was created.
description
Service Class Support

No Uber Class Support
bodystringExclusion description.
detection_json
Service Class Support

No Uber Class Support
bodystringJSON formatted detection template.
groups
Service Class Support

No Uber Class Support
bodylist of stringsGroup ID(s) impacted by the exclusion.
id
Service Class Support

No Uber Class Support
bodystringID of the exclusion to update.
ifn_regex
Service Class Support

No Uber Class Support
bodystringIndicator file name regular expression.
name
Service Class Support

No Uber Class Support
bodystringName of the exclusion.
pattern_id
Service Class Support

No Uber Class Support
bodystringID of the pattern to use for the exclusion.
pattern_name
Service Class Support

No Uber Class Support
bodystringName of the pattern to use for the exclusion.

Usage

Service class example (PEP8 syntax)
from falconpy import IOAExclusions

# Do not hardcode API credentials!
falcon = IOAExclusions(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

group_list = ['ID1', 'ID2', 'ID3']

response = falcon.update_exclusions(cl_regex="string",
                                    comment="string",
                                    description="string",
                                    detection_json="string",
                                    groups=group_list,
                                    id="string",
                                    ifn_regex="string",
                                    name="string",
                                    pattern_id="string",
                                    pattern_name="string"
                                    )
print(response)
Service class example (Operation ID syntax)
from falconpy import IOAExclusions

# Do not hardcode API credentials!
falcon = IOAExclusions(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

group_list = ['ID1', 'ID2', 'ID3']

response = falcon.updateIOAExclusionsV1(cl_regex="string",
                                        comment="string",
                                        description="string",
                                        detection_json="string",
                                        groups=group_list,
                                        id="string",
                                        ifn_regex="string",
                                        name="string",
                                        pattern_id="string",
                                        pattern_name="string"
                                        )
print(response)
Uber class example
from falconpy import APIHarnessV2

# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

group_list = ['ID1', 'ID2', 'ID3']

BODY = {
    "cl_regex": "string",
    "comment": "string",
    "description": "string",
    "detection_json": "string",
    "groups": group_list,
    "id": "string",
    "ifn_regex": "string",
    "name": "string",
    "pattern_id": "string",
    "pattern_name": "string"
}

response = falcon.command("updateIOAExclusionsV1", body=BODY)
print(response)

Back to Table of Contents

queryIOAExclusionsV1

Search for IOA exclusions.

PEP8 method name

query_exclusions

Endpoint

MethodRoute
GET/policy/queries/ioa-exclusions/v1

Required Scope

ioa-exclusions:read

Content-Type

  • Produces: application/json

Keyword Arguments

NameServiceUberTypeData typeDescription
cl_regex
Service Class Support

Uber Class Support
querystringCommand line regular expression.
filter
Service Class Support

No Uber Class Support
querystringThe filter expression that should be used to limit the results. FQL syntax.

Available filters:
  • name
  • pattern_id
  • pattern_name
  • applied_globally
  • created_on
  • created_by
  • last_modified
  • modified_by
ifn_regex
Service Class Support

Uber Class Support
querystringIndicator file name regular expression.
limit
Service Class Support

No Uber Class Support
queryintegerThe maximum number of records to return. [1-500]
offset
Service Class Support

No Uber Class Support
queryintegerThe offset to start retrieving records from.
parameters
Service Class Support

Uber Class Support
querydictionaryFull query string parameters payload in JSON format.
sort
Service Class Support

No Uber Class Support
querystringThe property to sort by.
FQL syntax. (e.g. last_behavior.asc)

Available sort fields:
  • name
  • pattern_id
  • pattern_name
  • applied_globally
  • created_on
  • created_by
  • last_modified
  • modified_by

Usage

Service class example (PEP8 syntax)
from falconpy import IOAExclusions

# Do not hardcode API credentials!
falcon = IOAExclusions(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

response = falcon.query_exclusions(cl_regex="string",
                                   filter="string",
                                   offset=integer,
                                   ifn_regex="string",
                                   limit=integer,
                                   sort="string"
                                   )
print(response)
Service class example (Operation ID syntax)
from falconpy import IOAExclusions

# Do not hardcode API credentials!
falcon = IOAExclusions(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

response = falcon.queryIOAExclusionsV1(cl_regex="string",
                                       filter="string",
                                       offset=integer,
                                       ifn_regex="string",
                                       limit=integer,
                                       sort="string"
                                       )
print(response)
Uber class example
from falconpy import APIHarnessV2

# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

response = falcon.command("queryIOAExclusionsV1",
                          cl_regex="string",
                          filter="string",
                          offset=integer,
                          ifn_regex="string",
                          limit=integer,
                          sort="string"
                          )

print(response)

Back to Table of Contents

ss_ioa_exclusions_aggregates_v2

Get Self Service IOA Exclusion aggregates as specified via json in the request body.

PEP8 method name

get_ss_exclusion_aggregates

Endpoint

MethodRoute
POST/exclusions/aggregates/ss-ioa-exclusions/GET/v2

Required Scope

self-service-ioa-exclusions_write:write

Content-Type

  • Produces: application/json

Keyword Arguments

NameServiceUberTypeData typeDescription
body
Service Class Support

Uber Class Support
bodydictionaryFull body payload in JSON format.
cl_regex
Service Class Support

Uber Class Support
querystringThe cl_regex expression to filter exclusion aggregations by.
date_ranges
Service Class Support

No Uber Class Support
bodylist of dictionariesDate range specifications.
exclude
Service Class Support

No Uber Class Support
bodystringExclusion string.
extended_bounds
Service Class Support

No Uber Class Support
bodydictionaryExtended bounds specification.
field
Service Class Support

No Uber Class Support
bodystringField to aggregate on.
filter
Service Class Support

No Uber Class Support
bodystringFQL filter expression.
filters_spec
Service Class Support

No Uber Class Support
bodydictionaryFilter specification.
from
Service Class Support

No Uber Class Support
bodyintegerStarting position.
grandparent_cl_regex
Service Class Support

Uber Class Support
querystringThe grandparent_cl_regex expression to filter exclusion aggregations by.
grandparent_ifn_regex
Service Class Support

Uber Class Support
querystringThe grandparent_ifn_regex expression to filter exclusion aggregations by.
ifn_regex
Service Class Support

Uber Class Support
querystringThe ifn_regex expression to filter exclusion aggregations by.
include
Service Class Support

No Uber Class Support
bodystringInclude string.
interval
Service Class Support

No Uber Class Support
bodystringTime interval for date histogram aggregations.
max_doc_count
Service Class Support

No Uber Class Support
bodyintegerMaximum document count.
min_doc_count
Service Class Support

No Uber Class Support
bodyintegerMinimum document count.
missing
Service Class Support

No Uber Class Support
bodystringMissing value.
name
Service Class Support

No Uber Class Support
bodystringAggregation name.
parameters
Service Class Support

Uber Class Support
querydictionaryFull query string parameters payload in JSON format.
parent_cl_regex
Service Class Support

Uber Class Support
querystringThe parent_cl_regex expression to filter exclusion aggregations by.
parent_ifn_regex
Service Class Support

Uber Class Support
querystringThe parent_ifn_regex expression to filter exclusion aggregations by.
percents
Service Class Support

No Uber Class Support
bodylist of integersPercentile values.
q
Service Class Support

No Uber Class Support
bodystringFQL syntax query.
ranges
Service Class Support

No Uber Class Support
bodylist of dictionariesRange specifications.
size
Service Class Support

No Uber Class Support
bodyintegerMaximum number of results to return.
sort
Service Class Support

No Uber Class Support
bodystringSort expression.
sub_aggregates
Service Class Support

No Uber Class Support
bodylistSub-aggregation specifications.
time_zone
Service Class Support

No Uber Class Support
bodystringTime zone for date aggregations.
type
Service Class Support

No Uber Class Support
bodystringAggregation type.

Usage

Service class example (PEP8 syntax)
from falconpy import IOAExclusions

# Do not hardcode API credentials!
falcon = IOAExclusions(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

response = falcon.get_ss_exclusion_aggregates(field="string",
                                              filter="string",
                                              name="string",
                                              size=integer,
                                              sort="string",
                                              type="string",
                                              ifn_regex="string",
                                              cl_regex="string",
                                              parent_ifn_regex="string",
                                              parent_cl_regex="string",
                                              grandparent_ifn_regex="string",
                                              grandparent_cl_regex="string"
                                              )
print(response)
Service class example (Operation ID syntax)
from falconpy import IOAExclusions

# Do not hardcode API credentials!
falcon = IOAExclusions(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

response = falcon.ss_ioa_exclusions_aggregates_v2(field="string",
                                                   filter="string",
                                                   name="string",
                                                   size=integer,
                                                   sort="string",
                                                   type="string",
                                                   ifn_regex="string",
                                                   cl_regex="string",
                                                   parent_ifn_regex="string",
                                                   parent_cl_regex="string",
                                                   grandparent_ifn_regex="string",
                                                   grandparent_cl_regex="string"
                                                   )
print(response)
Uber class example
from falconpy import APIHarnessV2

# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

BODY = {
    "field": "string",
    "filter": "string",
    "name": "string",
    "size": integer,
    "sort": "string",
    "type": "string"
}

response = falcon.command("ss_ioa_exclusions_aggregates_v2",
                          ifn_regex="string",
                          cl_regex="string",
                          parent_ifn_regex="string",
                          parent_cl_regex="string",
                          grandparent_ifn_regex="string",
                          grandparent_cl_regex="string",
                          body=BODY
                          )
print(response)

Back to Table of Contents

ss_ioa_exclusions_get_reports_v2

Create a report of Self Service IOA Exclusions scoped by the given filters.

PEP8 method name

get_ss_exclusion_reports_v2

Endpoint

MethodRoute
POST/exclusions/entities/ss-ioa-exclusions/reports/v2

Required Scope

self-service-ioa-exclusions_write:write

Content-Type

  • Produces: application/json

Keyword Arguments

NameServiceUberTypeData typeDescription
body
Service Class Support

Uber Class Support
bodydictionaryFull body payload in JSON format.
report_format
Service Class Support

No Uber Class Support
bodystringReport format.
search
Service Class Support

No Uber Class Support
bodydictionarySearch filter and sort specification.

Usage

Service class example (PEP8 syntax)
from falconpy import IOAExclusions

# Do not hardcode API credentials!
falcon = IOAExclusions(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

search = {
    "filter": "string",
    "sort": "string"
}

response = falcon.get_ss_exclusion_reports_v2(report_format="string",
                                              search=search
                                              )
print(response)
Service class example (Operation ID syntax)
from falconpy import IOAExclusions

# Do not hardcode API credentials!
falcon = IOAExclusions(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

search = {
    "filter": "string",
    "sort": "string"
}

response = falcon.ss_ioa_exclusions_get_reports_v2(report_format="string",
                                                    search=search
                                                    )
print(response)
Uber class example
from falconpy import APIHarnessV2

# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

BODY = {
    "report_format": "string",
    "search": {
        "filter": "string",
        "sort": "string"
    }
}

response = falcon.command("ss_ioa_exclusions_get_reports_v2", body=BODY)
print(response)

Back to Table of Contents

ss_ioa_exclusions_get_v2

Get the Self Service IOA Exclusions rules by id.

PEP8 method name

get_ss_exclusion_rules_v2

Endpoint

MethodRoute
GET/exclusions/entities/ss-ioa-exclusions/v2

Required Scope

ioa-exclusions:read

Content-Type

  • Produces: application/json

Keyword Arguments

NameServiceUberTypeData typeDescription
ids
Service Class Support

Uber Class Support
querystring or list of stringsThe IDs of the exclusions to retrieve.
parameters
Service Class Support

Uber Class Support
querydictionaryFull query string parameters payload in JSON format.

Usage

Service class example (PEP8 syntax)
from falconpy import IOAExclusions

# Do not hardcode API credentials!
falcon = IOAExclusions(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

id_list = 'ID1,ID2,ID3'  # Can also pass a list here: ['ID1', 'ID2', 'ID3']

response = falcon.get_ss_exclusion_rules_v2(ids=id_list)
print(response)
Service class example (Operation ID syntax)
from falconpy import IOAExclusions

# Do not hardcode API credentials!
falcon = IOAExclusions(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

id_list = 'ID1,ID2,ID3'  # Can also pass a list here: ['ID1', 'ID2', 'ID3']

response = falcon.ss_ioa_exclusions_get_v2(ids=id_list)
print(response)
Uber class example
from falconpy import APIHarnessV2

# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

id_list = 'ID1,ID2,ID3'  # Can also pass a list here: ['ID1', 'ID2', 'ID3']

response = falcon.command("ss_ioa_exclusions_get_v2", ids=id_list)
print(response)

Back to Table of Contents

ss_ioa_exclusions_create_v2

Create new Self Service IOA Exclusions.

PEP8 method name

create_ss_exclusions

Endpoint

MethodRoute
POST/exclusions/entities/ss-ioa-exclusions/v2

Required Scope

self-service-ioa-exclusions_write:write

Content-Type

  • Produces: application/json

Keyword Arguments

NameServiceUberTypeData typeDescription
body
Service Class Support

Uber Class Support
bodydictionaryFull body payload in JSON format.
exclusions
Service Class Support

No Uber Class Support
bodylist of dictionariesList of exclusion definitions.

Usage

Service class example (PEP8 syntax)
from falconpy import IOAExclusions

# Do not hardcode API credentials!
falcon = IOAExclusions(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

exclusions = [
    {
        "cl_regex": "string",
        "comment": "string",
        "description": "string",
        "detection_json": "string",
        "grandparent_cl_regex": "string",
        "grandparent_ifn_regex": "string",
        "host_groups": ["string"],
        "ifn_regex": "string",
        "name": "string",
        "parent_cl_regex": "string",
        "parent_ifn_regex": "string",
        "pattern_id": "string",
        "pattern_name": "string"
    }
]

response = falcon.create_ss_exclusions(exclusions=exclusions)
print(response)
Service class example (Operation ID syntax)
from falconpy import IOAExclusions

# Do not hardcode API credentials!
falcon = IOAExclusions(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

exclusions = [
    {
        "cl_regex": "string",
        "comment": "string",
        "description": "string",
        "detection_json": "string",
        "grandparent_cl_regex": "string",
        "grandparent_ifn_regex": "string",
        "host_groups": ["string"],
        "ifn_regex": "string",
        "name": "string",
        "parent_cl_regex": "string",
        "parent_ifn_regex": "string",
        "pattern_id": "string",
        "pattern_name": "string"
    }
]

response = falcon.ss_ioa_exclusions_create_v2(exclusions=exclusions)
print(response)
Uber class example
from falconpy import APIHarnessV2

# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

BODY = {
    "exclusions": [
        {
            "cl_regex": "string",
            "comment": "string",
            "description": "string",
            "detection_json": "string",
            "grandparent_cl_regex": "string",
            "grandparent_ifn_regex": "string",
            "host_groups": ["string"],
            "ifn_regex": "string",
            "name": "string",
            "parent_cl_regex": "string",
            "parent_ifn_regex": "string",
            "pattern_id": "string",
            "pattern_name": "string"
        }
    ]
}

response = falcon.command("ss_ioa_exclusions_create_v2", body=BODY)
print(response)

Back to Table of Contents

ss_ioa_exclusions_update_v2

Update the Self Service IOA Exclusions rule by id.

PEP8 method name

update_ss_exclusions

Endpoint

MethodRoute
PATCH/exclusions/entities/ss-ioa-exclusions/v2

Required Scope

self-service-ioa-exclusions_write:write

Content-Type

  • Produces: application/json

Keyword Arguments

NameServiceUberTypeData typeDescription
body
Service Class Support

Uber Class Support
bodydictionaryFull body payload in JSON format.
exclusions
Service Class Support

No Uber Class Support
bodylist of dictionariesList of exclusion definitions.

Usage

Service class example (PEP8 syntax)
from falconpy import IOAExclusions

# Do not hardcode API credentials!
falcon = IOAExclusions(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

exclusions = [
    {
        "cl_regex": "string",
        "comment": "string",
        "description": "string",
        "detection_json": "string",
        "grandparent_cl_regex": "string",
        "grandparent_ifn_regex": "string",
        "host_groups": ["string"],
        "id": "string",
        "ifn_regex": "string",
        "name": "string",
        "parent_cl_regex": "string",
        "parent_ifn_regex": "string",
        "pattern_id": "string",
        "pattern_name": "string"
    }
]

response = falcon.update_ss_exclusions(exclusions=exclusions)
print(response)
Service class example (Operation ID syntax)
from falconpy import IOAExclusions

# Do not hardcode API credentials!
falcon = IOAExclusions(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

exclusions = [
    {
        "cl_regex": "string",
        "comment": "string",
        "description": "string",
        "detection_json": "string",
        "grandparent_cl_regex": "string",
        "grandparent_ifn_regex": "string",
        "host_groups": ["string"],
        "id": "string",
        "ifn_regex": "string",
        "name": "string",
        "parent_cl_regex": "string",
        "parent_ifn_regex": "string",
        "pattern_id": "string",
        "pattern_name": "string"
    }
]

response = falcon.ss_ioa_exclusions_update_v2(exclusions=exclusions)
print(response)
Uber class example
from falconpy import APIHarnessV2

# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

BODY = {
    "exclusions": [
        {
            "cl_regex": "string",
            "comment": "string",
            "description": "string",
            "detection_json": "string",
            "grandparent_cl_regex": "string",
            "grandparent_ifn_regex": "string",
            "host_groups": ["string"],
            "id": "string",
            "ifn_regex": "string",
            "name": "string",
            "parent_cl_regex": "string",
            "parent_ifn_regex": "string",
            "pattern_id": "string",
            "pattern_name": "string"
        }
    ]
}

response = falcon.command("ss_ioa_exclusions_update_v2", body=BODY)
print(response)

Back to Table of Contents

ss_ioa_exclusions_delete_v2

Delete the Self Service IOA Exclusions rule by id.

PEP8 method name

delete_ss_exclusions

Endpoint

MethodRoute
DELETE/exclusions/entities/ss-ioa-exclusions/v2

Required Scope

self-service-ioa-exclusions_write:write

Content-Type

  • Produces: application/json

Keyword Arguments

NameServiceUberTypeData typeDescription
comment
Service Class Support

Uber Class Support
querystringThe comment why these ss ioa exclusions were deleted.
ids
Service Class Support

Uber Class Support
querystring or list of stringsThe IDs of the exclusions to delete.
parameters
Service Class Support

Uber Class Support
querydictionaryFull query string parameters payload in JSON format.

Usage

Service class example (PEP8 syntax)
from falconpy import IOAExclusions

# Do not hardcode API credentials!
falcon = IOAExclusions(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

id_list = 'ID1,ID2,ID3'  # Can also pass a list here: ['ID1', 'ID2', 'ID3']

response = falcon.delete_ss_exclusions(comment="string", ids=id_list)
print(response)
Service class example (Operation ID syntax)
from falconpy import IOAExclusions

# Do not hardcode API credentials!
falcon = IOAExclusions(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

id_list = 'ID1,ID2,ID3'  # Can also pass a list here: ['ID1', 'ID2', 'ID3']

response = falcon.ss_ioa_exclusions_delete_v2(comment="string", ids=id_list)
print(response)
Uber class example
from falconpy import APIHarnessV2

# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

id_list = 'ID1,ID2,ID3'  # Can also pass a list here: ['ID1', 'ID2', 'ID3']

response = falcon.command("ss_ioa_exclusions_delete_v2", comment="string", ids=id_list)
print(response)

Back to Table of Contents

ss_ioa_exclusions_matched_rule_v2

Get Self Service IOA Exclusions rules for matched IFN/CLI for child, parent and grandparent.

PEP8 method name

get_ss_exclusion_matched_rules

Endpoint

MethodRoute
POST/exclusions/entities/ss-ioa-matched-rules/v2

Required Scope

self-service-ioa-exclusions_write:write

Content-Type

  • Produces: application/json

Keyword Arguments

NameServiceUberTypeData typeDescription
aid
Service Class Support

No Uber Class Support
bodystringAgent ID.
body
Service Class Support

Uber Class Support
bodydictionaryFull body payload in JSON format.
command_line
Service Class Support

No Uber Class Support
bodystringCommand line.
grandparent_command_line
Service Class Support

No Uber Class Support
bodystringGrandparent command line.
grandparent_image_file_name
Service Class Support

No Uber Class Support
bodystringGrandparent image file name.
image_file_name
Service Class Support

No Uber Class Support
bodystringImage file name.
parent_command_line
Service Class Support

No Uber Class Support
bodystringParent command line.
parent_image_file_name
Service Class Support

No Uber Class Support
bodystringParent image file name.
pattern_ids
Service Class Support

No Uber Class Support
bodylist of stringsPattern IDs.

Usage

Service class example (PEP8 syntax)
from falconpy import IOAExclusions

# Do not hardcode API credentials!
falcon = IOAExclusions(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

response = falcon.get_ss_exclusion_matched_rules(aid="string",
                                                  command_line="string",
                                                  grandparent_command_line="string",
                                                  grandparent_image_file_name="string",
                                                  image_file_name="string",
                                                  parent_command_line="string",
                                                  parent_image_file_name="string",
                                                  pattern_ids=["string"]
                                                  )
print(response)
Service class example (Operation ID syntax)
from falconpy import IOAExclusions

# Do not hardcode API credentials!
falcon = IOAExclusions(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

response = falcon.ss_ioa_exclusions_matched_rule_v2(aid="string",
                                                     command_line="string",
                                                     grandparent_command_line="string",
                                                     grandparent_image_file_name="string",
                                                     image_file_name="string",
                                                     parent_command_line="string",
                                                     parent_image_file_name="string",
                                                     pattern_ids=["string"]
                                                     )
print(response)
Uber class example
from falconpy import APIHarnessV2

# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

BODY = {
    "aid": "string",
    "command_line": "string",
    "grandparent_command_line": "string",
    "grandparent_image_file_name": "string",
    "image_file_name": "string",
    "parent_command_line": "string",
    "parent_image_file_name": "string",
    "pattern_ids": ["string"]
}

response = falcon.command("ss_ioa_exclusions_matched_rule_v2", body=BODY)
print(response)

Back to Table of Contents

ss_ioa_exclusions_new_rules_v2

Get defaults for Self Service IOA Exclusions based on provided IFN/CLI for child, parent and grandparent.

PEP8 method name

get_default_ss_exclusions

Endpoint

MethodRoute
POST/exclusions/entities/ss-ioa-new-rules/v2

Required Scope

self-service-ioa-exclusions_write:write

Content-Type

  • Produces: application/json

Keyword Arguments

NameServiceUberTypeData typeDescription
aid
Service Class Support

No Uber Class Support
bodystringAgent ID.
body
Service Class Support

Uber Class Support
bodydictionaryFull body payload in JSON format.
command_line
Service Class Support

No Uber Class Support
bodystringCommand line.
grandparent_command_line
Service Class Support

No Uber Class Support
bodystringGrandparent command line.
grandparent_image_file_name
Service Class Support

No Uber Class Support
bodystringGrandparent image file name.
image_file_name
Service Class Support

No Uber Class Support
bodystringImage file name.
parent_command_line
Service Class Support

No Uber Class Support
bodystringParent command line.
parent_image_file_name
Service Class Support

No Uber Class Support
bodystringParent image file name.

Usage

Service class example (PEP8 syntax)
from falconpy import IOAExclusions

# Do not hardcode API credentials!
falcon = IOAExclusions(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

response = falcon.get_default_ss_exclusions(aid="string",
                                            command_line="string",
                                            grandparent_command_line="string",
                                            grandparent_image_file_name="string",
                                            image_file_name="string",
                                            parent_command_line="string",
                                            parent_image_file_name="string"
                                            )
print(response)
Service class example (Operation ID syntax)
from falconpy import IOAExclusions

# Do not hardcode API credentials!
falcon = IOAExclusions(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

response = falcon.ss_ioa_exclusions_new_rules_v2(aid="string",
                                                  command_line="string",
                                                  grandparent_command_line="string",
                                                  grandparent_image_file_name="string",
                                                  image_file_name="string",
                                                  parent_command_line="string",
                                                  parent_image_file_name="string"
                                                  )
print(response)
Uber class example
from falconpy import APIHarnessV2

# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

BODY = {
    "aid": "string",
    "command_line": "string",
    "grandparent_command_line": "string",
    "grandparent_image_file_name": "string",
    "image_file_name": "string",
    "parent_command_line": "string",
    "parent_image_file_name": "string"
}

response = falcon.command("ss_ioa_exclusions_new_rules_v2", body=BODY)
print(response)

Back to Table of Contents

ss_ioa_exclusions_search_v2

Search for Self Service IOA Exclusions.

PEP8 method name

query_ss_exclusions

Endpoint

MethodRoute
GET/exclusions/queries/ss-ioa-exclusions/v2

Required Scope

ioa-exclusions:read

Content-Type

  • Produces: application/json

Keyword Arguments

NameServiceUberTypeData typeDescription
cl_regex
Service Class Support

Uber Class Support
querystringThe cl_regex expression to filter exclusions by.
filter
Service Class Support

Uber Class Support
querystringThe filter expression that should be used to limit the results.
grandparent_cl_regex
Service Class Support

Uber Class Support
querystringThe grandparent_cl_regex expression to filter exclusions by.
grandparent_ifn_regex
Service Class Support

Uber Class Support
querystringThe grandparent_ifn_regex expression to filter exclusions by.
ifn_regex
Service Class Support

Uber Class Support
querystringThe ifn_regex expression to filter exclusions by.
limit
Service Class Support

Uber Class Support
queryintegerThe maximum records to return. [1-500]
offset
Service Class Support

Uber Class Support
queryintegerThe offset to start retrieving records from.
parameters
Service Class Support

Uber Class Support
querydictionaryFull query string parameters payload in JSON format.
parent_cl_regex
Service Class Support

Uber Class Support
querystringThe parent_cl_regex expression to filter exclusions by.
parent_ifn_regex
Service Class Support

Uber Class Support
querystringThe parent_ifn_regex expression to filter exclusions by.
sort
Service Class Support

Uber Class Support
querystringThe sort expression that should be used to sort the results.

Usage

Service class example (PEP8 syntax)
from falconpy import IOAExclusions

# Do not hardcode API credentials!
falcon = IOAExclusions(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

response = falcon.query_ss_exclusions(filter="string",
                                      ifn_regex="string",
                                      cl_regex="string",
                                      parent_ifn_regex="string",
                                      parent_cl_regex="string",
                                      grandparent_ifn_regex="string",
                                      grandparent_cl_regex="string",
                                      offset=integer,
                                      limit=integer,
                                      sort="string"
                                      )
print(response)
Service class example (Operation ID syntax)
from falconpy import IOAExclusions

# Do not hardcode API credentials!
falcon = IOAExclusions(client_id=CLIENT_ID,
                       client_secret=CLIENT_SECRET
                       )

response = falcon.ss_ioa_exclusions_search_v2(filter="string",
                                               ifn_regex="string",
                                               cl_regex="string",
                                               parent_ifn_regex="string",
                                               parent_cl_regex="string",
                                               grandparent_ifn_regex="string",
                                               grandparent_cl_regex="string",
                                               offset=integer,
                                               limit=integer,
                                               sort="string"
                                               )
print(response)
Uber class example
from falconpy import APIHarnessV2

# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
                      client_secret=CLIENT_SECRET
                      )

response = falcon.command("ss_ioa_exclusions_search_v2",
                          filter="string",
                          ifn_regex="string",
                          cl_regex="string",
                          parent_ifn_regex="string",
                          parent_cl_regex="string",
                          grandparent_ifn_regex="string",
                          grandparent_cl_regex="string",
                          offset=integer,
                          limit=integer,
                          sort="string"
                          )
print(response)

Back to Table of Contents