Skip to content

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
  • Verify Permissions on the OpenShift Node Service File

    To properly set the permissions of <code>/etc/systemd/system/kubelet.service</code>, run the command: <pre>$ sudo chmod 0644 /etc/systemd/system/k...
    Rule Medium Severity
  • OpenShift APIServer etcd encryption type

    OpenShift APIServer etcd encryption provider type to use for remediation. This variable is only applicable to remediations, and does not affect che...
    Value
  • kubelet - Enable Server Certificate Rotation

    To enable the kubelet to rotate server certificates, edit the kubelet configuration file <code>/etc/kubernetes/kubelet.conf</code> on the kubelet n...
    Rule Medium Severity
  • Verify Group Who Owns The etcd Member Pod Specification File

    To properly set the group owner of <code>/etc/kubernetes/manifests/etcd-pod.yaml</code>, run the command: <pre>$ sudo chgrp root /etc/kubernetes/m...
    Rule Medium Severity
  • Verify User Who Owns The Etcd Member Pod Specification File

    To properly set the owner of <code>/etc/kubernetes/manifests/etcd-pod.yaml</code>, run the command: <pre>$ sudo chown root /etc/kubernetes/manifes...
    Rule Medium Severity
  • Verify Permissions on the Etcd Member Pod Specification File

    To properly set the permissions of <code>/etc/kubernetes/manifests/etcd-pod.yaml</code>, run the command: <pre>$ sudo chmod 0600 /etc/kubernetes/m...
    Rule Medium Severity

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.

Capacity
Modules