
CrowdStrike QueryAlerts
CertifiedEnterprise EditionQuery CrowdStrike Falcon alert IDs
CrowdStrike QueryAlerts
Query CrowdStrike Falcon alert IDs
Searches alerts with the CrowdStrike Falcon Query Language (FQL) and returns matching composite IDs, which can be passed to GetAlerts to fetch full alert details. Omitting filter matches every alert visible to the API client.
type: io.kestra.plugin.ee.crowdstrike.alerts.QueryAlertsExamples
Query and fetch every new critical alert
id: query_critical_alerts
namespace: company.team
tasks:
- id: query_alerts
type: io.kestra.plugin.ee.crowdstrike.alerts.QueryAlerts
clientId: "{{ secret('CROWDSTRIKE_CLIENT_ID') }}"
clientSecret: "{{ secret('CROWDSTRIKE_CLIENT_SECRET') }}"
filter: "status:'new'+severity:>=80"
sort: "created_timestamp.desc"
limit: 50
- id: get_alerts
type: io.kestra.plugin.ee.crowdstrike.alerts.GetAlerts
clientId: "{{ secret('CROWDSTRIKE_CLIENT_ID') }}"
clientSecret: "{{ secret('CROWDSTRIKE_CLIENT_SECRET') }}"
ids: "{{ outputs.query_alerts.ids }}"
Properties
clientId *Requiredstring
API client ID
Client ID of a CrowdStrike API client with the scopes required by the tasks and triggers being used.
clientSecret *Requiredstring
API client secret
Client secret of the CrowdStrike API client. Exchanged for a short-lived OAuth2 Bearer token on every task run and trigger poll; never logged.
baseUrl string
https://api.crowdstrike.comCrowdStrike API base URL
Base URL of the CrowdStrike Falcon API for your cloud region (for example: https://api.crowdstrike.com for US-1, https://api.us-2.crowdstrike.com for US-2, https://api.eu-1.crowdstrike.com for EU-1, or https://api.laggar.gcw.crowdstrike.com for US-GOV-1). Defaults to the US-1 endpoint. Using the wrong region for your tenant results in 403 Forbidden responses.
filter string
FQL filter
CrowdStrike Falcon Query Language expression (for example: status: 'new'+severity: >=80). Matches every alert when omitted.
limit integerstring
100Page size
Maximum number of alert IDs to return, from 1 to 10000. Defaults to 100.
offset integerstring
0Offset
Number of matching alerts to skip, for pagination. Defaults to 0.
sort string
Sort order
Sort field and direction (for example: created_timestamp.desc).
Outputs
ids array
Matching alert composite IDs
total integer
Total number of alerts matching the filter, without pagination