CertGrid CertGrid
Concepts·Kubernetes and Cloud Native Security Associate

Audit Logging and Cluster Records

Audit logging is a Domain 3 competency and this cluster has none - which makes it a good place to measure the gap precisely. This guide establishes what IS recorded, how long it survives, and why the apiserver's own log is not an audit trail.

Security Fundamentals Guide 25 of 42 Intermediate

Written against the versions above. kubeadm sets no `--audit-policy-file` and no `--audit-log-path`, so auditing is off. `--event-ttl` is likewise unset, so events are retained for one hour.

The cka5001 cluster: one control plane and 3 schedulable workers, on Cilium.
Server NameIP AddressOSRolesCPURAMHDD
CKA5001192.168.0.41Ubuntu 26.04 LTSControl Plane Node (tainted NoSchedule)2 Core4 GB50 GB
CKA5001-NODE01192.168.0.42Ubuntu 26.04 LTSWorker Node2 Core4 GB50 GB
CKA5001-NODE02192.168.0.43Ubuntu 26.04 LTSWorker Node2 Core4 GB50 GB
CKA5001-NODE03192.168.0.44Ubuntu 26.04 LTSWorker Node2 Core4 GB50 GB

Before you start

  1. Events, which are not an audit trail

  2. How long they last, and what is not configured

  3. Why the apiserver's own log is not the answer

Official sources