Ensure that all your IAM groups are using managed policies (AWS and customer managed policies) instead of inline policies (embedded policies) to better control and manage the access permissions to your AWS account.
This rule can help you with the following compliance standards:
- APRA
- MAS
- NIST 800-53 (Rev. 4)
This rule can help you work with the AWS Well-Architected Framework
This rule resolution is part of the Cloud Conformity Security & Compliance tool for AWS
Defining access permissions for your IAM groups using managed policies can offer multiple benefits such as reusability, versioning and rollback, automatic updates, larger policy size and fine-grained control over your policies assignment.
Audit
To determine if your IAM groups have any inline policies attached, perform the following:
Remediation / Resolution
To update the IAM group access configuration and replace any inline policies with managed policies, you need perform the following:
References
- AWS Documentation
- AWS Identity and Access Management FAQs
- Managed Policies and Inline Policies
- Working with Managed Policies
- AWS Command Line Interface (CLI) Documentation
- iam
- list-groups
- list-group-policies
- get-group-policy
- delete-group-policy
- create-policy
- attach-group-policy
- AWS Blog(s)
- An Easier Way to Manage Your Policies
Unlock the Remediation Steps
Gain free unlimited access
to our full Knowledge Base
Over 750 rules & best practices
for and
Get started for FREE
You are auditing:
IAM Group With Inline Policies
Risk level: Medium