In short
CrowdStrike Falcon configuration export: the file CrowdStrike Falcon writes of its own settings, which a configuration review reads setting by setting without connecting to CrowdStrike Falcon.
How to export the CrowdStrike Falcon configuration, step by step, what the review checks in the file (37 checks run), and what it does not read.
| The file | JSON, one falcon.json: the prevention policy answer and the sensor update policy answer, as the Falcon API returns them |
|---|---|
| Checks run on it | 37 |
| Highest grade its findings reach | PROVEN |
| Feeds attack paths | Yes |
| Not read from this export | 2 areas, listed below |
Sources: CrowdStrike Falcon documentation (1); CrowdStrike Falcon documentation (2); CrowdStrike Falcon documentation (3); the vendor table.
How to export it
- Who can pull it
- An API client with two READ scopes: Prevention policies and Sensor update policies
- Time
- About 10 minutes, most of it creating the API client.
- The file
- JSON, one falcon.json: the prevention policy answer and the sensor update policy answer, as the Falcon API returns them
No console export: The file comes from the API steps: the jq step keeps the two Falcon API answers as they are. The Falcon console is where the API client is created.
From the command line
Create an API client with two Read scopes: in the Falcon console, Support and resources → API Clients & Keys → Add new API Client (some CrowdStrike pages write this menu as Support → API Clients and Keys). Name it (for example cybertwin-read), give it Read, and nothing else, for two scopes, Prevention policies and Sensor update policies, then click Add. The next screen shows the Client ID, the Secret and the Base URL one time: copy the three values before you leave it
The vendor's page, checked 2026-11-11Keep the Base URL and the Client ID for this terminal session (the Base URL is https://api.crowdstrike.com on US-1, https://api.us-2.crowdstrike.com on US-2, https://api.us-3.crowdstrike.com on US-3, https://api.eu-1.crowdstrike.com on EU-1, https://api.laggar.gcw.crowdstrike.com on US-GOV-1, https://api.us-gov-2.crowdstrike.mil on US-GOV-2):
The vendor's page, checked 2026-11-11export FALCON_BASE=<base-url> FALCON_CLIENT_ID=<client-id>Then runread -rs FALCON_CLIENT_SECRETand paste the Secret, then press Enter (nothing is shown, and the Secret stays out of the shell history)
The vendor's page, checked 2026-11-11TOKEN=$(curl -s -X POST "$FALCON_BASE/oauth2/token" -d "client_id=$FALCON_CLIENT_ID&client_secret=$FALCON_CLIENT_SECRET" | jq -r .access_token)(a token lasts 30 minutes)
The vendor's page, checked 2026-11-11curl -s -H "Authorization: Bearer $TOKEN" "$FALCON_BASE/policy/combined/prevention/v1?limit=5000" > prevention.json
The vendor's page, checked 2026-11-11curl -s -H "Authorization: Bearer $TOKEN" "$FALCON_BASE/policy/combined/sensor-update/v2?limit=5000" > sensor-update.json
The vendor's page, checked 2026-11-11jq -n --slurpfile p prevention.json --slurpfile s sensor-update.json '{prevention: $p[0], sensor_update: $s[0]}' > falcon.jsonAfter the upload has gone through, delete the API client cybertwin-read, so that no standing credential is left. CrowdStrike’s API reference documents the call for this, DELETE /api-clients/entities/api-clients/v1 with the Client ID as ids, which needs an API client with the scope Api Client Mgmt: WRITE (cybertwin-read does not hold it). CrowdStrike’s public pages do not describe the delete control in the console: look for it under Support and resources → API Clients & Keys, where you created the client
The vendor's page, checked 2026-11-11
What the file looks like
JSON, one falcon.json: the prevention policy answer and the sensor update policy answer, as the Falcon API returns them. It varies with the number of prevention policies and the settings each one lists. The upload takes files up to 10 MB.
What it holds: Your prevention policies with every setting, and your sensor update policies, as the Falcon API returns them, in one falcon.json.
Upload falcon.json, the file the jq step writes. It holds the two API answers unchanged, under the keys prevention and sensor_update. The files prevention.json and sensor-update.json are inputs for that step: do not upload them. Each answer lists up to 5000 policies, the limit the steps ask for. Run these commands in bash (macOS, Linux or WSL): in Windows PowerShell 5.1, > writes UTF-16, which jq and the upload refuse.
Afterwards
Revoke the token, or let it lapse after 30 minutes: curl -s -X POST "$FALCON_BASE/oauth2/revoke" -u "$FALCON_CLIENT_ID:$FALCON_CLIENT_SECRET" -d "token=$TOKEN". Delete the API client cybertwin-read (the last step). Delete the two input files: rm prevention.json sensor-update.json. Then close the terminal, which still holds the Secret and the token.
If the export goes wrong
| What you see | The fix |
|---|---|
| TOKEN is empty or null | Check FALCON_BASE: it must be the Base URL the console showed for your cloud (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). Check also that the Client ID and the Secret were entered whole. Then run the read line and the TOKEN line again (a token lasts 30 minutes). |
| prevention.json or sensor-update.json holds an "errors" entry with code 403 | The API client lacks a scope: under Support and resources → API Clients & Keys, update the client so that it has Read for Prevention policies and Sensor update policies (CrowdStrike notes that scopes can be updated later in the console), then run the TOKEN line and the two curl lines again. |
| jq: command not found | Install jq (macOS: brew install jq; Debian or Ubuntu, also under WSL: sudo apt-get install jq), then run the TOKEN line and the steps after it again. |
What we read from it
- Checks run
- 37 + 7 guidance items, not counted
- Formats read
- Prevention policy JSON · Falcon API answers: prevention policies and sensor update policies (JSON)
- Releases
- 6.x to 7.x
Checks run is the number of checks that reached a result on this system's own export in our tests, as the vendor table shows it.
The areas checked
- Each enabled prevention policy, setting by setting: the cloud and on-sensor machine-learning sliders (and detect-only, when every slider has prevention off), sensor tampering protection, credential dumping, code injection, suspicious processes, quarantine on write, exploit mitigations, ransomware protections and the other toggles CrowdStrike lists
- A prevention policy that is switched off while host groups are assigned to it
- Each enabled sensor update policy: uninstall protection, maintenance mode, and an empty build (sensor version updates off)
The grade its findings reach
Proven A finding from this file can reach PROVEN: the stored file is read a second time by a separate reader, and the finding is found at the setting it names.
Its findings feed attack paths: each one can be a step on a path an attacker could take to your crown jewels.
Attack paths, the one change and dollar figures are MODELED. How each grade is worked out is on the method page.
What we do not read from this export
- Falcon firewall policies, USB device control, exclusions and IOC suppression rules: separate API calls, not in this export
- Host groups, API client scopes, console sign-in and module settings (Identity Protection, Spotlight): not in this export
- Content update policies, Real Time Response policies and custom IOA rules: not in this export
- Detection results and alert history
- Prevention policies that are switched off: their settings apply to no host
Limits of the reader
- Findings name the setting they come from, not its line number.
- The checks of this system are not counted: a check counts once a test shows it firing on a file in the layout the vendor documents.
A finding never comes from what the file does not hold: live traffic, running hosts and logs are not in a configuration export.
A CrowdStrike Falcon finding from the sample company
Falcon exclusion permits rundll32 and Temp
Run the sample to see this finding with its fix and the paths it sits on.
Questions
Who can export the CrowdStrike Falcon configuration?
An API client with two scopes, Prevention policies: READ and Sensor update policies: READ. CrowdStrike’s API reference names these as the scopes of the two calls the steps make (GET /policy/combined/prevention/v1 and GET /policy/combined/sensor-update/v2), so nothing wider is needed. To create the client you must be able to open API Clients & Keys in the Falcon console: CrowdStrike’s public documentation does not name the Falcon role for that.
Does the export change anything?
It adds one API client (a standing credential with two Read scopes) to your Falcon tenant and issues a token that lasts 30 minutes. On CrowdStrike’s reference pages the calls under these two READ scopes are GET calls, so no policy is changed. On your computer the steps write three files.
Does the file hold passwords or keys?
falcon.json holds no password, key or token. It holds the two answers as CrowdStrike returns them: policy names, platforms and setting values, your customer ID (cid), who created and last changed each policy, and each host group with its assignment rule. The Secret and the token are kept in the terminal session, not in a file. With redaction on (the default), the passwords, keys and tokens the review recognises are replaced with a placeholder before anything is stored; the check before upload shows how many it found.