audit policy

The Kubernetes file of ordered rules that decides which API requests are logged and at what level of detail.

In more detail

Rules are checked in order and the first match sets the level, so specific rules go first and a catch-all goes last. A good policy logs Secrets at Metadata (never the secret itself), exec at Request, drops noisy kube-proxy watches, and logs request bodies for resources used for persistence.

Related terms

Taught in

References