CNTR-K8-000290 - User-managed resources must be created in dedicated namespaces.

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

Creating namespaces for user-managed resources is important when implementing Role-Based Access Controls (RBAC). RBAC allows for the authorization of users and helps support proper API server permissions separation and network micro segmentation. If user-managed resources are placed within the default namespaces, it becomes impossible to implement policies for RBAC permission, service account usage, network policies, and more.

NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.

Solution

Move any user-managed resources from the default, kube-public, and kube-node-lease namespaces to user namespaces.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Kubernetes_V1R10_STIG.zip

Item Details

References: CAT|I, CCI|CCI-000366, Rule-ID|SV-242383r879533_rule, STIG-ID|CNTR-K8-000290, Vuln-ID|V-242383

Plugin: Unix

Control ID: 12bfa5dbb21775695a8cb01d140d86ab55604ec0eb47ade7d85cc04f76f963b3