TMAegis베타
openshift 관련 규칙 더 보기

Red Hat OpenShift

TMA-OPENSHIFT-5.1.2

Minimize access to secrets

높음레벨 1수동 검토openshift

설명

The Kubernetes API stores secrets, which may be service account tokens for the Kubernetes API or credentials used by workloads in the cluster. Access to these secrets should be restricted to the smallest possible group of users to reduce the risk of privilege escalation. The benchmark marks this recommendation Manual.

점검 방법

감사 방식: 수동 검토

이 권장 사항은 자동으로 점검할 수 없습니다. --include-manual 옵션을 전달하면 스캔 결과에 이 지침과 함께 표시됩니다.

Review the users who have get, list or watch access to secrets objects in the Kubernetes API. Executing the command below will return a list of users and groups who are allowed to get secrets: oc adm policy who-can get secrets The following command returns the users and groups who are allowed to list secrets: oc adm policy who-can list secrets The following command returns the users and groups who are allowed to watch secrets: oc adm policy who-can watch secrets

조치 방법

조치 방식: 가이드 또는 인프라 패치

Where possible, remove get, list and watch access to secret objects in the cluster.

속성

운영 체제
모두
태그
openshiftpoliciesrbacsecrets
참고 자료
CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 5.1.2 Minimize access to secrets