TMAegisBeta
More rules for openshift

Red Hat OpenShift

TMA-OPENSHIFT-1.2.12

Ensure that the admission control plugin SecurityContextConstraint is set

MediumLevel 1Manual reviewopenshift

Description

Reject creating pods that do not match Pod Security Policies. The benchmark marks this recommendation Manual.

How it is checked

Audit method: Manual review

This recommendation cannot be checked automatically. A scan lists it with these instructions when you pass --include-manual.

OpenShift provides the same protection via the SecurityContextConstraints admission plugin, which is enabled by default. The PodSecurityPolicy admission control plugin is disabled by default as it is still beta and not yet supported with OpenShift. Security Context Constraints (SCCs) and Pod Security Policy cannot be used on the same cluster.

How it is fixed

Fix method: Guidance or infrastructure patch

Configure the SecurityContextConstraints admission controller.

Properties

Operating systems
Any
Tags
openshiftapi-server
Reference
CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 1.2.12 Ensure that the admission control plugin SecurityContextConstraint is set