Ensure that the apiserver file ownership is set to root:root Details Ensure that the `apiserver` file ownership is set to `root:root`. Rationale: The `apiserver` file controls various parameters that set...
Ensure that the apiserver file permissions are set to 644 or more restrictive Details Ensure that the `apiserver` file has permissions of `644` or more restrictive. Rationale: The `apiserver` file controls various parameters...
Ensure that the –audit-log-maxage argument is set to 30 or as appropriate Details Retain the logs for at least 30 days or as appropriate. Rationale: Retaining logs for at least 30 days...
Ensure that the –audit-log-maxbackup argument is set to 10 or as appropriate Details Retain 10 or an appropriate number of old log files. Rationale: Kubernetes automatically rotates the log files. Retaining old...
Ensure that the –audit-log-maxsize argument is set to 100 or as appropriate Details Rotate log files on reaching 100 MB or as appropriate. Rationale: Kubernetes automatically rotates the log files. Retaining old...
Ensure that the –audit-log-path argument is set as appropriate Details Enable auditing on kubernetes apiserver and set the desired audit log path as appropriate. Rationale: Auditing Kubernetes apiserver provides...
Ensure that the –authorization-mode argument is not set to AlwaysAllow Details Do not always authorize all requests. Rationale: The apiserver, by default, allows all requests. You should restrict this behavior...
Ensure that the –authorization-mode argument is set to Node Details Restrict kubelet nodes to reading only objects associated with them. Rationale: The `Node` authorization mode only allows kubelets to...
Ensure that the –basic-auth-file argument is not set Details Do not use basic authentication. Rationale: Basic authentication uses plaintext credentials for authentication. Currently, the basic authentication credentials last...
Ensure that the –client-ca-file argument is set as appropriate Details Setup TLS connection on the API server. Rationale: API server communication contains sensitive parameters that should remain encrypted in...