Check ID:
Provider: AWS
Service:
Severity: LOW
Categories:
Resource type:
iam_policy_attached_only_to_group_or_rolesProvider: AWS
Service:
iamSeverity: LOW
Categories:
identity-accessResource type:
AwsIamUserWhat this check verifies
IAM users have identity-based policies attached directly (managed or inline) instead of inheriting permissions via groups or roles.Risk
Directly attached user policies hinder centralized control and cause privilege creep. If a user is compromised, excessive rights enable data exposure, resource tampering, and lateral movement, harming confidentiality and integrity. Revocation is error-prone, weakening separation of duties and auditability.Recommendation
Assign permissions to groups (humans) and roles (workloads); avoid user-attached policies. Enforce least privilege, prefer federation and temporary credentials, and use tags or permissions boundaries to constrain scope. Review regularly to remove direct user policies and right-size access.Remediation
- Native IaC
- Dashboard steps
References
- https://docs.aws.amazon.com/securityhub/latest/userguide/iam-controls.html
- https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html
Where this check fires
This check runs on every scheduled scan against your AWS account. Findings appear at Cloud Security → Findings filterable byCheck ID = iam_policy_attached_only_to_group_or_roles. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to AWS checks