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).
修正方法
修正方法: ガイダンスまたは IaC パッチ
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