crowdstrike.falcon.ngsiem_data_connection_info module – Get information about NG-SIEM data connections
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_data_connection_info.
New in crowdstrike.falcon 4.13.0
Synopsis
Returns detailed information for one or more NG-SIEM data connections.
Some of the details returned include connection name, vendor, parser, status, source type, and ingest URL.
Can retrieve specific connections by ID or search for connections using FQL filters.
Optionally enriches each result with its current provisioning status.
Requirements
The below requirements are needed on the host that executes this module.
CrowdStrike FalconPy >= 1.5.0
NGSIEM Data Connections [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:
|
|
A list of data connection IDs to get information about. If not provided, connections will be returned based on filter and pagination settings. Cannot be used together with filter. |
|
Extended headers that are prepended to the default headers dictionary. |
|
FQL (Falcon Query Language) filter expression to limit results. Supported fields:
Examples: Cannot be used together with connection_ids. |
|
Whether to enrich each connection with its current provisioning status. When enabled, adds a This requires an additional API call per connection. Choices:
|
|
Maximum number of data connections 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 |
|
Starting index for pagination. Use with limit to paginate through large result sets. Default: |
|
Property to sort results by. Note: Only |
|
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 |
Examples
- name: Get all data connections
crowdstrike.falcon.ngsiem_data_connection_info:
- name: Get specific data connections by ID
crowdstrike.falcon.ngsiem_data_connection_info:
connection_ids:
- "abcdef1234567890abcdef1234567890"
- "1234567890abcdef1234567890abcdef"
- name: Search connections by name pattern
crowdstrike.falcon.ngsiem_data_connection_info:
filter: "name:'*edge*'"
limit: 50
- name: Filter connections by status
crowdstrike.falcon.ngsiem_data_connection_info:
filter: "status:'Active'"
sort: "name.asc"
- name: Filter PUSH connections and include provisioning status
crowdstrike.falcon.ngsiem_data_connection_info:
filter: "type:'PUSH'"
include_status: true
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
|---|---|
A list of data connections that match the search criteria. Returned: success |
|
The unique identifier of the data connection. Returned: success Sample: |
|
The URL to push logs to (PUSH connections only, after provisioning). Returned: when available |
|
The volume ingested in the last day. Returned: success |
|
The name of the data connection. Returned: success Sample: |
|
The parser applied to the connection’s data. Returned: success Sample: |
|
The current provisioning status (only when include_status=true). Returned: when include_status=true |
|
The source type of the connection. Returned: success |
|
The current status of the connection. Returned: success Sample: |
|
The vendor name associated with the connection. Returned: success Sample: |
|
The vendor product name associated with the connection. Returned: success Sample: |
|
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 data connections matching the query. Returned: success Sample: |
|
Time taken to execute the query in seconds. Returned: success Sample: |