Red Hat OpenShift
TMA-OPENSHIFT-1.3.1
Ensure that controller manager healthz endpoints are protected by RBAC
Description
Disable profiling, if not needed. The benchmark marks this recommendation Manual.
Méthode de vérification
Méthode d'audit: Revue manuelle
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.
Méthode de correction
Méthode de correction: Recommandation ou correctif d'infrastructure
Create OpenShift Controller Manager and the Kubernetes Controller Manager and protect it by RBAC
Propriétés
- Systèmes d'exploitation
- Tous
- Étiquettes
- openshiftcontroller-managerrbacnetwork
- Référence
- CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 1.3.1 Ensure that controller manager healthz endpoints are protected by RBAC