Skip to content

Guide to the Secure Configuration of Red Hat OpenShift Container Platform 4

Rules, Groups, and Values defined within the XCCDF Benchmark

  • OAuth Audit Logs Must Have Mode 0600

    To properly set the permissions of <code>/var/log/oauth-apiserver/.*</code>, run the command: <pre>$ sudo chmod 0600 /var/log/oauth-apiserver/.*</...
    Rule Medium Severity
  • OpenShift Audit Logs Must Have Mode 0600

    To properly set the permissions of <code>/var/log/openshift-apiserver/.*</code>, run the command: <pre>$ sudo chmod 0600 /var/log/openshift-apiser...
    Rule Medium Severity
  • Ensure /var/log/kube-apiserver Located On Separate Partition

    Kubernetes API server audit logs are stored in the <code>/var/log/kube-apiserver</code> directory. <p> Partitioning Red Hat CoreOS is a Day 1 opera...
    Rule Medium Severity
  • Ensure /var/log/oauth-apiserver Located On Separate Partition

    OpenShift OAuth server audit logs are stored in the <code>/var/log/oauth-apiserver</code> directory. <p> Partitioning Red Hat CoreOS is a Day 1 ope...
    Rule Medium Severity
  • Ensure /var/log/openshift-apiserver Located On Separate Partition

    Openshift API server audit logs are stored in the <code>/var/log/openshift-apiserver</code> directory. <p> Partitioning Red Hat CoreOS is a Day 1 o...
    Rule Medium Severity
  • OpenShift - Master Node Settings

    Contains evaluations for the master node configuration settings.
    Group
  • Verify Group Who Owns The OpenShift Container Network Interface Files

    To properly set the group owner of /etc/cni/net.d/*, run the command:
    $ sudo chgrp root /etc/cni/net.d/*
    Rule Medium Severity
  • Verify Group Who Owns The OpenShift Controller Manager Kubeconfig File

    To properly set the group owner of <code>/etc/kubernetes/static-pod-resources/kube-controller-manager-pod-*/configmaps/controller-manager-kubeconf...
    Rule Medium Severity
  • Verify Group Who Owns The Etcd Database Directory

    To properly set the group owner of /var/lib/etcd/member/, run the command:
    $ sudo chgrp root /var/lib/etcd/member/
    Rule Medium Severity
  • Verify Group Who Owns The Etcd Write-Ahead-Log Files

    To properly set the group owner of /var/lib/etcd/member/wal/*, run the command:
    $ sudo chgrp root /var/lib/etcd/member/wal/*
    Rule Medium Severity
  • Verify Group Who Owns The Etcd PKI Certificate Files

    To properly set the group owner of <code>/etc/kubernetes/static-pod-resources/*/*/*/*.crt</code>, run the command: <pre>$ sudo chgrp root /etc/kub...
    Rule Medium Severity
  • Verify Group Who Owns The OpenShift SDN Container Network Interface Plugin IP Address Allocations

    To properly set the group owner of <code>/var/lib/cni/networks/openshift-sdn/.*</code>, run the command: <pre>$ sudo chgrp root /var/lib/cni/netwo...
    Rule Medium Severity
  • Verify Group Who Owns The Kubernetes API Server Pod Specification File

    To properly set the group owner of <code>/etc/kubernetes/static-pod-resources/kube-apiserver-pod-*/kube-apiserver-pod.yaml</code>, run the command...
    Rule Medium Severity
  • Verify Group Who Owns The Kubernetes Controller Manager Pod Specification File

    To properly set the group owner of <code>/etc/kubernetes/static-pod-resources/kube-controller-manager-pod-*/kube-controller-manager-pod.yaml</code...
    Rule Medium Severity
  • Verify Group Who Owns The Kubernetes Scheduler Pod Specification File

    To properly set the group owner of <code>/etc/kubernetes/static-pod-resources/kube-scheduler-pod-*/kube-scheduler-pod.yaml</code>, run the command...
    Rule Medium Severity
  • Verify Group Who Owns The OpenShift Admin Kubeconfig File

    To properly set the group owner of /etc/kubernetes/kubeconfig, run the command:
    $ sudo chgrp root /etc/kubernetes/kubeconfig
    Rule Medium Severity
  • Verify Group Who Owns The OpenShift Admin Kubeconfig Files

    To properly set the group owner of <code>/etc/kubernetes/static-pod-resources/kube-apiserver-certs/secrets/node-kubeconfigs/*.kubeconfig</code>, r...
    Rule Medium Severity
  • Verify Group Who Owns The OpenShift Multus Container Network Interface Plugin Files

    To properly set the group owner of <code>/var/run/multus/cni/net.d/*</code>, run the command: <pre>$ sudo chgrp root /var/run/multus/cni/net.d/*</...
    Rule Medium Severity
  • Verify Group Who Owns The OpenShift PKI Certificate Files

    To properly set the group owner of <code>/etc/kubernetes/static-pod-resources/*/*/*/tls.crt</code>, run the command: <pre>$ sudo chgrp root /etc/k...
    Rule Medium Severity
  • Verify Group Who Owns The OpenShift PKI Private Key Files

    To properly set the group owner of <code>/etc/kubernetes/static-pod-resources/*/*/*/*.key</code>, run the command: <pre>$ sudo chgrp root /etc/kub...
    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