STIGUI
V-242462CAT II — Medium severitySV-242462r961863_rule

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

Rule version CNTR-K8-003290 · STIG v2 · 2026-02-12

Discussion

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.

Check

Change to the /etc/kubernetes/manifests/ directory on the Kubernetes Control Plane. Run the command: grep -i audit-log-maxsize *

If the setting "--audit-log-maxsize" is not set in the Kubernetes API Server manifest file or it is set to less than "100", this is a finding.

Fix

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

Identifiers

Group ID
V-242462
Group title
SRG-APP-000516-CTR-001335
Rule ID
SV-242462r961863_rule
Check ID
C-45737r927135_chk
Fix ID
F-45695r927136_fix