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

The Kubernetes API Server audit log retention must be set.

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

Discussion

The Kubernetes API Server must set enough storage to retain logs for monitoring suspicious activity and system misconfiguration, and provide evidence for Cyber Security Investigations.

Check

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

If the setting "audit-log-maxage" is not set in the Kubernetes API Server manifest file or it is set less than "30", 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-maxage" to a minimum of "30".

Identifiers

Group ID
V-242464
Group title
SRG-APP-000516-CTR-001335
Rule ID
SV-242464r961863_rule
Check ID
C-45739r863931_chk
Fix ID
F-45697r863932_fix