TMA-OPENSHIFT-1.3.1
Ensure that controller manager healthz endpoints are protected by RBAC
Opis
Disable profiling, if not needed. The benchmark marks this recommendation Manual.
Kako se proverava
Metod provere: Ručni pregled
Ova preporuka se ne može proveriti automatski. Skeniranje je navodi sa ovim uputstvima kada prosledite --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.
Kako se ispravlja
Metod ispravke: Smernica ili zakrpa infrastrukture
Create OpenShift Controller Manager and the Kubernetes Controller Manager and protect it by RBAC
Svojstva
- Operativni sistemi
- Bilo koji
- Oznake
- openshiftcontroller-managerrbacnetwork
- Referenca
- CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 1.3.1 Ensure that controller manager healthz endpoints are protected by RBAC