Skip to content

response_policy_info

Returns details of Falcon Real Time Response policies. Gets Real Time Response policies by ID, by name, or searches for them with an FQL filter. With no option, returns every Real Time Response policy. The module returns every match. It reads more pages when there are more

Added in version 4.15.0

ParameterTypeRequiredDefaultDescription
filterstrNoThe FQL filter to search for Real Time Response policies. C(platform_name:‘Windows’) matches the platform name exactly and is case-sensitive. The values are C(Windows), C(Mac) and C(Linux). C(platform_name:[‘Windows’,‘Mac’]) matches any of the platforms in the list. C(enabled:‘true’) and C(enabled:‘false’) match enabled or disabled policies. C(description:‘word’) matches whole words of the description without regard to case, in any order. Part of a word does not match. C(name:‘text’) matches whole words of the name without regard to case, in any order. Use I(name) to get a policy by its full name. C(name:‘word’) matches names that start with the word. It works only with one word without C(-). A value with C(-) matches nothing. C(created_timestamp:>‘2024-01-01T00:00:00Z’) and C(created_timestamp:<‘2022-01-01T00:00:00Z’) match the creation time, and C(modified_timestamp:>‘2026-01-01T00:00:00Z’) the last change. The value must be a timestamp. Join conditions with C(+) (AND), for example C(platform_name:‘Windows’+enabled:‘true’). Mutually exclusive with I(policy_ids).
namestrNoThe exact name of the Real Time Response policies to get, compared without regard to case. A name is unique only for each platform, so more than one policy can match. Add I(filter) with C(platform_name:‘Windows’) to get the policy of one platform. Can be combined with I(filter). Mutually exclusive with I(policy_ids).
policy_idslistNoThe IDs of the Real Time Response policies to get. An empty list returns no Real Time Response policies. The module fails when an ID does not exist. Then the failed result has the policies that were found in RV(response_policies), and the API errors. The IDs are compared without regard to case. Mutually exclusive with I(name), I(filter) and I(sort).
sortstrNoThe property and direction to sort the results by. C(name) sorts upper case letters before lower case letters. C(created_timestamp) and C(modified_timestamp) sort to the second. Mutually exclusive with I(policy_ids). name.asc name.desc created_timestamp.asc created_timestamp.desc modified_timestamp.asc modified_timestamp.desc enabled.asc enabled.desc created_by.asc created_by.desc modified_by.asc modified_by.desc
- name: Get all Real Time Response policies
crowdstrike.falcon.response_policy_info:
- name: Get Real Time Response policies by ID
crowdstrike.falcon.response_policy_info:
policy_ids:
- "12345678901234567890abcdef123456"
- name: Get the Real Time Response policies with a name
crowdstrike.falcon.response_policy_info:
name: platform_default
- name: Get the Real Time Response policy with a name for one platform
crowdstrike.falcon.response_policy_info:
name: platform_default
filter: "platform_name:'Windows'"
- name: Get the enabled Windows Real Time Response policies, sorted by name
crowdstrike.falcon.response_policy_info:
filter: "platform_name:'Windows'+enabled:'true'"
sort: name.asc
KeyTypeDescription
response_policieslistThe Real Time Response policies that match the IDs, the name or the filter. An empty list when nothing matches.