Guide to the Secure Configuration of Red Hat OpenShift Container Platform 4
Rules, Groups, and Values defined within the XCCDF Benchmark
-
Ensure Eviction threshold Settings Are Set - evictionSoft: nodefs.inodesFree
<p>Two types of garbage collection are performed on an OpenShift Container Platform node:</p> <ul> <li...Rule Medium Severity -
Ensure Eviction threshold Settings Are Set - evictionSoft: nodefs.inodesFree
<p>Two types of garbage collection are performed on an OpenShift Container Platform node:</p> <ul> <li...Rule Medium Severity -
kubelet - Ensure that the --read-only-port is secured
Disable the read-only port.Rule Medium Severity -
kubelet - Ensure that the --read-only-port is secured
Disable the read-only port.Rule Medium Severity -
kubelet - Ensure that the --read-only-port is secured
Disable the read-only port.Rule Medium Severity -
kubelet - Ensure that the --read-only-port is secured
Disable the read-only port.Rule Medium Severity -
Ensure that Audit Log Errors Emit Alerts
<p> OpenShift audit works at the API server level, logging all requests coming to the server. However, if API server instance is unable to write er...Rule High Severity -
Ensure that Audit Log Forwarding Uses TLS
<p> OpenShift audit works at the API server level, logging all requests coming to the server. Audit is on by default and the best pr...Rule Medium Severity -
Ensure that the cluster's audit profile is properly set
<p> OpenShift can audit the details of requests made to the API server through the standard Kubernetes audit capabilities. </p> ...Rule Medium Severity -
Ensure that OpenShift Logging Operator is scanning the cluster
OpenShift Logging Operator provides ability to aggregate all the logs from the OpenShift Container Platform cluster, such as node system audit logs...Rule Medium Severity -
Record Access Events to Kubernetes Audit Log Directory
The audit system should collect access events to read the Kubernetes audit log directory. The following audit rule will assure that access to audit...Rule Medium Severity -
Record Access Events to OAuth Audit Log Directory
The audit system should collect access events to read the OAuth audit log directory. The following audit rule will assure that access to audit log ...Rule Medium Severity -
Record Access Events to OpenShift Audit Log Directory
The audit system should collect access events to read the OpenShift audit log directory. The following audit rule will assure that access to audit ...Rule Medium Severity -
The Kubernetes Audit Logs Directory Must Have Mode 0700
To properly set the permissions of/var/log/kube-apiserver/
, run the command:$ sudo chmod 0700 /var/log/kube-apiserver/
Rule Medium Severity -
The OAuth Audit Logs Directory Must Have Mode 0700
To properly set the permissions of/var/log/oauth-apiserver/
, run the command:$ sudo chmod 0700 /var/log/oauth-apiserver/
Rule Medium Severity -
The OpenShift Audit Logs Directory Must Have Mode 0700
To properly set the permissions of <code>/var/log/openshift-apiserver/</code>, run the command: <pre>$ sudo chmod 0700 /var/log/openshift-apiserve...Rule Medium Severity -
Kubernetes Audit Logs Must Be Owned By Root
All audit logs must be owned by root user and group. By default, the path for the Kubernetes audit log is <pre>/var/log/kube-apiserver/</pre>. To ...Rule Medium Severity -
OAuth Audit Logs Must Be Owned By Root
All audit logs must be owned by root user and group. By default, the path for the OAuth audit log is <pre>/var/log/oauth-apiserver/</pre>. To prop...Rule Medium Severity -
OpenShift Audit Logs Must Be Owned By Root
All audit logs must be owned by root user and group. By default, the path for the OpenShift audit log is <pre>/var/log/openshift-apiserver/</pre>. ...Rule Medium Severity -
Kubernetes Audit Logs Must Have Mode 0600
To properly set the permissions of/var/log/kube-apiserver/.*
, run the command:$ sudo chmod 0600 /var/log/kube-apiserver/.*
Rule Medium Severity
Node 2
The content of the drawer really is up to you. It could have form fields, definition lists, text lists, labels, charts, progress bars, etc. Spacing recommendation is 24px margins. You can put tabs in here, and can also make the drawer scrollable.