Skip to main content

Sensors

Sensors is the Falcon Sensor Download collection for this CID. Paths are under /sensors/…. GET /sensors/entities/download-installer/v1 is not implemented. Combined installers v2/v3 are not implemented. This collection returns metadata only — there are no CrowdStrike binaries.

This collection is not CrowdStrike production. It does not call Falcon cloud.

RPC field notes: SensorDownloadService. REST schemas: API reference. Filter syntax: FQL.

These curls use Host: crowdstrike-api.localhost against Compose Traefik on :8088. If the hostname already resolves to Traefik, you can omit the Host header and call http://crowdstrike-api.localhost instead.

Auth​

Every call needs a console session or a Bearer token:

  • Cookie cs_console from CreateSession (POST /identity/entities/sessions/v1)
  • Authorization: Bearer with sensors:read for query, get, and CCID

A session cookie bypasses OAuth scopes. Seed client cs-local-hosts (hosts:read only) cannot query installers (403). There is no seeded client with sensors:read — use the console cookie, or a client you created with that scope.

HTTP paths​

MethodPathUse
GET/sensors/queries/installers/v1Query installer sha256 ids. Query: filter, limit, offset, sort (name.asc / platform.desc / version.asc / sha256.asc). Empty filter returns all ids.
GET/sensors/entities/installers/v1?ids=Get installer metadata. Missing id → 200 with only found resources.
GET/sensors/queries/installers/ccid/v1CID checksum. resources is [ccid].

GET /sensors/entities/download-installer/v1 is not implemented.

Allowed FQL properties: platform. Unknown property or invalid filter → 400.

Installer JSON: sha256, name, platform, version.

Seed installers​

sha256nameplatformversion
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaFalcon Sensor Windowswindows7.26.0
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbFalcon Sensor Linuxlinux7.26.0

CCID seed: AAAAAAAAAAAAAA-AA (local checksum, not a real Falcon CCID).

curl -sS -c cookies.txt -H 'Host: crowdstrike-api.localhost' \
-H 'Content-Type: application/json' \
-d '{"email":"[email protected]","password":"FalconLocal!1","cloud":"us-1"}' \
http://127.0.0.1:8088/identity/entities/sessions/v1

Empty filter returns at least the two seed sha256 ids. platform:'windows' returns only the Windows installer:

curl -sS -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/sensors/queries/installers/v1?filter=platform:%27windows%27'

Invalid FQL is 400:

curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/sensors/queries/installers/v1?filter=not-fql'
curl -sS -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/sensors/entities/installers/v1?ids=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb'
curl -sS -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/sensors/queries/installers/ccid/v1'

resources is ["AAAAAAAAAAAAAA-AA"].

Query (Bearer)​

TOKEN='<access_token from a client with sensors:read>'
curl -sS -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/sensors/queries/installers/v1'

sensors:read → 200. A token without that scope (including hosts:read only) → 403. Missing or revoked token → 401.

OAuth2 mint/revoke: OAuth2. Accessible scopes: API clients.