TMAegis베타
openshift 관련 규칙 더 보기

Red Hat OpenShift

TMA-OPENSHIFT-5.1.3

Minimize wildcard use in Roles and ClusterRoles

보통레벨 1수동 검토openshift

설명

Kubernetes Roles and ClusterRoles provide access to resources based on sets of objects and actions that can be taken on those objects. It is possible to set either of these to be the wildcard "*" which matches all items. Use of wildcards is not optimal from a security perspective as it may allow for inadvertent access to be granted when new resources are added to the Kubernetes API either as CRDs or in later versions of the product. The benchmark marks this recommendation Manual.

점검 방법

감사 방식: 수동 검토

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

Run the command below to describe each cluster role and inspect it for wildcard usage: oc describe clusterrole Run the command below to describe each role and inspect it for wildcard usage: oc describe role -A

조치 방법

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

Where possible replace any use of wildcards in clusterroles and roles with specific objects or actions.

속성

운영 체제
모두
태그
openshiftpoliciesrbac
참고 자료
CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 5.1.3 Minimize wildcard use in Roles and ClusterRoles