TMAegisBeta
More rules for openshift

Red Hat OpenShift

TMA-OPENSHIFT-1.2.5

Ensure that the --authorization-mode argument is not set to AlwaysAllow

CriticalLevel 1Manual reviewopenshift

Description

Do not always authorize 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.

It is not possible to configure an OpenShift cluster to allow all requests. OpenShift is configured at bootstrap time to use RBAC to authorize requests. Role-based access control (RBAC) objects determine what actions a user is allowed to perform on what objects in an OpenShift cluster. Cluster administrators manage RBAC for the cluster. Project owners can manage RBAC for their individual OpenShift projects. The OpenShift API server configmap does not use the authorization-mode flag.

How it is fixed

Fix method: Guidance or infrastructure patch

RBAC is always on and the OpenShift API server does not use the values assigned to the flag authorization-mode.

Properties

Operating systems
Any
Tags
openshiftapi-server
Reference
CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 1.2.5 Ensure that the --authorization-mode argument is not set to AlwaysAllow