Tilman Bender
03/23/2022, 3:14 PMzwass
03/23/2022, 3:39 PMTilman Bender
03/23/2022, 3:45 PMzwass
03/23/2022, 7:24 PMNoah Talerman
03/23/2022, 7:40 PMPolicy-Violation Report (e.g. Lists hosts failing a policy)
Policy Success Report: List all hosts passing all policies@Tilman Bender currently, you can generate both of the above by first hitting the
/GET hosts
API route and then filtering the list of hosts by issues.failing_policies_count
. Linking to this API route here: https://fleetdm.com/docs/using-fleet/rest-api#list-hosts
If failing_policies_count
is greater than 0, the host fits into the “failing at least one policy” bucket.
If the count is 0, the host fits into the “passing all policies” bucket.
we might have an auditor asking about the state of our boxes in the pastCurrently, Fleet only stores the current state of the device (as reported when it last talked to Fleet). As a workaround, you could hit the API once a month to generate the monthly report.
Tilman Bender
03/24/2022, 8:32 AM