TMAegisBeta
More rules for openshift

Red Hat OpenShift

TMA-OPENSHIFT-1.2.8

Ensure that the admission control plugin AlwaysAdmit is not set

MediumLevel 1Manual reviewopenshift

Description

Do not allow all requests. 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.

This controller is disabled by default in OpenShift and cannot be enabled. It has also been deprecated by the Kubernetes community as it behaves as if there were no controller. Use the following command to verify the configured admission controllers: oc -n openshift-kube-apiserver get configmap config -o json | jq -r '.data."config.yaml"' | jq '.apiServerArguments."enable-admission-plugins"' The output should not include AlwaysAdmit.

How it is fixed

Fix method: Guidance or infrastructure patch

None.

Properties

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