Check: CNTR-K8-003310
Kubernetes STIG:
CNTR-K8-003310
(in versions v1 r11 through v1 r7)
Title
The Kubernetes API Server audit log retention must be set. (Cat II impact)
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 Content
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 Text
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".
Additional Identifiers
Rule ID: SV-242464r879887_rule
Vulnerability ID: V-242464
Group Title: SRG-APP-000516-CTR-001335
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000366 |
The organization implements the security configuration settings. |
Controls
Number | Title |
---|---|
CM-6 |
Configuration Settings |