Ensure that all the IAM groups within your AWS account are currently used and have at least one user attached. Otherwise, remove any orphaned (unused) IAM groups in order to prevent attaching unauthorized users.
This rule can help you with the following compliance standards:
- APRA
- MAS
- NIST4
For further details on compliance standards supported by Conformity, see here.
This rule can help you work with the AWS Well-Architected Framework.
This rule resolution is part of the Conformity Security & Compliance tool for AWS.
Removing orphaned and unused IAM groups eliminates the risk that a forgotten group will be used accidentally to allow unauthorized users to access AWS resources.
Audit
To determine if each IAM group available in your AWS account has at least one user attached, perform the following:
Remediation / Resolution
To remove all your unused IAM groups, perform the following:
References
- AWS Documentation
- AWS Identity and Access Management FAQs
- IAM Best Practices
- AWS Security Audit Guidelines
- Listing IAM Groups
- Deleting an IAM Group
- AWS Command Line Interface (CLI) Documentation
- iam
- list-groups
- get-group
- delete-group
Unlock the Remediation Steps
Free 30-day Trial
Automatically audit your configurations with Conformity
and gain access to our cloud security platform.

You are auditing:
Unused IAM Group
Risk level: Low