PCI-DSS v4.0.0 Control Baseline for Red Hat OpenShift Container Platform 4
Rules and Groups employed by this XCCDF Profile
-
Ensure Eviction threshold Settings Are Set - evictionHard: nodefs.inodesFree
<p>Two types of garbage collection are performed on an OpenShift Container Platform node:</p> <ul> <li>Container garbage collection: Removes terminated ...Rule Medium Severity -
OpenShift - Logging Settings
Contains evaluations for the cluster's logging configuration settings.Group -
Record Access Events to Kubernetes Audit Log Directory
The audit system should collect access events to read the Kubernetes audit log directory. The following audit rule will assure that access to audit log directory are collected. <pre>-a always,exit ...Rule Medium Severity -
Record Access Events to OAuth Audit Log Directory
The audit system should collect access events to read the OAuth audit log directory. The following audit rule will assure that access to audit log directory are collected. <pre>-a always,exit -F di...Rule Medium Severity -
Record Access Events to OpenShift Audit Log Directory
The audit system should collect access events to read the OpenShift audit log directory. The following audit rule will assure that access to audit log directory are collected. <pre>-a always,exit -...Rule Medium Severity -
The Kubernetes Audit Logs Directory Must Have Mode 0700
To properly set the permissions of/var/log/kube-apiserver/
, run the command:$ sudo chmod 0700 /var/log/kube-apiserver/
Rule Medium Severity -
The OAuth Audit Logs Directory Must Have Mode 0700
To properly set the permissions of/var/log/oauth-apiserver/
, run the command:$ sudo chmod 0700 /var/log/oauth-apiserver/
Rule Medium Severity -
The OpenShift Audit Logs Directory Must Have Mode 0700
To properly set the permissions of/var/log/openshift-apiserver/
, run the command:$ sudo chmod 0700 /var/log/openshift-apiserver/
Rule Medium Severity -
Kubernetes Audit Logs Must Be Owned By Root
All audit logs must be owned by root user and group. By default, the path for the Kubernetes audit log is <pre>/var/log/kube-apiserver/</pre>. To properly set the owner of <code>/var/log/kube-apis...Rule Medium Severity -
OAuth Audit Logs Must Be Owned By Root
All audit logs must be owned by root user and group. By default, the path for the OAuth audit log is <pre>/var/log/oauth-apiserver/</pre>. To properly set the owner of <code>/var/log/oauth-apiserv...Rule Medium Severity -
OpenShift Audit Logs Must Be Owned By Root
All audit logs must be owned by root user and group. By default, the path for the OpenShift audit log is <pre>/var/log/openshift-apiserver/</pre>. To properly set the owner of <code>/var/log/opens...Rule Medium Severity -
Kubernetes Audit Logs Must Have Mode 0600
To properly set the permissions of/var/log/kube-apiserver/.*
, run the command:$ sudo chmod 0600 /var/log/kube-apiserver/.*
Rule Medium Severity -
OAuth Audit Logs Must Have Mode 0600
To properly set the permissions of/var/log/oauth-apiserver/.*
, run the command:$ sudo chmod 0600 /var/log/oauth-apiserver/.*
Rule Medium Severity -
OpenShift Audit Logs Must Have Mode 0600
To properly set the permissions of/var/log/openshift-apiserver/.*
, run the command:$ sudo chmod 0600 /var/log/openshift-apiserver/.*
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-kubeconfig/kubeconfig</code>, run the command: <pre>$ sudo...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 Member Pod Specification File
To properly set the group owner of/etc/kubernetes/manifests/etcd-pod.yaml
, run the command:$ sudo chgrp root /etc/kubernetes/manifests/etcd-pod.yaml
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.