Red Hat OpenShift
TMA-OPENSHIFT-1.2.17
Ensure that the healthz endpoint is protected by RBAC
높음레벨 1수동 검토openshift
설명
Disable profiling, if not needed. The benchmark marks this recommendation Manual.
점검 방법
감사 방식: 수동 검토
이 권장 사항은 자동으로 점검할 수 없습니다. --include-manual 옵션을 전달하면 스캔 결과에 이 지침과 함께 표시됩니다.
Profiling is enabled by default in OpenShift. The API server operators expose Prometheus 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. The default port value is 10248, and the healthz BindAddress is 127.0.0.1 To ensure the collected data is not exploited, profiling endpoints are exposed at each master port and secured via RBAC (see cluster-debugger role).
조치 방법
조치 방식: 가이드 또는 인프라 패치
Create an RBAC service account
속성
- 운영 체제
- 모두
- 태그
- openshiftapi-serverrbacnetwork
- 참고 자료
- CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 1.2.17 Ensure that the healthz endpoint is protected by RBAC