3.2.1 Ensure that a minimal audit policy is created

Information

Kubernetes can audit the details of requests made to the API server. The --audit-policy-file flag must be set for this logging to be enabled.

Logging is an important detective control for all systems, to detect potential unauthorised access.

Solution

Create an audit policy file for your cluster.

Impact:

Audit logs will be created on the master nodes, which will consume disk space. Care should be taken to avoid generating too large volumes of log information as this could impact the available of the cluster nodes.

See Also

https://workbench.cisecurity.org/benchmarks/17568

Item Details

Category: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-2, 800-53|AU-7, 800-53|AU-12, CSCv7|6.2

Plugin: Unix

Control ID: af966b041097d28e4cb30d4b17622ed90ff5f43c91942a827e5b4fcb92f44134