TMAegis
eks-auto 관련 규칙 더 보기

TMA-EKS-AUTO-4.1.4

Minimize access to create pods

보통레벨 1수동 검토eks-auto

설명

The ability to create Pods in EKS Auto Mode is a high risk permission that should be limited to approved deployment and operational functions. In EKS, Pod creation can be granted through associated access policies or native Kubernetes RBAC, and policies such as AmazonEKSAdminPolicy and AmazonEKSEditPolicy include create access on pods. The benchmark marks this recommendation Manual.

점검 방법

감사 방식: 수동 검토

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

Begin by reviewing every path that can grant the ability to create Pods in EKS Auto Mode. Start with access entries and associated access policies, because Auto Mode uses the EKS API access-entry model, and AmazonEKSAdminPolicy and AmazonEKSEditPolicy include create access for pods. Then review Kubernetes RBAC, service accounts, and Pod security controls, because Pod creation can allow an identity to launch workloads under available service accounts and potentially exercise both Kubernetes and AWS permissions.

조치 방법

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

Begin with access entries and associated access policies, because AmazonEKSAdminPolicy and AmazonEKSEditPolicy include create access for pods, and access policies can be to the cluster or to specific namespaces. Then reduce unnecessary permissions in Kubernetes RBAC, service accounts, and Pod security controls so Pod creation is limited to approved deployment paths and the smallest practical workload boundary. • Remove or narrow access policy associations that allow Pod creation, and prefer namespace access over cluster scope wherever possible. If predefined access policies are still broader than required, use access entries with Kubernetes group assignments and custom RBAC to grant the exact permissions needed. • Replace broad RBAC permissions on pods, deployments, daemonsets, statefulsets, jobs, and cronjobs with the smallest Role or ClusterRole that supports the approved function.

속성

운영 체제
모두
태그
eks-autopoliciesrbac
참고 자료
CIS Amazon Elastic Kubernetes Service (EKS) Auto Mode Benchmark v1.0.0 - 4.1.4 Minimize access to create pods