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 Kubernetes Scheduler Kubeconfig File
To properly set the group owner of <code>/etc/kubernetes/static-pod-resources/kube-scheduler-pod-*/configmaps/scheduler-kubeconfig/kubeconfig</code>, run the command: <pre>$ sudo chgrp root /etc/k...Rule Medium Severity -
Verify User Who Owns The OpenShift Container Network Interface Files
To properly set the owner of/etc/cni/net.d/*
, run the command:$ sudo chown root /etc/cni/net.d/*
Rule Medium Severity -
Verify User Who Owns The OpenShift Controller Manager Kubeconfig File
To properly set the owner of <code>/etc/kubernetes/static-pod-resources/kube-controller-manager-pod-*/configmaps/controller-manager-kubeconfig/kubeconfig</code>, run the command: <pre>$ sudo chown...Rule Medium Severity -
Verify User Who Owns The Etcd Database Directory
To properly set the owner of/var/lib/etcd/member/
, run the command:$ sudo chown root /var/lib/etcd/member/
Rule Medium Severity -
Verify User Who Owns The Etcd Write-Ahead-Log Files
To properly set the owner of/var/lib/etcd/member/wal/*
, run the command:$ sudo chown root /var/lib/etcd/member/wal/*
Rule Medium Severity -
Verify User Who Owns The Kubernetes API Server Pod Specification File
To properly set the owner of <code>/etc/kubernetes/static-pod-resources/kube-apiserver-pod-*/kube-apiserver-pod.yaml</code>, run the command: <pre>$ sudo chown root /etc/kubernetes/static-pod-reso...Rule Medium Severity -
Verify User Who Owns The Kubernetes Controller Manager Pod Specification File
To properly set the owner of <code>/etc/kubernetes/static-pod-resources/kube-controller-manager-pod-*/kube-controller-manager-pod.yaml</code>, run the command: <pre>$ sudo chown root /etc/kubernet...Rule Medium Severity -
Verify User Who Owns The Kubernetes Scheduler Pod Specification File
To properly set the owner of <code>/etc/kubernetes/static-pod-resources/kube-scheduler-pod-*/kube-scheduler-pod.yaml</code>, run the command: <pre>$ sudo chown root /etc/kubernetes/static-pod-reso...Rule Medium Severity -
Verify User Who Owns The OpenShift Admin Kubeconfig File
To properly set the owner of/etc/kubernetes/kubeconfig
, run the command:$ sudo chown root /etc/kubernetes/kubeconfig
Rule Medium Severity -
Verify User Who Owns The OpenShift Multus Container Network Interface Plugin Files
To properly set the owner of/var/run/multus/cni/net.d/*
, run the command:$ sudo chown root /var/run/multus/cni/net.d/*
Rule Medium Severity -
Verify User Who Owns The OpenShift PKI Certificate Files
To properly set the owner of/etc/kubernetes/static-pod-resources/*/*/*/tls.crt
, run the command:$ sudo chown root /etc/kubernetes/static-pod-resources/*/*/*/tls.crt
Rule Medium Severity -
Verify User Who Owns The OpenShift Open vSwitch Files
To properly set the owner of/etc/openvswitch/.*
, run the command:$ sudo chown root /etc/openvswitch/.*
Rule Medium Severity -
Verify User Who Owns The OVNKubernetes Socket
To properly set the owner of/run/ovn-kubernetes/cni/ovn-cni-server.sock
, run the command:$ sudo chown root /run/ovn-kubernetes/cni/ovn-cni-server.sock
Rule Medium Severity -
Verify Who Owns The OVNKubernetes DB files
To properly set the owner of/var/lib/ovn/etc/*.db
, run the command:$ sudo chown root /var/lib/ovn/etc/*.db
Rule Medium Severity -
Verify User Who Owns The Open vSwitch Configuration Database
To properly set the owner of/etc/openvswitch/conf.db
, run the command:$ sudo chown openvswitch /etc/openvswitch/conf.db
Rule Medium Severity -
Verify User Who Owns The Open vSwitch Configuration Database Lock
To properly set the owner of/etc/openvswitch/.conf.db.~lock~
, run the command:$ sudo chown openvswitch /etc/openvswitch/.conf.db.~lock~
Rule Medium Severity -
Verify User Who Owns The Open vSwitch Process ID File
To properly set the owner of/var/run/openvswitch/ovs-vswitchd.pid
, run the command:$ sudo chown openvswitch /var/run/openvswitch/ovs-vswitchd.pid
Rule Medium Severity -
Verify User Who Owns The Open vSwitch Persistent System ID
To properly set the owner of/etc/openvswitch/system-id.conf
, run the command:$ sudo chown openvswitch /etc/openvswitch/system-id.conf
Rule Medium Severity -
Verify User Who Owns The Open vSwitch Daemon PID File
To properly set the owner of/run/openvswitch/ovs-vswitchd.pid
, run the command:$ sudo chown openvswitch /run/openvswitch/ovs-vswitchd.pid
Rule Medium Severity -
Verify User Who Owns The Open vSwitch Database Server PID
To properly set the owner of/run/openvswitch/ovsdb-server.pid
, run the command:$ sudo chown openvswitch /run/openvswitch/ovsdb-server.pid
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.