CNTR-K8-003290 - The Kubernetes API Server must be set to audit log max size.

Information

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.

Solution

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'.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Kubernetes_V2R2_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-242462r961863_rule, STIG-ID|CNTR-K8-003290, Vuln-ID|V-242462

Plugin: Unix

Control ID: fbbbb646684c3a2ac6e5985230a86dff3f7e6920da649b44f0be9272e26c43a1