crowdstrike.falcon.ngsiem_parser_info module – Get information about NG-SIEM parsers
Note
This module is part of the crowdstrike.falcon collection (version 4.13.0).
It is not included in ansible-core.
To check whether it is installed, run ansible-galaxy collection list.
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.ngsiem_parser_info.
New in crowdstrike.falcon 4.13.0
Synopsis
Returns detailed information for one or more NG-SIEM parsers in the CrowdStrike Falcon platform.
Parsers transform raw log data into normalized events for Next-Gen SIEM. They come in two types - built-in ootb (out-of-the-box) parsers shipped by CrowdStrike, and custom parsers created in your tenant.
By default the full parser definition (including the
script,fields_to_tag, andtest_cases) is returned for each parser. Set definitions=false to return only the lightweight list metadata.Use crowdstrike.falcon.ngsiem_parser to create, update, clone, or delete parsers.
Requirements
The below requirements are needed on the host that executes this module.
CrowdStrike FalconPy >= 1.6.3
NGSIEM Parsers [READ] API scope
crowdstrike-falconpy >= 1.5.0
python >= 3.8
Parameters
Parameter |
Comments |
|---|---|
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. |
|
The OAuth2 access token to use for authentication. |
|
The CrowdStrike cloud region to use. This can differ from the module’s cloud argument due to autodiscovery. |
|
The CrowdStrike API client ID to use. See the Falcon documentation for more information about API clients. The |
|
The CrowdStrike API secret that corresponds to the client ID. See the Falcon documentation for more information about API clients. The |
|
The CrowdStrike cloud region to use. All clouds are automatically discovered if not specified, except for the The Choices:
|
|
Whether to fetch the full definition for each parser. When When Choices:
|
|
Extended headers that are prepended to the default headers dictionary. |
|
Maximum number of parsers to return. Must be between 1 and 500. Default: |
|
The CrowdStrike member CID for MSSP authentication. See the Falcon documentation for more information about API clients. The |
|
Substring to match against parser names. This maps to the only supported parser query filter ( |
|
Starting index for pagination. Use with limit to paginate through large result sets. Default: |
|
A list of parser IDs to get information about. Parser IDs are version-suffixed (e.g. When provided, name, parser_type, and update_available filters are ignored. |
|
Filter parsers by type.
Choices:
|
|
The name of the repository to query. Default: |
|
Filter parsers by whether a newer version is available. Choices:
|
|
Custom User-Agent string to use for requests to the API. The user agent string is prepended to the default user agent string ( See RFC 7231 for more information. The |
Notes
Note
Filtering: Only substring matching on name is supported by the API. General FQL expressions are not supported. Non-name filters (parser_type, update_available) are applied as dedicated query parameters.
Examples
- name: Get all parsers with full definitions
crowdstrike.falcon.ngsiem_parser_info:
- name: Get only custom parsers
crowdstrike.falcon.ngsiem_parser_info:
parser_type: custom
- name: Get parsers whose name contains 'watchguard'
crowdstrike.falcon.ngsiem_parser_info:
name: watchguard
- name: Get specific parsers by ID
crowdstrike.falcon.ngsiem_parser_info:
parser_ids:
- "10f55deaa2893f60b87af305f44f80bf:1.0.0"
- name: List parsers that have an update available (metadata only)
crowdstrike.falcon.ngsiem_parser_info:
update_available: true
definitions: false
- name: Get custom parsers using metadata only for a quick inventory
crowdstrike.falcon.ngsiem_parser_info:
parser_type: custom
definitions: false
limit: 50
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
|---|---|
Metadata about the query results. Returned: success |
|
Pagination information. Returned: success |
|
The limit used for this query. Returned: success Sample: |
|
The starting index used for this query. Returned: success Sample: |
|
Total number of parsers matching the query. Returned: success Sample: |
|
Time taken to execute the query in seconds. Returned: success Sample: |
|
A list of parsers that match the search criteria. When definitions=true (default), each entry includes the full parser definition merged with its list metadata. Returned: success |
|
The currently installed version of the parser. Returned: success Sample: |
|
The description of the parser. Returned: when definitions=true |
|
The list of fields to tag on parsed events. Returned: when definitions=true |
|
The version-suffixed unique identifier of the parser. Returned: success Sample: |
|
Whether the parser is a built-in (out-of-the-box) parser. Returned: when definitions=true |
|
The latest available version of the parser. Returned: success Sample: |
|
The name of the parser. Returned: success Sample: |
|
The type of the parser (ootb or custom). Returned: success Sample: |
|
The LogScale/CQL parsing script. Returned: when definitions=true |
|
The list of test cases associated with the parser. Returned: when definitions=true |
|
Whether a newer version of the parser is available. Returned: success Sample: |