Skip to content

The Kubernetes API Server must be set to audit log max size.

An XCCDF Rule

Description

The Kubernetes API Server must be set for enough storage to retain log information over the period required. When audit logs are large in size, the monitoring service for events becomes degraded. The function of the maximum log file size is to set these limits.

ID
SV-242462r961863_rule
Version
CNTR-K8-003290
Severity
Medium
References
Updated

Remediation Templates

A Manual Procedure

Edit the Kubernetes API Server manifest file in the /etc/kubernetes/manifests directory on the Kubernetes Control Plane. 

Set the value of "--audit-log-maxsize" to a minimum of "100".