forked from CrowdStrike/falconpy
-
Notifications
You must be signed in to change notification settings - Fork 0
Container Alerts
jshcodes edited this page Jul 15, 2024
·
4 revisions
Operation ID | Description | ||||
---|---|---|---|---|---|
|
Get Container Alert counts by severity. | ||||
|
Search Container Alerts by the provided search criteria. | ||||
|
Search Container Alerts by the provided search criteria. |
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 Container Alert counts by severity.
read_counts_by_severity
Method | Route |
---|---|
/container-security/aggregates/container-alerts/count-by-severity/v1 |
- Produces: application/json
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
|
parameters |
|
query | dictionary | Full query string parameters payload in JSON format. Not required if using other keywords. |
from falconpy import ContainerAlerts
# 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)
from falconpy import ContainerAlerts
# Do not hardcode API credentials!
falcon = ContainerAlerts(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.ReadContainerAlertsCountBySeverity(filter="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("ReadContainerAlertsCountBySeverity", parameters=PARAMS)
print(response)
Search Container Alerts by the provided search criteria
read_counts
Method | Route |
---|---|
/container-security/aggregates/container-alerts/count/v1 |
- Produces: application/json
Name | Service | Uber | Type | Data type | Description |
---|---|---|---|---|---|
filter |
|
|
query | string | 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. |
from falconpy import ContainerAlerts
# Do not hardcode API credentials!
falcon = ContainerAlerts(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.read_counts(filter="string")
print(response)
from falconpy import ContainerAlerts
# Do not hardcode API credentials!
falcon = ContainerAlerts(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.ReadContainerAlertsCount(filter="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("ReadContainerAlertsCount", parameters=PARAMS)
print(response)
Search Container Alerts by the provided search criteria
search_and_read
Method | Route |
---|---|
/container-security/combined/container-alerts/v1 |
- Produces: application/json
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. |
from falconpy import ContainerAlerts
# 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)
from falconpy import ContainerAlerts
# 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)
from falconpy import APIHarnessV2
# 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)
- Home
- Discussions Board
- Glossary of Terms
- Installation, Upgrades and Removal
- Samples Collection
- Using FalconPy
- API Operations
-
Service Collections
- Alerts
- API Integrations
- Cloud Connect AWS (deprecated)
- Cloud Snapshots
- Configuration Assessment
- Configuration Assessment Evaluation Logic
- Container Alerts
- Container Detections
- Container Images
- Container Packages
- Container Vulnerabilities
- CSPM Registration
- Custom IOAs
- Custom Storage
- D4C Registration (deprecated)
- Detects
- Device Control Policies
- Discover
- Drift Indicators
- Event Streams
- Exposure Management
- Falcon Complete Dashboard
- Falcon Container
- Falcon Intelligence Sandbox
- FDR
- FileVantage
- Firewall Management
- Firewall Policies
- Foundry LogScale
- Host Group
- Hosts
- Identity Protection
- Image Assessment Policies
- Incidents
- Installation Tokens
- Intel
- IOA Exclusions
- IOC
- IOCs (deprecated)
- Kubernetes Protection
- MalQuery
- Message Center
- ML Exclusions
- Mobile Enrollment
- MSSP (Flight Control)
- OAuth2
- ODS (On Demand Scan)
- Overwatch Dashboard
- Prevention Policy
- Quarantine
- Quick Scan
- Real Time Response
- Real Time Response Admin
- Real Time Response Audit
- Recon
- Report Executions
- Response Policies
- Sample Uploads
- Scheduled Reports
- Sensor Download
- Sensor Update Policy
- Sensor Visibility Exclusions
- Spotlight Evaluation Logic
- Spotlight Vulnerabilities
- Tailored Intelligence
- ThreatGraph
- Unidentified Containers
- User Management
- Workflows
- Zero Trust Assessment
- Documentation Support
-
CrowdStrike SDKs
- Crimson Falcon - Ruby
- FalconPy - Python 3
- FalconJS - Javascript
- goFalcon - Go
- PSFalcon - Powershell
- Rusty Falcon - Rust