Skip to content

host_info

Returns detailed information for one or more hosts. Some of the details returned include software information, such as platform,

Added in version 4.4.0

ParameterTypeRequiredDefaultDescription
hostslistYesA list of host agent IDs (AIDs) to get information about. Use the P(crowdstrike.falcon.host_ids#lookup) lookup plugin to get a list of host IDs matching
- name: Get information about a single host
crowdstrike.falcon.host_info:
hosts: "12345678901234567890"
- name: Get information about more than one host
crowdstrike.falcon.host_info:
hosts:
- "12345678901234567890"
- "09876543210987654321"
- name: Get information about all Windows hosts (using host_ids lookup)
crowdstrike.falcon.host_info:
hosts: "{{ lookup('crowdstrike.falcon.host_ids', windows_host_filter) }}"
vars:
windows_host_filter: 'platform_name:"Windows"'
- name: Get information about all Linux hosts in reduced functionality mode (using host_ids lookup)
crowdstrike.falcon.host_info:
hosts: >
{{
lookup('crowdstrike.falcon.host_ids',
'platform_name:"Linux"
+ reduced_functionality_mode:"yes"')
}}
KeyTypeDescription
hosts-