Recon - CrowdStrike/falconpy GitHub Wiki
Operation ID | Description | ||||
---|---|---|---|---|---|
|
Get notification exposed data record aggregates as specified via JSON in request body. | ||||
|
Get notification aggregates as specified via JSON in request body. | ||||
|
Preview rules notification count and distribution. This will return aggregations on: channel, count, site. | ||||
|
Get actions based on their IDs. IDs can be retrieved using the QueryActionsV1 operation. | ||||
|
Create actions for a monitoring rule. Accepts a list of actions that will be attached to the monitoring rule. | ||||
|
Delete an action from a monitoring rule based on the action ID. | ||||
|
Update an action for a monitoring rule. | ||||
|
Download the file associated with a job ID. | ||||
|
Get the status of export jobs based on their IDs. Export jobs can be launched by calling POST /entities/exports/v1. When a job is complete, use the job ID to download the file(s) associated with it using GET entities/export-files/v1. | ||||
|
Launch asynchronous export job. Use the job ID to poll the status of the job using GET /entities/exports/v1. | ||||
|
Delete export jobs (and their associated file(s)) based on their IDs. | ||||
|
Get detailed notifications based on their IDs. These include the raw intelligence content that generated the match.This endpoint will return translated notification content. The only target language available is English. A single notification can be translated per request | ||||
|
Get detailed notifications based on their IDs. These include the raw intelligence content that generated the match. | ||||
|
Get notifications exposed data records based on their IDs. IDs can be retrieved using the QueryNotificationsExposedDataRecordsV1 operation. The associate notification can be fetched using the notifications operations. | ||||
|
Get notifications based on their IDs. IDs can be retrieved using the QueryNotificationsV1 operation. This endpoint will return translated notification content. The only target language available is English. | ||||
|
Get notifications based on their IDs. IDs can be retrieved using the QueryNotificationsV1 operation. | ||||
|
Delete notifications based on IDs. Notifications cannot be recovered after they are deleted. | ||||
|
Update notification status or assignee. Accepts bulk requests | ||||
|
Get monitoring rules rules by provided IDs. | ||||
|
Create monitoring rules. | ||||
|
Delete monitoring rules. | ||||
|
Update monitoring rules. | ||||
|
Query actions based on provided criteria. Use the IDs from this response to get the action entities on GetActionsV1. | ||||
|
Query notifications exposed data records based on provided criteria. Use the IDs from this response to get the notification +entities on GetNotificationsExposedDataRecordsV1. | ||||
|
Query notifications based on provided criteria. Use the IDs from this response to get the notification entities on GetNotificationsV1 or GetNotificationsDetailedV1. | ||||
|
Query monitoring rules based on provided criteria. Use the IDs from this response to fetch the rules on GetRulesV1. |
WARNING
client_id
andclient_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.
Get notification exposed data record aggregates as specified via JSON in request body.
aggregate_notifications_exposed_data_records
Method | Route |
---|---|
/recon/aggregates/notifications-exposed-data-records/GET/v1 |
- Consumes: application/json
- Produces: application/json
Name | Service | Uber | Type | Data type | Description |
---|---|---|---|---|---|
body |
|
|
body | list of dictionaries | Full body payload in JSON format. |
date_ranges |
|
|
body | list of dictionaries | Applies to date_range aggregations. Example: [ { "from": "2016-05-28T09:00:31Z", "to": "2016-05-30T09:00:31Z" }, { "from": "2016-06-01T09:00:31Z", "to": "2016-06-10T09:00:31Z" } ] |
exclude |
|
|
body | string | Elements to exclude. |
field |
|
|
body | string | The field on which to compute the aggregation. |
filter |
|
|
body | string | FQL syntax formatted string to use to filter the results. |
from |
|
|
body | integer | Starting position. |
include |
|
|
body | string | Elements to include. |
interval |
|
|
body | string | Time interval for date histogram aggregations. Valid values include:
|
max_doc_count |
|
|
body | integer | Only return buckets if values are less than or equal to the value here. |
min_doc_count |
|
|
body | integer | Only return buckets if values are greater than or equal to the value here. |
missing |
|
|
body | string | Missing is the value to be used when the aggregation field is missing from the object. In other words, the missing parameter defines how documents that are missing a value should be treated. By default they will be ignored, but it is also possible to treat them as if they had a value. |
name |
|
|
body | string | Name of the aggregate query, as chosen by the user. Used to identify the results returned to you. |
q |
|
|
body | string | Full text search across all metadata fields. |
ranges |
|
|
body | list of dictionaries | Applies to range aggregations. Ranges values will depend on field. For example, if max_severity is used, ranges might look like: [ { "From": 0, "To": 70 }, { "From": 70, "To": 100 } ] |
size |
|
|
body | integer | The max number of term buckets to be returned. |
sub_aggregates |
|
|
body | list of dictionaries | A nested aggregation, such as: [ { "name": "max_first_behavior", "type": "max", "field": "first_behavior" } ] There is a maximum of 3 nested aggregations per request. |
sort |
|
|
body | string |
FQL syntax string to sort bucket results.
asc and desc using | format. Example: _count|desc
|
time_zone |
|
|
body | string | Time zone for bucket results. |
type |
|
|
body | string | Type of aggregation. Valid values include:
|
from falconpy.recon import Recon
falcon = Recon(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
date_ranges = [
{
"from": "2021-05-15T14:55:21.892315096Z",
"to": "2021-05-17T13:42:16.493180643Z"
}
]
ranges = [
{
"From": 1,
"To": 100
}
]
response = falcon.aggregate_notifications_exposed_data_records(date_ranges=date_ranges,
exclude="string",
field="string",
filter="string",
from=integer,
include="string",
interval="string",
max_doc_count=integer,
min_doc_count=integer,
missing="string",
name="string",
q="string",
ranges=ranges,
size=integer,
sort="string",
time_zone="string",
type="string"
)
print(response)
from falconpy import Recon
falcon = Recon(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
date_ranges = [
{
"from": "2021-05-15T14:55:21.892315096Z",
"to": "2021-05-17T13:42:16.493180643Z"
}
]
ranges = [
{
"From": 1,
"To": 100
}
]
response = falcon.AggregateNotificationsExposedDataRecordsV1(date_ranges=date_ranges,
exclude="string",
field="string",
filter="string",
from=integer,
include="string",
interval="string",
max_doc_count=integer,
min_doc_count=integer,
missing="string",
name="string",
q="string",
ranges=ranges,
size=integer,
sort="string",
time_zone="string",
type="string"
)
print(response)
from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
date_ranges = [
{
"from": "2021-05-15T14:55:21.892315096Z",
"to": "2021-05-17T13:42:16.493180643Z"
}
]
ranges = [
{
"From": 1,
"To": 100
}
]
BODY = [{
"date_ranges": date_ranges,
"exclude": "string",
"field": "string",
"filter": "string",
"from": integer,
"include": "string",
"interval": "string",
"max_doc_count": integer,
"min_doc_count": integer,
"missing": "string",
"name": "string",
"q": "string",
"ranges": ranges,
"size": integer,
"sort": "string",
"sub_aggregates": [
null
]
"time_zone": "string",
"type": "string"
}]
response = falcon.command("AggregateNotificationsExposedDataRecordsV1", body=BODY)
print(response)
Back to Table of Contents
Get notification aggregates as specified via JSON in request body.
aggregate_notifications
Method | Route |
---|---|
/recon/aggregates/notifications/GET/v1 |
- Consumes: application/json
- Produces: application/json
Name | Service | Uber | Type | Data type | Description |
---|---|---|---|---|---|
body |
|
|
body | list of dictionaries | Full body payload in JSON format. |
date_ranges |
|
|
body | list of dictionaries | Applies to date_range aggregations. Example: [ { "from": "2016-05-28T09:00:31Z", "to": "2016-05-30T09:00:31Z" }, { "from": "2016-06-01T09:00:31Z", "to": "2016-06-10T09:00:31Z" } ] |
exclude |
|
|
body | string | Elements to exclude. |
field |
|
|
body | string | The field on which to compute the aggregation. |
filter |
|
|
body | string | FQL syntax formatted string to use to filter the results. |
from |
|
|
body | integer | Starting position. |
include |
|
|
body | string | Elements to include. |
interval |
|
|
body | string | Time interval for date histogram aggregations. Valid values include:
|
max_doc_count |
|
|
body | integer | Only return buckets if values are less than or equal to the value here. |
min_doc_count |
|
|
body | integer | Only return buckets if values are greater than or equal to the value here. |
missing |
|
|
body | string | Missing is the value to be used when the aggregation field is missing from the object. In other words, the missing parameter defines how documents that are missing a value should be treated. By default they will be ignored, but it is also possible to treat them as if they had a value. |
name |
|
|
body | string | Name of the aggregate query, as chosen by the user. Used to identify the results returned to you. |
q |
|
|
body | string | Full text search across all metadata fields. |
ranges |
|
|
body | list of dictionaries | Applies to range aggregations. Ranges values will depend on field. For example, if max_severity is used, ranges might look like: [ { "From": 0, "To": 70 }, { "From": 70, "To": 100 } ] |
size |
|
|
body | integer | The max number of term buckets to be returned. |
sub_aggregates |
|
|
body | list of dictionaries | A nested aggregation, such as: [ { "name": "max_first_behavior", "type": "max", "field": "first_behavior" } ] There is a maximum of 3 nested aggregations per request. |
sort |
|
|
body | string |
FQL syntax string to sort bucket results.
asc and desc using | format. Example: _count|desc
|
time_zone |
|
|
body | string | Time zone for bucket results. |
type |
|
|
body | string | Type of aggregation. Valid values include:
|
from falconpy import Recon
# Do not hardcode API credentials!
falcon = Recon(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
date_ranges = [
{
"from": "2021-05-15T14:55:21.892315096Z",
"to": "2021-05-17T13:42:16.493180643Z"
}
]
ranges = [
{
"From": 1,
"To": 100
}
]
response = falcon.aggregate_notifications(date_ranges=date_ranges,
exclude="string",
field="string",
filter="string",
from=integer,
include="string",
interval="string",
max_doc_count=integer,
min_doc_count=integer,
missing="string",
name="string",
q="string",
ranges=ranges,
size=integer,
sort="string",
time_zone="string",
type="string"
)
print(response)
from falconpy import Recon
# Do not hardcode API credentials!
falcon = Recon(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
date_ranges = [
{
"from": "2021-05-15T14:55:21.892315096Z",
"to": "2021-05-17T13:42:16.493180643Z"
}
]
ranges = [
{
"From": 1,
"To": 100
}
]
response = falcon.AggregateNotificationsV1(date_ranges=date_ranges,
exclude="string",
field="string",
filter="string",
from=integer,
include="string",
interval="string",
max_doc_count=integer,
min_doc_count=integer,
missing="string",
name="string",
q="string",
ranges=ranges,
size=integer,
sort="string",
time_zone="string",
type="string"
)
print(response)
from falconpy import APIHarnessV2
# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
date_ranges = [
{
"from": "2021-05-15T14:55:21.892315096Z",
"to": "2021-05-17T13:42:16.493180643Z"
}
]
ranges = [
{
"From": 1,
"To": 100
}
]
BODY = [{
"date_ranges": date_ranges,
"exclude": "string",
"field": "string",
"filter": "string",
"from": integer,
"include": "string",
"interval": "string",
"max_doc_count": integer,
"min_doc_count": integer,
"missing": "string",
"name": "string",
"q": "string",
"ranges": ranges,
"size": integer,
"sort": "string",
"sub_aggregates": [
null
]
"time_zone": "string",
"type": "string"
}]
response = falcon.command("AggregateNotificationsV1", body=BODY)
print(response)
Back to Table of Contents
Preview rules notification count and distribution. This will return aggregations on: channel, count, site.
preview_rule
Method | Route |
---|---|
/recon/aggregates/rules-preview/GET/v1 |
- Produces: application/json
Name | Service | Uber | Type | Data type | Description |
---|---|---|---|---|---|
body |
|
|
body | dictionary | Full body payload in JSON format. |
filter |
|
|
body | string | FQL Syntax formatted string used to limit results. |
topic |
|
|
body | string | Restricts results to the topic specified. |
from falconpy import Recon
# Do not hardcode API credentials!
falcon = Recon(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.preview_rule(filter="string", topic="string")
print(response)
from falconpy import Recon
# Do not hardcode API credentials!
falcon = Recon(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.PreviewRuleV1(filter="string", topic="string")
print(response)
from falconpy import APIHarnessV2
# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
BODY = {
"filter": "string",
"topic": "string"
}
response = falcon.command("PreviewRuleV1", body=BODY)
print(response)
Back to Table of Contents
Get actions based on their IDs. IDs can be retrieved using the QueryActionsV1 operation.
get_actions
Method | Route |
---|---|
/recon/entities/actions/v1 |
- Produces: application/json
Name | Service | Uber | Type | Data type | Description |
---|---|---|---|---|---|
ids |
|
|
query | string or list of strings | Action IDs to retrieve. |
parameters |
|
|
query | dictionary | Full query string parameters payload in JSON format. |
from falconpy import Recon
# Do not hardcode API credentials!
falcon = Recon(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_actions(ids=id_list)
print(response)
from falconpy import Recon
# Do not hardcode API credentials!
falcon = Recon(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.GetActionsV1(ids=id_list)
print(response)
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("GetActionsV1", ids=id_list)
print(response)
Back to Table of Contents
Create actions for a monitoring rule. Accepts a list of actions that will be attached to the monitoring rule.
create_actions
Method | Route |
---|---|
/recon/entities/actions/v1 |
- Consumes: application/json
- Produces: application/json
Name | Service | Uber | Type | Data type | Description |
---|---|---|---|---|---|
actions |
|
|
body | list of dictionaries | List of actions to attach to the monitoring rule. When provided, actions overrides other keywords (excluding body). |
body |
|
|
body | dictionary | Full body payload in JSON format. |
content_format |
|
|
body | string | Content format. |
frequency |
|
|
body | string | Frequency of the action. Only one action can be applied when using this keyword. |
recipients |
|
|
body | list of strings | List of action recipients. Only one action can be applied when using this keyword. |
rule_id |
|
|
body | string | Rule ID to attach action(s) to. |
trigger_matchless |
|
|
body | boolean | Trigger matchless. |
type |
|
|
body | string | Action type. Only one action can be applied when using this keyword. |
from falconpy import Recon
# Do not hardcode API credentials!
falcon = Recon(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
recips = ["RECIP1", "RECIP2", "RECIP3"]
response = falcon.create_actions(frequency="string",
recipients=recips,
rule_id="string",
content_format="string",
trigger_matchless=boolean,
type="string"
)
print(response)
from falconpy import Recon
# Do not hardcode API credentials!
falcon = Recon(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
recips = ["RECIP1", "RECIP2", "RECIP3"]
response = falcon.CreateActionsV1(frequency="string",
recipients=recips,
rule_id="string",
content_format="string",
trigger_matchless=boolean,
type="string"
)
print(response)
from falconpy import APIHarnessV2
# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
recips = ["RECIP1", "RECIP2", "RECIP3"]
BODY = {
"actions": [
{
"content_format": "string",
"frequency": "string",
"recipients": recips,
"trigger_matchless": boolean,
"type": "string"
}
],
"rule_id": "string"
}
response = falcon.command("CreateActionsV1", body=BODY)
print(response)
Back to Table of Contents
Delete an action from a monitoring rule based on the action ID.
delete_action
Method | Route |
---|---|
/recon/entities/actions/v1 |
- Produces: application/json
Name | Service | Uber | Type | Data type | Description |
---|---|---|---|---|---|
id |
|
|
query | string | Action ID to delete. |
parameters |
|
|
query | dictionary | Full query string parameters payload in JSON format. |
from falconpy import Recon
# Do not hardcode API credentials!
falcon = Recon(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.delete_action(id="string")
print(response)
from falconpy import Recon
# Do not hardcode API credentials!
falcon = Recon(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.DeleteActionV1(id="string")
print(response)
from falconpy import APIHarnessV2
# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.command("DeleteActionV1", id="string")
print(response)
Back to Table of Contents
Update an action for a monitoring rule.
update_action
Method | Route |
---|---|
/recon/entities/actions/v1 |
- Consumes: application/json
- Produces: application/json
Name | Service | Uber | Type | Data type | Description |
---|---|---|---|---|---|
body |
|
|
body | dictionary | Full body payload in JSON format. |
content_format |
|
|
body | string | Content format. |
frequency |
|
|
body | string | Frequency of the action. |
recipients |
|
|
body | list of strings | List of action recipients. |
id |
|
|
body | string | Action ID to update. |
status |
|
|
body | string | Action status. |
trigger_matchless |
|
|
body | boolean | Trigger matchless. |
from falconpy import Recon
# Do not hardcode API credentials!
falcon = Recon(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
recips = ["RECIP1", "RECIP2", "RECIP3"]
response = falcon.update_action(frequency="string",
content_format="string",
recipients=recips,
id="string",
status="string",
trigger_matchless=boolean
)
print(response)
from falconpy import Recon
# Do not hardcode API credentials!
falcon = Recon(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
recips = ["RECIP1", "RECIP2", "RECIP3"]
response = falcon.UpdateActionV1(frequency="string",
content_format="string",
recipients=recips,
id="string",
status="string",
trigger_matchless=boolean
)
print(response)
from falconpy import APIHarnessV2
# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
recips = ["RECIP1", "RECIP2", "RECIP3"]
BODY = {
"content_format": "string",
"frequency": "string",
"id": "string",
"recipients": recips,
"status": "string",
"trigger_matchless": boolean
}
response = falcon.command("UpdateActionV1", body=BODY)
print(response)
Back to Table of Contents
Download the file associated with a job ID.
get_export_job_file_contents
Method | Route |
---|---|
/recon/entities/export-files/v1 |
- Produces: application/octet-stream
Name | Service | Uber | Type | Data type | Description |
---|---|---|---|---|---|
id |
|
|
query | string | Export job ID. |
parameters |
|
|
query | dictionary | Full query string parameters payload in JSON format. |
from falconpy.recon import Recon
falcon = Recon(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
save_file = "some_file.ext"
response = falcon.get_export_job_file_contents(id="string")
open(save_file, 'wb').write(response)
from falconpy import Recon
falcon = Recon(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
save_file = "some_file.ext"
response = falcon.GetFileContentForExportJobsV1(id="string")
open(save_file, 'wb').write(response)
from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
save_file = "some_file.ext"
response = falcon.command("GetFileContentForExportJobsV1", id="string")
open(save_file, 'wb').write(response)
Back to Table of Contents
Get the status of export jobs based on their IDs. Export jobs can be launched by calling CreateExportJobsV1. When a job is complete, use the job ID to download the file(s) associated with it using GetFileContentForExportJobsV1.
get_export_jobs
Method | Route |
---|---|
/recon/entities/exports/v1 |
- Produces: application/json
Name | Service | Uber | Type | Data type | Description |
---|---|---|---|---|---|
ids |
|
|
query | string or list of strings | Export job IDs to retrieve. |
parameters |
|
|
query | dictionary | Full query string parameters payload in JSON format. |
from falconpy.recon import Recon
falcon = Recon(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_export_jobs(ids=id_list)
print(response)
from falconpy import Recon
falcon = Recon(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.GetExportJobsV1(ids=id_list)
print(response)
from falconpy import APIHarnessV2
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("GetExportJobsV1", ids=id_list)
print(response)
Back to Table of Contents
Launch asynchronous export job. Use the job ID to poll the status of the job using GetExportJobsV1.
create_export_jobs
Method | Route |
---|---|
/recon/entities/exports/v1 |
- Consumes: application/json
- Produces: application/json
Name | Service | Uber | Type | Data type | Description |
---|---|---|---|---|---|
body |
|
|
body | dictionary | Full body payload in JSON format. |
entity |
|
|
body | string | Entity to report on. |
export_type |
|
|
body | string | Type of export. |
filter |
|
|
body | string | FQL filter used to limit report results. |
human_readable |
|
|
body | boolean | Flag indicating if this report should be returned in human readable format. |
sort |
|
|
body | string | Sort the report results using a FQL formatted string. |
from falconpy.recon import Recon
falcon = Recon(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.create_export_jobs(entity="string",
export_type="string",
filter="string",
human_readable=boolean,
sort="string"
)
print(response)
from falconpy import Recon
falcon = Recon(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.CreateExportJobsV1(entity="string",
export_type="string",
filter="string",
human_readable=boolean,
sort="string"
)
print(response)
from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
BODY = {
"entity": "string",
"export_type": "string",
"filter": "string",
"human_readable": boolean,
"sort": "string"
}
response = falcon.command("CreateExportJobsV1", body=BODY)
print(response)
Back to Table of Contents
Delete export jobs (and their associated file(s)) based on their IDs.
delete_export_jobs
Method | Route |
---|---|
/recon/entities/exports/v1 |
- Produces: application/json
Name | Service | Uber | Type | Data type | Description |
---|---|---|---|---|---|
ids |
|
|
query | string or list of strings | Export job IDs to delete. |
parameters |
|
|
query | dictionary | Full query string parameters payload in JSON format. |
from falconpy.recon import Recon
falcon = Recon(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_export_jobs(ids=id_list)
print(response)
from falconpy import Recon
falcon = Recon(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.DeleteExportJobsV1(ids=id_list)
print(response)
from falconpy import APIHarnessV2
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("DeleteExportJobsV1", ids=id_list)
print(response)
Back to Table of Contents
Get detailed notifications based on their IDs. These include the raw intelligence content that generated the match. This endpoint will return translated notification content. The only target language available is English. A single notification can be translated per request
get_notifications_detailed_translated
Method | Route |
---|---|
/recon/entities/notifications-detailed-translated/v1 |
- Produces: application/json
Name | Service | Uber | Type | Data type | Description |
---|---|---|---|---|---|
ids |
|
|
query | string or list of strings | Notification IDs to retrieve. |
parameters |
|
|
query | dictionary | Full query string parameters payload in JSON format. |
from falconpy import Recon
# Do not hardcode API credentials!
falcon = Recon(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_notifications_detailed_translated(ids=id_list)
print(response)
from falconpy import Recon
# Do not hardcode API credentials!
falcon = Recon(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.GetNotificationsDetailedTranslatedV1(ids=id_list)
print(response)
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("GetNotificationsDetailedTranslatedV1", ids=id_list)
print(response)
Back to Table of Contents
Get detailed notifications based on their IDs. These include the raw intelligence content that generated the match.
get_notifications_detailed
Method | Route |
---|---|
/recon/entities/notifications-detailed/v1 |
- Produces: application/json
Name | Service | Uber | Type | Data type | Description |
---|---|---|---|---|---|
ids |
|
|
query | string or list of strings | Notification IDs to retrieve. |
parameters |
|
|
query | dictionary | Full query string parameters payload in JSON format. |
from falconpy import Recon
# Do not hardcode API credentials!
falcon = Recon(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_notifications_detailed(ids=id_list)
print(response)
from falconpy import Recon
# Do not hardcode API credentials!
falcon = Recon(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.GetNotificationsDetailedV1(ids=id_list)
print(response)
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("GetNotificationsDetailedV1", ids=id_list)
print(response)
Back to Table of Contents
Get notifications exposed data records based on their IDs. IDs can be retrieved using the QueryNotificationsExposedDataRecordsV1 operation. The associated notification can be fetched using the notifications operations.
get_notifications_exposed_data_records
Method | Route |
---|---|
/recon/entities/notifications-exposed-data-records/v1 |
- Produces: application/json
Name | Service | Uber | Type | Data type | Description |
---|---|---|---|---|---|
ids |
|
|
query | string or list of strings | Notifications exposed record IDs to retrieve. |
parameters |
|
|
query | dictionary | Full query string parameters payload in JSON format. |
from falconpy.recon import Recon
falcon = Recon(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_notifications_exposed_data_records(ids=id_list)
print(response)
from falconpy import Recon
falcon = Recon(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.GetNotificationsExposedDataRecordsV1(ids=id_list)
print(response)
from falconpy import APIHarnessV2
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("GetNotificationsExposedDataRecordsV1", ids=id_list)
print(response)
Back to Table of Contents
Get notifications based on their IDs. IDs can be retrieved using the QueryNotificationsV1 operation. This endpoint will return translated notification content. The only target language available is English.
get_notifications_translated
Method | Route |
---|---|
/recon/entities/notifications-translated/v1 |
- Produces: application/json
Name | Service | Uber | Type | Data type | Description |
---|---|---|---|---|---|
ids |
|
|
query | string or list of strings | Notification IDs to retrieve. |
parameters |
|
|
query | dictionary | Full query string parameters payload in JSON format. |
from falconpy import Recon
# Do not hardcode API credentials!
falcon = Recon(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_notifications_translated(ids=id_list)
print(response)
from falconpy import Recon
# Do not hardcode API credentials!
falcon = Recon(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.GetNotificationsTranslatedV1(ids=id_list)
print(response)
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("GetNotificationsTranslatedV1", ids=id_list)
print(response)
Back to Table of Contents
Get notifications based on their IDs. IDs can be retrieved using the QueryNotificationsV1 operation.
get_notifications
Method | Route |
---|---|
/recon/entities/notifications/v1 |
- Produces: application/json
Name | Service | Uber | Type | Data type | Description |
---|---|---|---|---|---|
ids |
|
|
query | string or list of strings | Notification IDs to retrieve. |
parameters |
|
|
query | dictionary | Full query string parameters payload in JSON format. |
from falconpy import Recon
# Do not hardcode API credentials!
falcon = Recon(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_notifications(ids=id_list)
print(response)
from falconpy import Recon
# Do not hardcode API credentials!
falcon = Recon(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.GetNotificationsV1(ids=id_list)
print(response)
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("GetNotificationsV1", ids=id_list)
print(response)
Back to Table of Contents
Delete notifications based on IDs. Notifications cannot be recovered after they are deleted.
delete_notifications
Method | Route |
---|---|
/recon/entities/notifications/v1 |
- Produces: application/json
Name | Service | Uber | Type | Data type | Description |
---|---|---|---|---|---|
ids |
|
|
query | string or list of strings | Notification IDs to delete. |
parameters |
|
|
query | dictionary | Full query string parameters payload in JSON format. |
from falconpy import Recon
# Do not hardcode API credentials!
falcon = Recon(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_notifications(ids=id_list)
print(response)
from falconpy import Recon
# Do not hardcode API credentials!
falcon = Recon(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.DeleteNotificationsV1(ids=id_list)
print(response)
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("DeleteNotificationsV1", ids=id_list)
print(response)
Back to Table of Contents
Update notification status or assignee. Accepts bulk requests.
update_notifications
Method | Route |
---|---|
/recon/entities/notifications/v1 |
- Consumes: application/json
- Produces: application/json
Name | Service | Uber | Type | Data type | Description |
---|---|---|---|---|---|
assigned_to_uuid |
|
|
body | string | UUID of the assigned user. |
body |
|
|
body | dictionary | Full body payload in JSON format. |
id |
|
|
body | string | Notification ID. |
status |
|
|
body | string | Notification status. |
from falconpy import Recon
# Do not hardcode API credentials!
falcon = Recon(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.update_notifications(assigned_to_uuid="string",
id="string",
status="string"
)
print(response)
from falconpy import Recon
# Do not hardcode API credentials!
falcon = Recon(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.UpdateNotificationsV1(assigned_to_uuid="string",
id="string",
status="string"
)
print(response)
from falconpy import APIHarnessV2
# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
BODY = [
{
"assigned_to_uuid": "string",
"id": "string",
"status": "string"
}
]
response = falcon.command("UpdateNotificationsV1", body=BODY)
print(response)
Back to Table of Contents
Get monitoring rules rules by provided IDs.
get_rules
Method | Route |
---|---|
/recon/entities/rules/v1 |
- Produces: application/json
Name | Service | Uber | Type | Data type | Description |
---|---|---|---|---|---|
ids |
|
|
query | string or list of strings | Rule IDs to retrieve. |
parameters |
|
|
query | dictionary | Full query string parameters payload in JSON format. |
from falconpy import Recon
# Do not hardcode API credentials!
falcon = Recon(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_rules(ids=id_list)
print(response)
from falconpy import Recon
# Do not hardcode API credentials!
falcon = Recon(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.GetRulesV1(ids=id_list)
print(response)
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("GetRulesV1", ids=id_list)
print(response)
Back to Table of Contents
Create monitoring rules.
create_rules
Method | Route |
---|---|
/recon/entities/rules/v1 |
- Produces: application/json
Name | Service | Uber | Type | Data type | Description |
---|---|---|---|---|---|
body |
|
|
body | dictionary | Full body payload in JSON format. |
breach_monitoring_enabled |
|
|
body | boolean | Flag indicating if breach monitoring should be enabled. |
filter |
|
|
body | string | Rule filter. |
name |
|
|
body | string | Rule name. |
permissions |
|
|
body | string | Permissions. private or public . |
priority |
|
|
body | string | Priority. high , medium , low
|
substring_matching_enabled |
|
|
body | boolean | Flag indicating if substring matching should be enabled. |
topic |
|
|
body | string | Rule topic. |
from falconpy import Recon
# Do not hardcode API credentials!
falcon = Recon(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.create_rules(breach_monitoring_enabled=boolean,
filter="string",
name="string",
permissions="string",
priority="string",
substring_matching_enabled=boolean,
topic="string"
)
print(response)
from falconpy import Recon
# Do not hardcode API credentials!
falcon = Recon(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.CreateRulesV1(breach_monitoring_enabled=boolean,
filter="string",
name="string",
permissions="string",
priority="string",
substring_matching_enabled=boolean,
topic="string"
)
print(response)
from falconpy import APIHarnessV2
# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
BODY = [
{
"breach_monitoring_enabled": boolean,
"filter": "string",
"name": "string",
"permissions": "string",
"priority": "string",
"substring_matching_enabled": boolean,
"topic": "string"
}
]
response = falcon.command("CreateRulesV1", body=BODY)
print(response)
Back to Table of Contents
Delete monitoring rules.
delete_rules
Method | Route |
---|---|
/recon/entities/rules/v1 |
- Produces: application/json
Name | Service | Uber | Type | Data type | Description |
---|---|---|---|---|---|
ids |
|
|
query | string or list of strings | Rule IDs to delete. |
notificationsDeletionRequested |
|
|
query | boolean | Flag indicating if a delete notification should be generated by this rule. |
parameters |
|
|
query | dictionary | Full query string parameters payload in JSON format. |
from falconpy import Recon
# Do not hardcode API credentials!
falcon = Recon(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_rules(ids=id_list, notificationsDeletionRequested=boolean)
print(response)
from falconpy import Recon
# Do not hardcode API credentials!
falcon = Recon(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.DeleteRulesV1(ids=id_list, notificationsDeletionRequested=boolean)
print(response)
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("DeleteRulesV1", ids=id_list, notificationsDeletionRequested=boolean)
print(response)
Back to Table of Contents
Update monitoring rules.
update_rules
Method | Route |
---|---|
/recon/entities/rules/v1 |
- Produces: application/json
Name | Service | Uber | Type | Data type | Description |
---|---|---|---|---|---|
body |
|
|
body | dictionary | Full body payload in JSON format. |
breach_monitoring_enabled |
|
|
body | boolean | Flag indicating if breach monitoring should be enabled. |
filter |
|
|
body | string | Rule filter. |
name |
|
|
body | string | Rule name. |
permissions |
|
|
body | string | Permissions. private or public . |
priority |
|
|
body | string | Priority. high , medium , low
|
id |
|
|
body | string | Rule ID to update. |
substring_matching_enabled |
|
|
body | boolean | Flag indicating if substring matching should be enabled. |
from falconpy import Recon
# Do not hardcode API credentials!
falcon = Recon(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.update_rules(breach_monitoring_enabled=boolean,
filter="string",
id="string",
name="string",
permissions="string",
priority="string",
substring_matching_enabled=boolean
)
print(response)
from falconpy import Recon
# Do not hardcode API credentials!
falcon = Recon(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
BODY = {
"Body Payload": "See body description above"
}
response = falcon.UpdateRulesV1(breach_monitoring_enabled=boolean,
filter="string",
id="string",
name="string",
permissions="string",
priority="string",
substring_matching_enabled=boolean
)
print(response)
from falconpy import APIHarnessV2
# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
BODY = [
{
"breach_monitoring_enabled": boolean,
"filter": "string",
"id": "string",
"name": "string",
"permissions": "string",
"priority": "string",
"substring_matching_enableD": boolean
}
]
response = falcon.command("UpdateRulesV1", body=BODY)
print(response)
Back to Table of Contents
Query actions based on provided criteria. Use the IDs from this response to get the action entities on GetActionsV1.
query_actions
Method | Route |
---|---|
/recon/queries/actions/v1 |
- Produces: application/json
Name | Service | Uber | Type | Data type | Description |
---|---|---|---|---|---|
filter |
|
|
query | string | FQL query expression that should be used to limit the results. |
limit |
|
|
query | integer | Maximum number of records to return. |
offset |
|
|
query | string | Starting index of overall result set from which to return ids. |
q |
|
|
query | string | Free text search across all indexed fields. |
sort |
|
|
query | string | The property to sort by. |
parameters |
|
|
query | dictionary | Full query string parameters payload in JSON format. |
from falconpy import Recon
# Do not hardcode API credentials!
falcon = Recon(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.query_actions(offset="string",
limit=integer,
sort="string",
filter="string",
q="string"
)
print(response)
from falconpy import Recon
# Do not hardcode API credentials!
falcon = Recon(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.QueryActionsV1(offset="string",
limit=integer,
sort="string",
filter="string",
q="string"
)
print(response)
from falconpy import APIHarnessV2
# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.command("QueryActionsV1",
offset="string",
limit=integer,
sort="string",
filter="string",
q="string"
)
print(response)
Back to Table of Contents
Query notifications exposed data records based on provided criteria. Use the IDs from this response to get the notification +entities on GetNotificationsExposedDataRecordsV1.
query_notifications_exposed_data_records
Method | Route |
---|---|
/recon/queries/notifications-exposed-data-records/v1 |
- Produces: application/json
Name | Service | Uber | Type | Data type | Description |
---|---|---|---|---|---|
filter |
|
|
query | string |
FQL query expression that should be used to limit the results. Available filters:
|
limit |
|
|
query | integer | Maximum number of records to return. |
offset |
|
|
query | string | Starting index of overall result set from which to return ids. |
q |
|
|
query | string | Free text search across all indexed fields. |
sort |
|
|
query | string | The property to sort by. Either created_date or updated_date . (Example: `updated_date |
parameters |
|
|
query | dictionary | Full query string parameters payload in JSON format. |
from falconpy.recon import Recon
falcon = Recon(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.query_notifications_exposed_data_records(offset=integer,
limit=integer,
sort="string",
filter="string",
q="string"
)
print(response)
from falconpy import Recon
falcon = Recon(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.QueryNotificationsExposedDataRecordsV1(offset=integer,
limit=integer,
sort="string",
filter="string",
q="string"
)
print(response)
from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.command("QueryNotificationsExposedDataRecordsV1",
offset=integer,
limit=integer,
sort="string",
filter="string",
q="string"
)
print(response)
Back to Table of Contents
Query notifications based on provided criteria. Use the IDs from this response to get the notification entities on GetNotificationsV1 or GetNotificationsDetailedV1.
query_notifications
Method | Route |
---|---|
/recon/queries/notifications/v1 |
- Produces: application/json
Name | Service | Uber | Type | Data type | Description |
---|---|---|---|---|---|
filter |
|
|
query | string | FQL query expression that should be used to limit the results. |
limit |
|
|
query | integer | Maximum number of records to return. |
offset |
|
|
query | string | Starting index of overall result set from which to return ids. |
q |
|
|
query | string | Free text search across all indexed fields. |
sort |
|
|
query | string | The property to sort by. |
parameters |
|
|
query | dictionary | Full query string parameters payload in JSON format. |
from falconpy import Recon
# Do not hardcode API credentials!
falcon = Recon(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.query_notifications(offset=integer,
limit=integer,
sort="string",
filter="string",
q="string"
)
print(response)
from falconpy import Recon
# Do not hardcode API credentials!
falcon = Recon(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.QueryNotificationsV1(offset=integer,
limit=integer,
sort="string",
filter="string",
q="string"
)
print(response)
from falconpy import APIHarnessV2
# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.command("QueryNotificationsV1",
offset=integer,
limit=integer,
sort="string",
filter="string",
q="string"
)
print(response)
Back to Table of Contents
Query monitoring rules based on provided criteria. Use the IDs from this response to fetch the rules on GetRulesV1.
query_rules
Method | Route |
---|---|
/recon/queries/rules/v1 |
- Produces: application/json
Name | Service | Uber | Type | Data type | Description |
---|---|---|---|---|---|
filter |
|
|
query | string | FQL query expression that should be used to limit the results. |
limit |
|
|
query | integer | Maximum number of records to return. |
offset |
|
|
query | string | Starting index of overall result set from which to return ids. |
q |
|
|
query | string | Free text search across all indexed fields. |
sort |
|
|
query | string | The property to sort by. |
secondary_sort |
|
|
query | string | The secondary property to sort by. secondarySort is also accepted as this keyword. Available fields: created_timestamp , last_updated_timestamp
|
parameters |
|
|
query | dictionary | Full query string parameters payload in JSON format. |
from falconpy import Recon
# Do not hardcode API credentials!
falcon = Recon(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.query_rules(offset="string",
limit=integer,
sort="string",
secondary_sort="string",
filter="string",
q="string"
)
print(response)
from falconpy import Recon
# Do not hardcode API credentials!
falcon = Recon(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.QueryRulesV1(offset="string",
limit=integer,
sort="string",
secondary_sort="string",
filter="string",
q="string"
)
print(response)
from falconpy import APIHarnessV2
# Do not hardcode API credentials!
falcon = APIHarnessV2(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.command("QueryRulesV1",
offset="string",
limit=integer,
sort="string",
secondary_sort="string",
filter="string",
q="string"
)
print(response)
Back to Table of Contents