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

Red Hat OpenShift

TMA-OPENSHIFT-5.7.4

The default namespace should not be used

НискаНиво 2Ручни прегледopenshift

Опис

Kubernetes provides a default namespace, where objects are placed if no namespace is specified for them. Placing objects in this namespace makes application of RBAC and other controls more difficult. The benchmark marks this recommendation Manual.

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

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

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

In OpenShift, projects (namespaces) are used to group and isolate related objects. When a request is made to create a new project using the web console or oc new-project command, an endpoint in OpenShift Container Platform is used to provision the project according to a template, which can be customized. The cluster administrator can allow and configure how developers and service accounts can create, or self-provision, their own projects. Regular users do not have access to the default project.

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

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

Ensure that namespaces are created to allow for appropriate segregation of Kubernetes resources and that all new resources are created in a specific namespace.

Својства

Оперативни системи
Било који
Ознаке
openshiftpolicies
Референца
CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 5.7.4 The default namespace should not be used