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

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_V2R2_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|I, CCI|CCI-000366, Rule-ID|SV-242383r960801_rule, STIG-ID|CNTR-K8-000290, Vuln-ID|V-242383

Plugin: Unix

Control ID: 45b7e1b9ee4efa592cbaae34812668473053ed563e86d6703edb0782f9ba3ea5