TMAegisБета
Више правила за openshift

Red Hat OpenShift

TMA-OPENSHIFT-5.1.4

Minimize access to create pods

СредњаНиво 1Ручни прегледopenshift

Опис

The ability to create pods in a namespace can provide a number of opportunities for privilege escalation, such as assigning privileged service accounts to these pods or mounting hostPaths with access to sensitive data (unless Pod Security Policies are implemented to restrict this access) As such, access to create new pods should be restricted to the smallest possible group of users. The benchmark marks this recommendation Manual.

Како се проверава

Метод провере: Ручни преглед

Ова препорука се не може проверити аутоматски. Скенирање је наводи са овим упутствима када проследите --include-manual.

Review the users who have create access to pod objects in the Kubernetes API with the following command: oc adm policy who-can create pod

Како се исправља

Метод исправке: Смерница или закрпа инфраструктуре

Where possible, remove create access to pod objects in the cluster.

Својства

Оперативни системи
Било који
Ознаке
openshiftpoliciesrbac
Референца
CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 5.1.4 Minimize access to create pods