Skip to content

CrowdStrike Falcon Cloud Security (CNAPP) Executor

Category: Cloud Security Script: crowdstrike_cloud.py Integration: REST API (OAuth2) Faraday Plugin: Raw JSON Website: https://www.crowdstrike.com/products/cloud-security/falcon-cloud-security/

Description

Imports Indicators of Misconfiguration (IOMs) from CrowdStrike Falcon Cloud Security into Faraday. Findings are grouped by cloud account, with one vulnerability per IOM.

Prerequisites

  • A CrowdStrike Falcon Cloud Security subscription
  • A Falcon API client (client ID and secret) with read access to Cloud Security
  • Network access to the Falcon API URL of your cloud region

Configuration

Environment Variables (Setup)

Variable Required Description
FALCON_HOST Yes Falcon API URL for your cloud region (e.g., https://api.crowdstrike.com, https://api.us-2.crowdstrike.com or https://api.eu-1.crowdstrike.com)
FALCON_CLIENT_ID Yes Falcon API client ID
FALCON_CLIENT_SECRET Yes Falcon API client secret

These variables are also accepted as execution arguments, so a single run can override them.

Execution Arguments

Parameter Type Mandatory Description
FCS_CLOUD_PROVIDER string No Only import IOMs of this cloud provider: aws, azure or gcp. Leave blank for all providers. Unrecognized values are ignored.
FCS_MIN_SEVERITY string No Minimum severity to import: info, low, medium, high or critical (default: info). Unrecognized values fall back to info.

YAML Configuration Example

executors:
  crowdstrike_cloud:
    repo_executor: crowdstrike_cloud.py
    max_size: 65536
    varenvs:
      FALCON_HOST: "https://api.crowdstrike.com"
      FALCON_CLIENT_ID: "<client_id>"
      FALCON_CLIENT_SECRET: "<client_secret>"
    params:
      FCS_CLOUD_PROVIDER:
        mandatory: false
        type: string
        base: string
      FCS_MIN_SEVERITY:
        mandatory: false
        type: string
        base: string

How It Works

  1. Requests an access token from {FALCON_HOST}/oauth2/token using the client credentials flow
  2. Lists IOM IDs with GET /cloud-security/queries/iom/v1, filtered by cloud provider and severity, 500 per page
  3. Fetches the full IOM records with GET /cloud-security/entities/iom/v1, in batches of 100 IDs
  4. Creates one [CNAPP] vulnerability per IOM, grouped by cloud account
  5. Maps severity and status from Falcon. Open, new and active IOMs are open, fixed/resolved/mitigated are closed, and suppressed, dismissed or false-positive IOMs are risk-accepted.

Notes

  • Each cloud account becomes a host with IP 0.0.0.0. IOMs without an account are grouped under a single unnamed host.
  • TLS certificate verification is disabled for the API calls.
  • The run stops if the credentials are missing or authentication fails.
  • The shared agent parameters (AGENT_CONFIG_* tags and severity filters) are not applied by this executor. Use FCS_MIN_SEVERITY to filter by severity.