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

Item Details

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

Plugin: Unix

Control ID: 70d32ab1caf0ffb10e01af9311d4daa4019a3e699406d0def5882b9174cf5786