Search Container Alerts using a query in Falcon Query Language (FQL). Supported filters: cid, container_id, last_seen
parameters
query
dictionary
Full query string parameters payload in JSON format. Not required if using other keywords.
Usage
Service class example (PEP8 syntax)
fromfalconpyimportContainerAlerts# Do not hardcode API credentials!falcon=ContainerAlerts(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response=falcon.read_counts_by_severity(filter="string")
print(response)
Service class example (Operation ID syntax)
fromfalconpyimportContainerAlerts# Do not hardcode API credentials!falcon=ContainerAlerts(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response=falcon.ReadContainerAlertsCountBySeverity(filter="string")
print(response)
Uber class example
fromfalconpyimportAPIHarnessV2# Do not hardcode API credentials!falcon=APIHarnessV2(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response=falcon.command("ReadContainerAlertsCountBySeverity", parameters=PARAMS)
print(response)
ReadContainerAlertsCount
Search Container Alerts by the provided search criteria
Search Container Alerts using a query in Falcon Query Language (FQL). Supported filters: cid,last_seen
parameters
query
dictionary
Full query string parameters payload in JSON format. Not required if using other keywords.
Usage
Service class example (PEP8 syntax)
fromfalconpyimportContainerAlerts# Do not hardcode API credentials!falcon=ContainerAlerts(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response=falcon.read_counts(filter="string")
print(response)
Service class example (Operation ID syntax)
fromfalconpyimportContainerAlerts# Do not hardcode API credentials!falcon=ContainerAlerts(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response=falcon.ReadContainerAlertsCount(filter="string")
print(response)
Uber class example
fromfalconpyimportAPIHarnessV2# Do not hardcode API credentials!falcon=APIHarnessV2(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response=falcon.command("ReadContainerAlertsCount", parameters=PARAMS)
print(response)
SearchAndReadContainerAlerts
Search Container Alerts by the provided search criteria
PEP8 method name
search_and_read
Endpoint
Method
Route
/container-security/combined/container-alerts/v1
Content-Type
Produces: application/json
Keyword Arguments
Name
Service
Uber
Type
Data type
Description
filter
query
string
Search Container Alerts using a query in Falcon Query Language (FQL). Supported filters: cid,container_id,last_seen,name,severity
limit
query
integer
The upper-bound on the number of records to retrieve.
offset
query
integer
The offset from where to begin.
parameters
query
dictionary
Full query string parameters payload in JSON format. Not required if using other keywords.
sort
query
string
The fields to sort the records on.
Usage
Service class example (PEP8 syntax)
fromfalconpyimportContainerAlerts# Do not hardcode API credentials!falcon=ContainerAlerts(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response=falcon.search_and_read(filter="string",
limit=integer,
offset=integer,
sort="string"
)
print(response)
Service class example (Operation ID syntax)
fromfalconpyimportContainerAlerts# Do not hardcode API credentials!falcon=ContainerAlerts(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response=falcon.SearchAndReadContainerAlerts(filter="string",
limit=integer,
offset=integer,
sort="string"
)
print(response)
Uber class example
fromfalconpyimportAPIHarnessV2# Do not hardcode API credentials!falcon=APIHarnessV2(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response=falcon.command("SearchAndReadContainerAlerts",
filter="string",
limit=integer,
offset=integer,
sort="string"
)
print(response)