CrowdStrike Falcon connector

The CrowdStrike Falcon connector connects Kibana to the CrowdStrike Falcon API. It searches and updates alerts and cases, looks up and contains hosts, lifts containment, manages host group membership, and runs Real Time Response (RTR) commands and on-demand scans.

It also manages custom indicators of compromise (IOCs), custom indicator of attack (IOA) rules, and quarantined files, searches IOA exclusions and Spotlight vulnerabilities, checks file and URL reputation with Falcon Intelligence, detonates files and URLs in Falcon Sandbox, and runs Falcon Next-Gen SIEM searches.

You can use this connector in Agent Builder and Workflows. Actions marked (Workflows only) aren't available to agents. Use them in workflows, or run them with the Run a connector API.

You can create connectors in Stack Management → Connectors.

To use the CrowdStrike Falcon connector, create an API client in the Falcon console:

  1. In the Falcon console, go to Support and resources → API clients and keys.
  2. Select Create API client and give it a name.
  3. Grant only the scopes for the actions you plan to use:
    • Hosts: Read (host lookups, the connector test) and Write (containHost, liftContainment).
    • Host groups: Read (listHostGroups) and Write (addHostGroupMembers, removeHostGroupMembers).
    • Alerts: Read (searchAlerts, getAlertDetails) and Write (updateAlert).
    • IOC Management: Read (searchIOCs, findHostsByIndicator) and Write (uploadIOC, deleteIOC).
    • Real time response: Read (read-only commands) and Write (active-responder commands, rtrRetrieveFile, rtrKillProcess).
    • Real time response (admin): Write (administrator commands and the script and put-file library).
    • Quarantined Files: Read and Write.
    • Cases (Case Management): Read (searchCases, getCaseDetails) and Write (updateCase, addCaseTags, removeCaseTags).
    • Custom IOA rules: Read (listIOARules, and updateIOARule when rulegroup_version is not given) and Write (createIOARule, updateIOARule, deleteIOARule).
    • IOA exclusions: Read (searchIOAExclusions).
    • On-demand scans (ODS): Read (getScanResults) and Write (createScan).
    • With the matching subscriptions: Indicators (Falcon Intelligence): Read, Sandbox (Falcon Sandbox): Write, Sample uploads: Write, and Vulnerabilities (Spotlight): Read.
    • NGSIEM: Read and Write (API scope humio-auth-proxy) for the Next-Gen SIEM search actions.
  4. Select Create, then copy the client ID and secret. The secret is shown only once.
  5. Note the base URL shown with the client. It identifies your Falcon cloud.

Real Time Response has three permission tiers: read-only, active responder and administrator. Create one connector per tier, each with its own Falcon API client that holds that tier's Real Time Response scope and no higher tier, plus Hosts: Read (the connector test and host lookups need it; without it the connector test fails with a 403). Use the connector with the lowest tier each task needs. If a responder or administrator command fails with a permission error when the session starts, also add Real time response: Read to that tier's API client. A read-only connector cannot run responder or administrator commands, whatever the request.

Commands each tier accepts:

  • Read-only (executeRTRCommand): cat, cd, clear, env, eventlog, filehash, getsid, help, history, ipconfig, ls, mount, netstat, ps, reg query.
  • Active responder (batchActiveResponderExecuteRTR): the read-only commands plus cp, encrypt, get, kill, map, memdump, mkdir, mv, reg set, reg delete, reg load, reg unload, restart, rm, runscript, shutdown, umount, unmap, update, xmemdump, zip.
  • Administrator (batchAdminExecuteRTR): the active-responder commands plus put, put-and-run and run.

Falcon accepts put, put-and-run and run only at the administrator tier, so the active-responder action rejects them. Any other command is rejected before a session is opened.

