Guide to the Secure Configuration of Red Hat OpenShift Container Platform 4
Rules, Groups, and Values defined within the XCCDF Benchmark
-
Verify Group Who Owns The Worker Kubeconfig File
To properly set the group owner of <code>/var/lib/kubelet/kubeconfig</code>, run the command: <pre>$ sudo chgrp root /var/lib/kubelet/kubeconfig</...Rule Medium Severity -
Verify Group Who Owns The OpenShift Node Service File
' To properly set the group owner of <code>/etc/systemd/system/kubelet.service</code>, run the command: <pre>$ sudo chgrp root /etc/systemd/sys...Rule Medium Severity -
Verify User Who Owns The Kubelet Configuration File
To properly set the owner of/var/lib/kubelet/config.json
, run the command:$ sudo chown root /var/lib/kubelet/config.json
Rule Medium Severity -
Verify User Who Owns The Kubelet Configuration File
To properly set the owner of/etc/kubernetes/kubelet.conf
, run the command:$ sudo chown root /etc/kubernetes/kubelet.conf
Rule Medium Severity -
Verify User Who Owns The Worker Proxy Kubeconfig File
To ensure the Kubernetes ConfigMap is mounted into the sdn daemonset pods with the correct ownership, make sure that the <code>sdn-config</code> Co...Rule Medium Severity -
Verify Permissions on The Kubelet Configuration File
To properly set the permissions of <code>/var/lib/kubelet/config.json</code>, run the command: <pre>$ sudo chmod 0600 /var/lib/kubelet/config.json...Rule Medium Severity -
Verify Permissions on The Kubelet Configuration File
To properly set the permissions of <code>/etc/kubernetes/kubelet.conf</code>, run the command: <pre>$ sudo chmod 0644 /etc/kubernetes/kubelet.conf...Rule Medium Severity -
Verify Permissions on the Worker Proxy Kubeconfig File
To ensure the Kubernetes ConfigMap is mounted into the sdn daemonset pods with the correct permissions, make sure that the <code>sdn-config</code> ...Rule Medium Severity -
Verify Permissions on the Worker Certificate Authority File
To properly set the permissions of <code>/etc/kubernetes/kubelet-ca.crt</code>, run the command: <pre>$ sudo chmod 0644 /etc/kubernetes/kubelet-ca...Rule Medium Severity -
Verify Permissions on the Worker Kubeconfig File
To properly set the permissions of <code>/var/lib/kubelet/kubeconfig</code>, run the command: <pre>$ sudo chmod 0600 /var/lib/kubelet/kubeconfig</...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.