Try a policy against your own history before you enforce it.
Policy what-if
Whether a policy would refuse anything depends on your images, your scan results and your triage decisions, not on the policy text. The what-if answers it from the cluster's own records.
A draft policy is decided again against the admission reviews already in the ledger, by the same code the webhook runs. The result is three figures, unchanged, would be denied and would be allowed, with the rule behind each difference and up to two hundred of the changed admissions.
Step by step.
Edit the policy
In the console's policy editor.
Press What if
Pick a period of 7, 30 or 90 days.
The draft is replayed
Against the recorded admission reviews.
Read the difference
Unchanged, would be denied, would be allowed.
Apply it, or keep editing
Nothing changed until you do.
Each replay is one audit log entry, “replayed a draft policy”; no pod, scan or registry is touched.
9 clauses across 4 frameworks cite at least one of these statements.
Install it yourself.
Create an account, confirm your e-mail with the code we send, take the free Community key from the Licenses page, and install with Helm.
Create an account