Scope Actions
Hosts: Read getAgentDetails, getAgentOnlineStatus, searchDevices, findHostsByIndicator (with IOC Management: Read), containHost and liftContainment (state read, with Hosts: Write), the connector test
Hosts: Write containHost, liftContainment
Host groups: Read listHostGroups
Host groups: Write addHostGroupMembers, removeHostGroupMembers
Alerts: Read searchAlerts, getAlertDetails
Alerts: Write updateAlert
Cases (Case Management): Read searchCases, getCaseDetails, addCaseTags and removeCaseTags (case read, with Cases: Write)
Cases (Case Management): Write updateCase, addCaseTags, removeCaseTags
IOC Management: Read searchIOCs, findHostsByIndicator (with Hosts: Read)
IOC Management: Write uploadIOC, deleteIOC
Custom IOA rules: Read listIOARules, updateIOARule (reads the rule group version when rulegroup_version is not given)
Custom IOA rules: Write createIOARule, updateIOARule, deleteIOARule
IOA exclusions: Read searchIOAExclusions
On-demand scans (ODS): Read getScanResults
On-demand scans (ODS): Write createScan
Quarantined Files: Read listQuarantinedFiles
Quarantined Files: Write applyQuarantineFileAction
Real time response: Read (read-only tier) executeRTRCommand, rtrListProcesses, getRTRCommandStatus (read-only commands)
Real time response: Write (active-responder tier) batchActiveResponderExecuteRTR, rtrRetrieveFile, rtrKillProcess, getRTRCommandStatus (active-responder commands)
Real time response (admin): Write (administrator tier) batchAdminExecuteRTR, getRTRCloudScripts, uploadRTRFile, listRTRFiles, deleteRTRFile, uploadRTRScript, deleteRTRScript, getRTRCommandStatus (administrator commands)
Indicators (Falcon Intelligence): Read getFileReputation, getUrlReputation
Sandbox (Falcon Sandbox): Write detonateUrl, detonateFile
Sample uploads: Write detonateFile (uploads the file first)
Vulnerabilities (Spotlight): Read spotlightSearchVulnerability
NGSIEM: Read and Write (API scope humio-auth-proxy) startNgSiemSearch, getNgSiemSearchResults, stopNgSiemSearch (the vendor names no separate scope for stopping)

CrowdStrike Falcon connectors have the following configuration properties:

Falcon cloud
The cloud of your Falcon tenant: US-1 (api.crowdstrike.com), US-2 (api.us-2.crowdstrike.com), US-3 (api.us-3.crowdstrike.com), EU-1 (api.eu-1.crowdstrike.com), US-GOV-1 (api.laggar.gcw.crowdstrike.com), US-GOV-2 (api.us-gov-2.crowdstrike.mil), or Custom.
API URL
The HTTPS base URL of the Falcon API. Used only when the Falcon cloud is Custom. The host must be allowed by the Kibana xpack.actions.allowedHosts setting.
Token URL

The API URL of your Falcon cloud followed by /oauth2/token, for example https://api.us-2.crowdstrike.com/oauth2/token. It defaults to the US-1 token URL, https://api.crowdstrike.com/oauth2/token, so change it if your tenant is on another Falcon cloud.

Kibana sends the client ID and secret to this URL to get an access token, so enter only the token URL of your Falcon cloud. If the token URL and the Falcon cloud don't match, actions fail. The error usually names both hosts, but it can also be an OAuth error, such as 401, that doesn't. In either case, check that the token URL matches the Falcon cloud.

Client ID
The client ID of a Falcon API client.
Client secret
The secret of the same API client.

You can test connectors when you create or edit the connector in Kibana. The test requests an access token and lists one host, which confirms the client ID and secret, the Falcon cloud, and the Hosts: Read scope.

The CrowdStrike Falcon connector exposes the following actions. List and search actions return one page and the position of the next one (next_offset, or next_after for cursor-paged actions).

getAgentDetails
Get host records for Falcon device IDs: hostname, platform and OS version, sensor version, first and last seen, IP and MAC addresses, host groups, and the containment state (normal, containing, contained, lift_pending).
searchDevices
Search the host inventory with a Falcon Query Language (FQL) filter, for example hostname:'web-01'. Returns device IDs.
getAgentOnlineStatus
Get the sensor connection state (online, offline or unknown) for up to 100 device IDs.
containHost
Network-contain hosts. The connector first reads each host's containment state: a host that is already contained or containing is skipped, and an unknown device ID is reported as notFound. Only the other hosts are sent. Returns outcomes, one per device ID with the status requested, skipped (with the reason), notFound or failed (with Falcon's message). Containment is asynchronous: read the state back with getAgentDetails.
liftContainment (Workflows only)
Lift network containment on hosts. Like containHost, the connector first reads each host's state: a host that is already normal or lift_pending is skipped and an unknown device ID is notFound. Returns outcomes per device ID.
listHostGroups
List host groups with their name, type, assignment rule and description.
addHostGroupMembers (Workflows only)
Add up to 100 hosts (device IDs) to a static host group, for example a group with a stricter prevention policy. The connector builds the host filter from the device IDs. Undo with removeHostGroupMembers. Falcon can take a minute or more to show the change in the host's groups (getAgentDetails), so wait before you read the host again to check the membership. The connector does not read the membership first and reports every host as requested in outcomes (failed when Falcon names the host in an error), including hosts that are already members.
removeHostGroupMembers (Workflows only)
Remove up to 100 hosts (device IDs) from a static host group. The hosts lose the policies of that group. Returns outcomes like addHostGroupMembers, including hosts that are not members.
searchAlerts
Search Falcon alerts by status, minimum severity, host, time range, free text or an FQL filter. Returns composite alert IDs. Offset paging stops at 10,000 results. Alerts hidden in the Falcon console are left out unless include_hidden is true.
getAlertDetails
Get full alert details by composite ID: severity, status, tactic and technique, process and file details, the affected host and the Falcon console link. Alerts hidden in the Falcon console are left out unless include_hidden is true.
updateAlert
Update alerts in one request: set the status, append a comment, assign or unassign, add or remove tags, and show or hide them in the Falcon console.
searchCases
Search Falcon cases (Case Management) by FQL filter, free text and sort. Returns case IDs and the total.
getCaseDetails
Get Falcon cases by ID: status, severity, assignee, tags and the other case fields. IDs that Falcon does not return are listed in missing_ids.
updateCase
Update one case: status, assignee (a Falcon user UUID) or removal of the assignee, name, description and severity, optionally only when the case is still at an expected version. Falcon cases have no comments; comment on the linked alert with updateAlert.
addCaseTags
Add tags to one case. Existing tags are kept. The connector reads the case first and skips a tag the case already has; when every tag is skipped, nothing is sent and the case is returned as read. If Falcon marks the case record as not yet consistent, every tag is sent. Returns outcomes per tag (requested or skipped).
removeCaseTags
Remove tags from one case. Like addCaseTags, a tag the case does not have is skipped. Returns outcomes per tag.
uploadIOC (Workflows only)
Create custom IOCs (SHA256, MD5, domain, IPv4 or IPv6) with an action, platforms, severity and scope.
searchIOCs
Search custom IOCs by FQL filter.
deleteIOC (Workflows only)
Delete custom IOCs by ID, with an optional audit comment. An IOC that no longer exists is not an error: it is reported as notFound in outcomes, and the others as requested.
findHostsByIndicator
Find the hosts that observed an indicator, with the number of hosts. Falcon pages this list with an opaque cursor: next_offset is a string (for example 0:1450837263); pass it as offset to get the next page. It is null on the last page. device_count is null when Falcon's host count cannot be read and the list has more than one page.
listIOARules
List custom IOA rule groups with their rules, by FQL filter, free text and sort. A rule is identified by its instance_id (Falcon returns no rule id). A deleted rule stays in the group's rules with deleted: true and is removed from rule_ids.
createIOARule (Workflows only)
Create a custom IOA rule in an existing rule group: rule type, name, severity, action and pattern fields. Falcon creates the rule disabled; enable it with updateIOARule. The created rule is returned with its instance_id, which updateIOARule and deleteIOARule take.
updateIOARule (Workflows only)
Update one custom IOA rule (for example enable or disable it). Only the fields you send change. The rule group version is used as a lock; when you do not pass it, the connector reads the current version first. If the group changed since that version, Falcon answers 409 (rule group version mismatch, reload data and try again). Returns the updated rule group with its rules.
deleteIOARule (Workflows only)
Delete up to 100 custom IOA rules of one rule group by instance_id, with an optional audit comment. Deletion is permanent. Returns outcomes per rule: requested, notFound for a rule Falcon reports as not found, or failed with Falcon's message.
searchIOAExclusions
Search IOA exclusions by FQL filter and return their details (name, pattern, regular expressions, host groups), or only their IDs.
executeRTRCommand
Run a read-only RTR command (such as ls, netstat, reg query or filehash) on one or more hosts.
batchActiveResponderExecuteRTR (Workflows only)
Run an active-responder RTR command (such as get, kill, rm, runscript or umount) on a batch of hosts. put, put-and-run and run need the administrator action.
batchAdminExecuteRTR (Workflows only)
Run an administrator RTR command, including put, put-and-run and run, on a batch of hosts.
getRTRCommandStatus
Get the status and output of an RTR command that was still running when its action returned.
getRTRCloudScripts
List the custom RTR scripts in the Falcon cloud, for use with runscript -CloudFile.
rtrRetrieveFile (Workflows only)
Collect one file (up to 1 MiB) from a host. Returns the archive Falcon produces as base64, with its name, SHA256 and size. When the file is not ready within the timeout, the result has complete: false with batch_get_cmd_req_id and session_id; call the action again with the same device_id and file_path and those two values to keep waiting for the same file instead of starting a new collection. A resumed call closes only the session that Falcon reports for that retrieval and host, never a session_id it was given.
rtrKillProcess (Workflows only)
Kill a process on a host by process ID.
rtrListProcesses
List the processes running on a host.
uploadRTRFile (Workflows only)
Upload a file (up to 1 MiB) to the RTR put-file library.
listRTRFiles
List the files in the RTR put-file library.
deleteRTRFile (Workflows only)
Delete a file from the RTR put-file library. A file that no longer exists is reported as notFound in outcomes, not as an error.
uploadRTRScript (Workflows only)
Create a custom RTR script.
deleteRTRScript (Workflows only)
Delete a custom RTR script. A script that no longer exists is reported as notFound in outcomes, not as an error.
listQuarantinedFiles
Search quarantined files by FQL filter or free text.
applyQuarantineFileAction (Workflows only)
Release, unrelease or delete quarantined files.
createScan

