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 Permissions on the OpenShift Admin Kubeconfig File

    To properly set the permissions of /etc/kubernetes/kubeconfig, run the command:
    $ sudo chmod 0600 /etc/kubernetes/kubeconfig
    Rule Medium Severity
  • Verify Permissions on the OpenShift Multus Container Network Interface Plugin Files

    To properly set the permissions of /var/run/multus/cni/net.d/*, run the command:
    $ sudo chmod 0644 /var/run/multus/cni/net.d/*
    Rule Medium Severity
  • Verify Permissions on the OpenShift PKI Certificate Files

    To properly set the permissions of <code>/etc/kubernetes/static-pod-resources/kube-*/secrets/*/tls.crt</code>, run the command: <pre>$ sudo chmod 0600 /etc/kubernetes/static-pod-resources/kube-*/s...
    Rule Medium Severity
  • Verify Permissions on the OpenShift PKI Private Key Files

    To properly set the permissions of /etc/kubernetes/static-pod-resources/*/*/*/*.key, run the command:
    $ sudo chmod 0600 /etc/kubernetes/static-pod-resources/*/*/*/*.key
    Rule Medium Severity
  • Verify Permissions on the OpenShift Open vSwitch Files

    To properly set the permissions of /etc/openvswitch/.*, run the command:
    $ sudo chmod 0644 /etc/openvswitch/.*
    Rule Medium Severity
  • Verify Permissions on the OVNKubernetes socket

    To properly set the permissions of /run/ovn-kubernetes/cni/ovn-cni-server.sock, run the command:
    $ sudo chmod 0600 /run/ovn-kubernetes/cni/ovn-cni-server.sock
    Rule Medium Severity
  • Verify Permissions on the OVNKubernetes DB files

    To properly set the permissions of /var/lib/ovn/etc/*.db, run the command:
    $ sudo chmod 0640 /var/lib/ovn/etc/*.db
    Rule Medium Severity
  • Verify Permissions on the Open vSwitch Configuration Database

    To properly set the permissions of /etc/openvswitch/conf.db, run the command:
    $ sudo chmod 0640 /etc/openvswitch/conf.db
    Rule Medium Severity
  • OpenShift API Server

    This section contains recommendations for openshift-apiserver configuration.
    Group
  • Verify Permissions on the Open vSwitch Process ID File

    To properly set the permissions of /var/run/openvswitch/ovs-vswitchd.pid, run the command:
    $ sudo chmod 0644 /var/run/openvswitch/ovs-vswitchd.pid
    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