A short AWS IAM policy can still hand out far too much. Five patterns pass review because they look tidy: star grants, role passing, NotAction and more.
A policy review usually fails in a quiet way. Nobody approves a statement that says "give this role everything", but plenty of reviewers approve a statement that looks small, uses a familiar action name, or is shorter than the policy it replaces. The result is a policy that passes the glance test and still lets a holder do much more than its job requires. This guide walks through five kinds of grant in AWS Identity and Access Management that get through review again and again: broad star grants, passing any role, an allow with an exclusion list, a public principal without limits, and actions that let the holder change its own rights. For each one it says what to look for, what the narrow…
Read the full report on AISkills402: https://aiskills402.com/blog/iam-policy-wide-permissions?utm_source=devto&utm_medium=social
Top comments (0)