TMA-OPENSHIFT-1.3.1
Ensure that controller manager healthz endpoints are protected by RBAC
Descripción
Disable profiling, if not needed. The benchmark marks this recommendation Manual.
Cómo se verifica
Método de auditoría: Revisión manual
Esta recomendación no se puede verificar automáticamente. Un escaneo la lista con estas instrucciones cuando se pasa --include-manual.
By default, the Controller Manager operator exposes metrics via the metrics service. Profiling data is sent to healthzPort, the port of the localhost healthz endpoint. Changing this value may disrupt components that monitor the kubelet health. To ensure the collected data is not exploited, profiling endpoints are secured via RBAC (see cluster-debugger role). By default, the profiling endpoints are accessible only by users bound to cluster-admin or cluster-debugger role. Profiling can not be disabled.
Cómo se corrige
Método de corrección: Guía o parche de infraestructura
Create OpenShift Controller Manager and the Kubernetes Controller Manager and protect it by RBAC
Propiedades
- Sistemas operativos
- Cualquiera
- Etiquetas
- openshiftcontroller-managerrbacnetwork
- Referencia
- CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 1.3.1 Ensure that controller manager healthz endpoints are protected by RBAC