A policy that revokes a file share on a single heuristic carries two distinct failure modes. A false positive breaks legitimate collaboration and trains downstream systems to ignore the webhook stream. A false negative is worse in a different way: the heuristic misses, no webhook fires, and the absence itself is invisible. The automation masks the gap.
The boundary that matters is between classification and enforcement. Classification tolerates probability. Enforcement, especially revocation, demands an invariant: no action without an auditable threshold, and no threshold without a defined rollback path.
I model this as an async workflow, not a synchronous gate. The detection event enters a queue. A separate evaluator applies the threshold. The revocation action is idempotent, logged, and the webhook carries the full decision context rather than just the trigger. This introduces latency, but it creates the control point where a human can intervene before the irreversible step.
Every automated security action is a distributed systems problem with a compliance audit trail attached. The platform engineering work is making that trail queryable before the regulator asks for it.
How do you structure remediation workflows so that the absence of an alert is as auditable as the alert itself?