crowdstrike.falcon.sensor_update_policy_info module – Get information about Falcon Update Sensor Policies
Note
This module is part of the crowdstrike.falcon collection (version 4.7.2).
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.sensor_update_policy_info
.
New in crowdstrike.falcon 4.0.0
Synopsis
Returns a set of Sensor Update Policies which match the filter criteria.
See the FalconPy documentation for more information about the available filters and sort options.
Requirements
The below requirements are needed on the host that executes this module.
Sensor update policies [READ] API scope
crowdstrike-falconpy >= 1.3.0
python >= 3.6
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:
|
|
Extended headers that are prepended to the default headers dictionary. |
|
The filter expression that should be used to limit the results using FQL (Falcon Query Language) syntax. See the FalconPy documentation for more information about the available filters. |
|
The CrowdStrike member CID for MSSP authentication. See the Falcon documentation for more information about API clients. The |
|
The property to sort by in FQL (Falcon Query Language) syntax. See the FalconPy documentation for more information about sorting with FQL. |
|
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 Sensor Policies
crowdstrike.falcon.sensor_update_policy_info:
- name: Get enabled windows Sensor Policies
crowdstike.falcon.sensor_update_policy_info:
filter: "platform_name:'Windows'+enabled:'true'"
- name: Get Sensor Policies and sort ascending by platform_name
crowdstike.falcon.sensor_update_policy_info:
sort: "platform_name.asc"
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
Array of Sensor Update Policies matching the filter criteria. Returned: success |
|
The unique identifier of the customer. Returned: success Sample: |
|
The user who created the policy. Returned: success Sample: |
|
The timestamp when the policy was created. Returned: success Sample: |
|
The description of the policy. Returned: success Sample: |
|
Whether the policy is enabled. Returned: success Sample: |
|
The groups associated with the policy. Returned: success Sample: |
|
The assignment rule of the group. Returned: success Sample: |
|
The user who created the group. Returned: success Sample: |
|
The timestamp when the group was created. Returned: success Sample: |
|
The description of the group. Returned: success Sample: |
|
The type of the group. Returned: success Sample: |
|
The unique identifier of the group. Returned: success Sample: |
|
The user who last modified the group. Returned: success Sample: |
|
The timestamp when the group was last modified. Returned: success Sample: |
|
The name of the group. Returned: success Sample: |
|
The unique identifier of the policy. Returned: success Sample: |
|
The user who last modified the policy. Returned: success Sample: |
|
The timestamp when the policy was last modified. Returned: success Sample: |
|
The name of the policy. Returned: success Sample: |
|
The name of the platform. Returned: success Sample: |
|
The settings of the policy. Returned: success Sample: |