crowdstrike.falcon.intel_rule_info module – Get information about CrowdStrike Falcon Intel rules

Note

This module is part of the crowdstrike.falcon collection (version 4.8.0).

To install it, use: ansible-galaxy collection install crowdstrike.falcon. You need further requirements to be able to use this module, see Requirements for details.

To use it in a playbook, specify: crowdstrike.falcon.intel_rule_info.

Synopsis

  • Search for and retrieve details about Intel rules in the CrowdStrike Falcon platform.

Requirements

The below requirements are needed on the host that executes this module.

  • Rules (Falcon Intelligence) [READ] API scope

  • crowdstrike-falconpy >= 1.3.0

  • python >= 3.6

Parameters

Parameter

Comments

auth

dictionary

The registered result of the crowdstrike.falcon.auth module, or a dictionary containing the access_token and cloud keys.

If provided, the client_id, client_secret, member_cid, and cloud options are ignored.

Useful when needing to make multiple API calls to avoid rate limiting issues.

access_token

string

The OAuth2 access token to use for authentication.

cloud

string

The CrowdStrike cloud region to use.

This can differ from the module’s cloud argument due to autodiscovery.

client_id

aliases: falcon_client_id

string

The CrowdStrike API client ID to use.

See the Falcon documentation for more information about API clients.

The FALCON_CLIENT_ID environment variable can also be used.

client_secret

aliases: falcon_client_secret

string

The CrowdStrike API secret that corresponds to the client ID.

See the Falcon documentation for more information about API clients.

The FALCON_CLIENT_SECRET environment variable can also be used.

cloud

string

The CrowdStrike cloud region to use.

All clouds are automatically discovered if not specified, except for the us-gov-1 cloud.

The FALCON_CLOUD environment variable can also be used.

Choices:

  • "us-1" ← (default)

  • "us-2"

  • "us-gov-1"

  • "eu-1"

description

list / elements=string

Substring match on the description field.

ext_headers

dictionary

Extended headers that are prepended to the default headers dictionary.

limit

integer

The maximum number of rule IDs to return. [integer, 1-5000]

member_cid

string

The CrowdStrike member CID for MSSP authentication.

See the Falcon documentation for more information about API clients.

The FALCON_MEMBER_CID environment variable can also be used.

name

list / elements=string

Search by rule title.

q

string

Perform a generic substring search across all fields.

sort

string

The property to sort by in FQL (Falcon Query Language) syntax (e.g. created_date|asc).

See the FalconPy documentation for more information about sorting with FQL.

tags

list / elements=string

Search for rule tags.

type

string / required

The rule news report type.

Choices:

  • "common-event-format"

  • "netwitness"

  • "snort-suricata-changelog"

  • "snort-suricata-master"

  • "snort-suricata-update"

  • "yara-changelog"

  • "yara-master"

  • "yara-update"

  • "cql-master"

  • "cql-changelog"

  • "cql-update"

user_agent

string

Custom User-Agent string to use for requests to the API.

The user agent string is prepended to the default user agent string (crowdstrike-ansible/<version>).

See RFC 7231 for more information.

The FALCON_USER_AGENT environment variable can also be used.

Notes

Note

  • For large sets of Rule IDs (if not using limits) there may be a delay in processing as the current API endpoint for retrieving details can only process 10 at a time.

Examples

- name: Get details on the latest 50 YARA rules
  crowdstrike.falcon.intel_rule_info:
    type: "yara-master"
    limit: 50
    sort: "created_date|desc"

- name: Get Snort/Suricata rules with a specific description pattern
  crowdstrike.falcon.intel_rule_info:
    type: "snort-suricata-master"
    description:
      - "FANCY BEAR"

- name: Search for rules with specific tags
  crowdstrike.falcon.intel_rule_info:
    type: "yara-master"
    tags:
      - "intel_feed"
      - "yara"

Return Values

Common return values are documented here, the following are the fields unique to this module:

Key

Description

rules

list / elements=dictionary

List of intel rules and their details

Returned: always

created_date

integer

Unix timestamp when the rule was created

Returned: always

Sample: 1745576262

description

string

Full description of the rule

Returned: always

id

integer

The ID of the rule

Returned: always

Sample: 1745571604

last_modified_date

integer

Unix timestamp when the rule was last modified

Returned: always

Sample: 1745576262

name

string

The name of the rule

Returned: always

Sample: "CrowdStrike Intelligence Feed: YARA Master - 2025/04/25"

rich_text_description

string

HTML-formatted description of the rule

Returned: when available

short_description

string

Abbreviated description of the rule

Returned: always

tags

list / elements=string

List of tags associated with the rule

Returned: when available

Sample: ["intel_feed", "yara"]

type

string

Type of rule (yara-master, snort-suricata-master, etc.)

Returned: always

Sample: "yara-master"

Authors

  • Carlos Matos (@carlosmmatos)