STIGUI
V-242402CAT II — Medium severitySV-242402r960888_rule

The Kubernetes API Server must have an audit log path set.

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

Discussion

When Kubernetes is started, components and user services are started for auditing startup events, and events for components and services, it is important that auditing begin on startup. Within Kubernetes, audit data for all components is generated by the API server. To enable auditing to begin, an audit policy must be defined for the events and the information to be stored with each event. It is also necessary to give a secure location where the audit logs are to be stored. If an audit log path is not specified, all audit data is sent to studio.

Check

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

If the "--audit-log-path" is not set, 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-path" to a secure location for the audit logs to be written.

Note: If the API server is running as a Pod, then the manifest will also need to be updated to mount the host system filesystem where the audit log file is to be written.

Identifiers

Group ID
V-242402
Group title
SRG-APP-000092-CTR-000165
Rule ID
SV-242402r960888_rule
Check ID
C-45677r927100_chk
Fix ID
F-45635r927101_fix