1.1.15 Ensure that the --audit-log-path argument is set as appropriate

Information

Enable auditing on the Kubernetes API Server and set the desired audit log path as appropriate.

Rationale:

Auditing the Kubernetes API Server provides a security-relevant chronological set of records documenting the sequence of activities that have affected system by individual users, administrators or other components of the system. Even though currently, Kubernetes provides only basic audit capabilities, it should be enabled. You can enable it by setting an appropriate audit log path.

Solution

Edit the API server pod specification file '/etc/kubernetes/manifests/kube-apiserver.yaml' on the master node and set the '--audit-log-path' parameter to a suitable path and file where you would like audit logs to be written, for example:

--audit-log-path=/var/log/apiserver/audit.log

Impact:

None

See Also

https://workbench.cisecurity.org/files/2125

Item Details

Category: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-12c., CSCv6|6.2

Plugin: Unix

Control ID: 832429eac443a85d1da03d05eb5a928366289e8a821c25f361ef2cbd16bb7572