audit level
How much of a Kubernetes API request is logged: None, Metadata, Request or RequestResponse.
In more detail
None logs nothing. Metadata logs who, what, when and the result, without bodies. Request adds the request body; RequestResponse adds the response body too. Use Metadata for Secrets so their values never land in logs.
Related terms
- audit policy — The Kubernetes file of ordered rules that decides which API requests are logged and at what level of detail.
- Kubernetes audit log — The Kubernetes API server's record of every request made to it: who asked, for what, and whether it was allowed.
- metadata — Data that describes other data, such as a file name, a creation time or a package version.
Taught in
- Windows Event Logs, Sysmon & Linux Auditd Telemetry — Security Operations & Threat Hunting (SOC)
- Detecting Persistence: Tasks, Registry & Services — Security Operations & Threat Hunting (SOC)