Start an on-demand scan on hosts or host groups (at least one is required), with optional paths, exclusions, CPU priority, duration and file-size limits, machine learning levels and end-user notification. Malicious files are quarantined only when quarantine is true. Returns the scan ID.

  • file_paths are folders or files such as C:\Users\Public\. Falcon rejects wildcards (*) there as invalid path characters; use scan_exclusions for patterns.
  • cpu_priority goes from 1 (lowest) to 5 (highest). Falcon requires one, so the connector sends 1 when none is given.
  • pause_duration must not exceed max_duration. Falcon uses a pause_duration of 2 when none is given, so a max_duration below 2 without pause_duration also sets the pause to max_duration.
  • Falcon sets initiated_from itself, so the connector does not send it.
getScanResults
Get an on-demand scan by ID (status and file counts) and one page of the malicious files it found.
getFileReputation
Look up a file hash (MD5, SHA1 or SHA256) in Falcon Intelligence.
getUrlReputation
Look up a URL or domain in Falcon Intelligence.
detonateUrl (Workflows only)
Submit a URL to Falcon Sandbox and return the verdict, threat score and report summary when it is ready.
detonateFile (Workflows only)
Detonate a file (uploaded as base64, up to 1 MiB, or a sample already in Falcon) in Falcon Sandbox.
spotlightSearchVulnerability
Search Spotlight vulnerabilities by FQL filter, with optional host, remediation, CVE and evaluation details.
startNgSiemSearch
Start a Next-Gen SIEM search with a CrowdStrike Query Language (CQL) query and a time range. Returns the search ID.
getNgSiemSearchResults
Get a Next-Gen SIEM search by ID: done, the matching events (page them with offset and limit, up to 1,000 per page) and Falcon's search metadata. While the search runs, done is false.
stopNgSiemSearch
Cancel a Next-Gen SIEM search by ID. A finished search is stopped normally; a search Falcon no longer finds (for example an expired one) returns stopped: false and the outcome notFound instead of an error.

Use the CrowdStrike Falcon connector for Agent Builder tools. The earlier CrowdStrike connector stays available and unchanged, and keeps working where it is used today: Elastic Security response actions on CrowdStrike hosts. It is not offered as an Agent Builder tool, so nothing has to be migrated at once.

Earlier connector action Action in this connector What changes
Get agent details (device IDs) getAgentDetails (device IDs) The IDs go in the request body (up to 5,000 per call); each record also shows the host's containment state.
Host actions with the contain command containHost (device IDs, optional action parameters) A separate action. The alert IDs and comment inputs are not carried: Falcon never received them.
Host actions with the lift containment command liftContainment (device IDs, optional action parameters) A separate action. The alert IDs and comment inputs are not carried.
Get agent online status (device IDs) getAgentOnlineStatus (device IDs) The IDs are sent as Falcon documents them (one value per ID).
Execute Real Time Response command (command, hosts) executeRTRCommand (read-only), with optional timeout and offline queueing Only read-only commands are accepted; a command that outlasts the timeout returns a request ID for getRTRCommandStatus.
Execute Real Time Response command, running a script (runscript) batchActiveResponderExecuteRTR or batchAdminExecuteRTR The read-only command action does not accept runscript, the only command the earlier action ran. Use the active-responder or administrator action instead, for example with runscript -CloudFile='<script name>'.
Batch Real Time Response command, active responder (command, hosts) batchActiveResponderExecuteRTR, with optional timeout and offline queueing Only active-responder commands are accepted; the put, put-and-run and run commands need the administrator action.
Batch Real Time Response command, administrator (command, hosts) batchAdminExecuteRTR, with optional timeout and offline queueing Administrator commands only.
Get Real Time Response cloud scripts (no inputs) getRTRCloudScripts (optional filter, page size, position and sort) Scripts are listed page by page, with the next position returned.
Alerts API
The alert actions (searchAlerts, getAlertDetails and updateAlert) use Falcon's unified Alerts API. The legacy detections API, which it supersedes, is not used.
Containment and Real Time Response
Containment is asynchronous: getAgentDetails reports containing, then contained, and lift_pending, then normal. RTR actions wait up to their timeout (at most 300 seconds); a host whose command is still running returns complete: false with a cloud_request_id for getRTRCommandStatus. rtrRetrieveFile returns files up to 1 MiB.
Real Time Response sessions

