5.7.4 The default namespace should not be used - BuildConfigs

Information

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.

Rationale:

Resources in a Kubernetes cluster should be segregated by namespace, to allow for security controls to be applied at that level and to make it easier to manage resources.

Impact:

None

Solution

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

Default Value:

Unless a namespace is specific on object creation, the default namespace will be used

See Also

https://workbench.cisecurity.org/benchmarks/14166

Item Details

Category: SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|SC-20, 800-53|SC-21, 800-53|SC-22, CSCv7|5

Plugin: OpenShift

Control ID: 97a84d8b9e1ac2c0342b6461c76d49700c1ee59bb03f41efe5b3efa1f8e27f94