TMAegis
openshift için daha fazla kural

Red Hat OpenShift

TMA-OPENSHIFT-1.2.17

Ensure that the healthz endpoint is protected by RBAC

YüksekDüzey 1Manuel incelemeopenshift

Açıklama

Disable profiling, if not needed. The benchmark marks this recommendation Manual.

Nasıl denetlenir

Denetim yöntemi: Manuel inceleme

Bu öneri otomatik olarak denetlenemez. --include-manual parametresini verdiğinizde tarama bunu bu talimatlarla birlikte listeler.

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).

Nasıl düzeltilir

Düzeltme yöntemi: Kılavuz veya altyapı yaması

Create an RBAC service account

Özellikler

İşletim sistemleri
Herhangi biri
Etiketler
openshiftapi-serverrbacnetwork
Referans
CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 1.2.17 Ensure that the healthz endpoint is protected by RBAC