Inspect policy reports for violations kyverno

Aggregate failing PolicyReport results cluster-wide ranked by count

kubectl get polr,cpolr -A -o json | jq -r '.items[].results[] | select(.result=="fail") | "\(.policy)/\(.rule)"' | sort | uniq -c
more kyverno all 5 commands →