Real Time Response sessions are opened and closed by the connector. Batch sessions, used by executeRTRCommand, batchActiveResponderExecuteRTR, batchAdminExecuteRTR and rtrRetrieveFile, open one session per host. The connector deletes each host's session when that host's command completes or fails, or for rtrRetrieveFile, when the file is returned or the action fails. Single-host sessions, used by rtrKillProcess and rtrListProcesses, are deleted when the command completes or fails.

A session is kept in two cases: when the command is still running at the timeout, so that its status can be read (for rtrRetrieveFile, while the file is still being prepared), and when the host is offline and the command is queued for it, because deleting the session would drop the queued command. Falcon closes a kept session after 10 minutes without activity.

A failed delete is only logged and does not fail the action. Sessions of a large batch are deleted 10 at a time, for at most 30 seconds in total. Sessions left open after that are closed by Falcon after 10 minutes without activity. The batch and session IDs in the results (batch_id, session_id) are for audit only, except that rtrRetrieveFile takes back the session_id and batch_get_cmd_req_id of a result that was not complete.

Real Time Response timeout
Real Time Response commands wait 30 seconds by default (60 seconds for rtrRetrieveFile) and at most 300 seconds (Falcon's 5-minute maximum). A command that is still running at the timeout returns a request ID (cloud_request_id) per host; read its result with getRTRCommandStatus.
Response size
Kibana limits the size of a connector response (xpack.actions.maxResponseContentLength, 1 MB by default). Large pages, such as thousands of device records from getAgentDetails or many Next-Gen SIEM events, can exceed it; the action then fails with an error that says the response is too large. Request fewer items with a lower limit or fewer IDs, or raise the setting.
Next-Gen SIEM search

Next-Gen SIEM search uses the same client ID and secret as the other actions, but the API client also needs the NGSIEM scope (Read and Write), which is separate from the endpoint scopes. Without it, Falcon answers with an access-denied error, and the connector reports it with the scope name.

A search runs in three steps:

  1. startNgSiemSearch with a CQL query and a time range returns a search ID.
  2. getNgSiemSearchResults returns done: false while the search runs. Repeat it with a wait of at least 2 seconds until done is true, then page the events with offset and limit (up to 1,000 per page).
  3. To cancel a search that is no longer needed, use stopNgSiemSearch.

Searches run on the search-all view, which covers every repository the API client may read. To search one repository, add #repo=<repository name> to the query. Time ranges are relative (for example 15m, 24h, 7d, and now) or epoch milliseconds (13 digits). start cannot be now, and end defaults to now. Searches are never live. A failed start is not repeated on a server error, because a repeat could start a second search. Keep time ranges short, and stop searches you no longer need.

Saved inputs
Action inputs are saved with the step or conversation that runs them, including the content of uploadRTRFile and uploadRTRScript, the file content of detonateFile and Real Time Response command lines. Do not put secrets, such as passwords or API keys, in command lines, script content or file content.
Not available
  • Environment CrowdScore: CrowdStrike decommissioned the incidents and CrowdScore endpoints, and no other Falcon API returns the CrowdScore, so the connector has no CrowdScore action.
  • Comments on Falcon cases: Falcon Case Management has no comment or note endpoint. updateCase changes status, assignee, name, description and severity, and the tag actions change tags; for a written trail, add a comment to the case's alert with updateAlert.
  • Falcon incidents: the incidents endpoints are decommissioned; use the case actions (searchCases, getCaseDetails, updateCase, addCaseTags, removeCaseTags).