Title
#fleet
r

Ryan

01/10/2022, 5:08 PM
4.8.0 looks quite good:
• Add ability to configure Fleet to send a webhook request with all hosts that failed a policy. Documentation on what data is included the webhook request and when the webhook request is sent can be found here on fleedm.com/docs.
Is there already a way to retrieve the list of policies and which hosts are failing a policy, as the
pull
method would fit better than
push
, with a use-case I have in mind.
zwass

zwass

01/10/2022, 6:18 PM
You probably want https://fleetdm.com/docs/using-fleet/rest-api#list-hosts with the
policy_id
and
policy_response
arguments.
r

Ryan

01/10/2022, 6:52 PM
aha, yes that looks perfect
6:52 PM
thank you @zwass!