Ensure that all your Amazon IAM groups are using managed policies (AWS-managed and customer-managed policies) instead of inline policies (embedded policies) to have better control over the access permissions within your AWS cloud account.
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.
Defining access permissions for your Amazon 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 assignments.
Audit
To determine if your Amazon IAM groups have any inline policies attached, perform the following operations:
Remediation / Resolution
To reconfigure your IAM group permissions and replace any inline policies with managed policies, perform the following operations:
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
- create-policy
- attach-group-policy
- delete-group-policy
- AWS Blog(s)
- An Easier Way to Manage Your Policies
- Terraform Documentation
- AWS Provider
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:
IAM Group With Inline Policies
Risk Level: Low