Red Hat OpenShift
TMA-OPENSHIFT-1.2.10
Ensure that the admission control plugin ServiceAccount is set
MediumLevel 1Manual reviewopenshift
Description
Automate service accounts management. 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.
The ServiceAccount admission control plugin is enabled by default. Every service account has an associated user name that can be granted roles, just like a regular user. The user name for each service account is derived from its project and the name of the service account. Service accounts are required in each project to run builds, deployments, and other pods. The default service accounts that are automatically created for each project are isolated by the project namespace.
How it is fixed
Fix method: Guidance or infrastructure patch
Configure the ServiceAccount admission controller.
Properties
- Operating systems
- Any
- Tags
- openshiftapi-server
- Reference
- CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 1.2.10 Ensure that the admission control plugin ServiceAccount is set