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:
- In the Falcon console, go to Support and resources → API clients and keys.
- Select Create API client and give it a name.
- 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, andupdateIOARulewhenrulegroup_versionis 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.
- Hosts: Read (host lookups, the connector test) and Write (
- Select Create, then copy the client ID and secret. The secret is shown only once.
- 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 pluscp,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 plusput,put-and-runandrun.
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.allowedHostssetting. - Token URL
-
The API URL of your Falcon cloud followed by
/oauth2/token, for examplehttps://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
containedorcontainingis skipped, and an unknown device ID is reported asnotFound. Only the other hosts are sent. Returnsoutcomes, one per device ID with the statusrequested,skipped(with the reason),notFoundorfailed(with Falcon's message). Containment is asynchronous: read the state back withgetAgentDetails. liftContainment(Workflows only)- Lift network containment on hosts. Like
containHost, the connector first reads each host's state: a host that is alreadynormalorlift_pendingis skipped and an unknown device ID isnotFound. Returnsoutcomesper 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'sgroups(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 asrequestedinoutcomes(failedwhen 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
outcomeslikeaddHostGroupMembers, 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_hiddenistrue. 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_hiddenistrue. 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
outcomesper tag (requestedorskipped). removeCaseTags- Remove tags from one case. Like
addCaseTags, a tag the case does not have is skipped. Returnsoutcomesper 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
notFoundinoutcomes, and the others asrequested. findHostsByIndicator- Find the hosts that observed an indicator, with the number of hosts. Falcon pages this list with an opaque cursor:
next_offsetis a string (for example0:1450837263); pass it asoffsetto get the next page. It isnullon the last page.device_countisnullwhen 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 ruleid). A deleted rule stays in the group'sruleswithdeleted: trueand is removed fromrule_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 itsinstance_id, whichupdateIOARuleanddeleteIOARuletake. 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. Returnsoutcomesper rule:requested,notFoundfor a rule Falcon reports as not found, orfailedwith 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 queryorfilehash) on one or more hosts. batchActiveResponderExecuteRTR(Workflows only)- Run an active-responder RTR command (such as
get,kill,rm,runscriptorumount) on a batch of hosts.put,put-and-runandrunneed the administrator action. batchAdminExecuteRTR(Workflows only)- Run an administrator RTR command, including
put,put-and-runandrun, 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: falsewithbatch_get_cmd_req_idandsession_id; call the action again with the samedevice_idandfile_pathand 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 asession_idit 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
notFoundinoutcomes, 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
notFoundinoutcomes, 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
quarantineistrue. Returns the scan ID.file_pathsare folders or files such asC:\Users\Public\. Falcon rejects wildcards (*) there as invalid path characters; usescan_exclusionsfor patterns.cpu_prioritygoes from1(lowest) to5(highest). Falcon requires one, so the connector sends1when none is given.pause_durationmust not exceedmax_duration. Falcon uses apause_durationof2when none is given, so amax_durationbelow2withoutpause_durationalso sets the pause tomax_duration.- Falcon sets
initiated_fromitself, 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 withoffsetandlimit, up to 1,000 per page) and Falcon's search metadata. While the search runs,doneisfalse. 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: falseand the outcomenotFoundinstead 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,getAlertDetailsandupdateAlert) use Falcon's unified Alerts API. The legacy detections API, which it supersedes, is not used. - Containment and Real Time Response
- Containment is asynchronous:
getAgentDetailsreportscontaining, thencontained, andlift_pending, thennormal. RTR actions wait up to their timeout (at most 300 seconds); a host whose command is still running returnscomplete: falsewith acloud_request_idforgetRTRCommandStatus.rtrRetrieveFilereturns 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,batchAdminExecuteRTRandrtrRetrieveFile, open one session per host. The connector deletes each host's session when that host's command completes or fails, or forrtrRetrieveFile, when the file is returned or the action fails. Single-host sessions, used byrtrKillProcessandrtrListProcesses, 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 thatrtrRetrieveFiletakes back thesession_idandbatch_get_cmd_req_idof 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 withgetRTRCommandStatus. - 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 fromgetAgentDetailsor 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 lowerlimitor 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:
startNgSiemSearchwith a CQL query and a time range returns a search ID.getNgSiemSearchResultsreturnsdone: falsewhile the search runs. Repeat it with a wait of at least 2 seconds untildoneistrue, then page the events withoffsetandlimit(up to 1,000 per page).- To cancel a search that is no longer needed, use
stopNgSiemSearch.
Searches run on the
search-allview, 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 example15m,24h,7d, andnow) or epoch milliseconds (13 digits).startcannot benow, andenddefaults tonow. 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
uploadRTRFileanduploadRTRScript, the file content ofdetonateFileand 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.
updateCasechanges status, assignee, name, description and severity, and the tag actions change tags; for a written trail, add a comment to the case's alert withupdateAlert. - Falcon incidents: the incidents endpoints are decommissioned; use the case actions (
searchCases,getCaseDetails,updateCase,addCaseTags,removeCaseTags).