Sebastiaan
06/08/2023, 9:53 AMKathy Satterlee
06/08/2023, 2:35 PMosquery_policy_update_interval, set in Fleet, with the default interval being 90 min. You should only see a webhook trigger when a host is newly failing a policy.
https://fleetdm.com/docs/deploying/configuration#osquery-policy-update-intervalSebastiaan
06/08/2023, 2:36 PMKathy Satterlee
06/08/2023, 2:40 PMKathy Satterlee
06/08/2023, 2:45 PMSebastiaan
06/08/2023, 2:48 PMSebastiaan
06/08/2023, 2:48 PMSebastiaan
06/08/2023, 2:48 PMLucas Rodriguez
06/08/2023, 2:59 PMPOST /api/v1/fleet/automations/reset endpoint that Kathy mentioned should be available.
How to trigger such a thing:
curl -X POST \
-H "Authorization: Bearer $API_TOKEN" \
<https://your-fleet-address/api/latest/fleet/automations/reset> \
-d '{ "team_ids": [1], "policy_ids": [1, 2, 3] }'
Where API_TOKEN can be retrieved in Fleet via the top right icon -> My account -> Get API token .