fleetdm / fleet

Open-source platform for IT, security, and infrastructure teams. (Linux, macOS, Chrome, Windows, cloud, data center)
https://fleetdm.com
Other
3.15k stars 432 forks source link

Policy automations - allow admin to specify rules around retry #24032

Open dherder opened 10 hours ago

dherder commented 10 hours ago

Gong snippet: prospect-hubble: https://us-65885.app.gong.io/call?id=3117803056098648048&highlights=%5B%7B%22type%22%3A%22SHARE%22%2C%22from%22%3A1508%2C%22to%22%3A1755%7D%5D

Problem

Today policy automations will fire once when they enter a failure state. Admins need the ability to trigger the policy automation more than once (a configurable number of times) at the policy level.

Potential solutions

In the policy definition, allow the admin to specify a "trigger policy automation on failure" value (some integer value).

What is the expected workflow as a result of your proposal?

In many cases a single policy automation trigger on failure is ok, but it does not cover all scenarios.