IAM policies should not use 'Effect: Allow' with 'NotAction'

이 페이지는 아직 한국어로 제공되지 않으며 번역 작업 중입니다. 번역에 관한 질문이나 의견이 있으시면 언제든지 저희에게 연락해 주십시오.

Description

IAM policies using ‘Effect: Allow’ with ‘NotAction’ permits all actions except those explicitly denied, which can lead to unintended privilege escalation and broader access than intended. Instead, explicit permissions should be defined to enforce the principle of least privilege, ensuring users have only the access necessary for their roles.

Remediation

From the console

See the IAM JSON Policy Elements: NotAction documentation for guidance on how to modify policies. Replace ‘NotAction’ with specific actions that should be allowed and ensure your policies adhere to the principle of least privilege.

PREVIEWING: esther/docs-9478-fix-split-after-example