CNTR-K8-003280 - Kubernetes API Server audit logs must be enabled.

Information

Kubernetes API Server validates and configures pods and services for the API object. The REST operation provides frontend functionality to the cluster share state. Enabling audit logs provides a way to monitor and identify security risk events or misuse of information. Audit logs are necessary to provide evidence in the case the Kubernetes API Server is compromised requiring a Cyber Security Investigation.

Solution

Edit the Kubernetes API Server manifest file in the /etc/kubernetes/manifests directory on the Kubernetes Control Plane. Set the argument '--audit-policy-file' to 'log file directory'.

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

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

Plugin: Unix

Control ID: 331f0b1da84f02cdfa7d80a24e8082ee35bf68740d96f39e057ae8e7d6a73d10