Kubernetes Audit Logging#
Kubernetes audit logging records every request to the API server: who made the request, what they asked for, and what happened. Without audit logging, you have no visibility into who accessed secrets, who changed RBAC roles, or who exec’d into a production pod. It is the foundation of security monitoring in Kubernetes.
Audit Policy#
The audit policy defines which events to record and at what detail level. There are four levels: