Skip to content

Exclusions

This module provides a unified set of tools for managing CrowdStrike exclusions across four types — IOA, Machine Learning, Sensor Visibility, and Certificate-Based — behind a single exclusion_type discriminator

  • IOA Exclusions: READ
  • Machine Learning Exclusions: READ
  • Sensor Visibility Exclusions: READ
  • IOA Exclusions: WRITE
  • Machine Learning Exclusions: WRITE
  • Sensor Visibility Exclusions: WRITE

Create an exclusion of the given type.

The exclusion_type selects which fields are required: ‘ioa’ needs name, pattern_id, ifn_regex, and cl_regex; ‘ml’ and ‘sensor_visibility’ need value (sensor_visibility also needs host_groups); ‘certificate’ needs name, certificate, and status. Invalid or missing fields return a guiding error before any API call. Returns the created exclusion record(s).

Example prompts:

  • “Create an ML exclusion for /tmp/foo.sh applied to all hosts”
  • “Add a sensor visibility exclusion for C:\Temp* on the Workstations group”

Delete one or more exclusions of the given type.

Provide the exclusion_type and a non-empty list of exclusion ids. Returns the API response for the deletion.

Example prompts:

  • “Delete the certificate exclusion with ID abc123”

Required scopes: Machine Learning Exclusions: READ

Retrieve the code-signing certificate metadata for a file by SHA256.

Use this as the pre-flight lookup before building a certificate-based exclusion: it returns the file’s signing certificate details (issuer, subject, serial, thumbprint, validity window) which you then pass as the certificate argument to falcon_create_exclusion. Returns certificate metadata for the given hash.

Example prompts:

  • “Look up the signing certificate for SHA256 3dd9a…”

Search exclusions of a given type and return full exclusion records.

Use this to find IOA, machine learning, sensor visibility, or certificate-based exclusions by name, value, scope, or timestamp. The exclusion_type parameter selects which exclusion API is queried. Consult falcon://exclusions/search/fql-guide before constructing filter expressions — the available fields differ per type. Returns full exclusion records including id, scope, and timestamps.

Example prompts:

  • “Show me my most recent IOA and machine learning exclusions”
  • “List sensor visibility exclusions created in the last 7 days”

Update an existing exclusion of the given type.

Provide the id of the exclusion plus the same fields used when creating that type. All four types update via HTTP PATCH. Invalid or missing fields return a guiding error before any API call. Returns the updated exclusion record(s).

Example prompts:

  • “Update IOA exclusion abc123 to also match a new command line regex”
  • falcon://exclusions/search/fql-guide: Contains the guide for the filter param of the falcon_search_exclusions tool.