This rule specifies that IAM policies should not contain statements granting admin access.
Rule | IAM policy should not have statements with admin access |
Framework | NIST 800-53 Revision 5 |
Severity | ✔ High |
IAM Policy Restriction: No Admin Access for NIST 800-53 Revision 5
Description
This rule ensures that IAM policies within an organization's AWS environment do not contain statements granting admin access privileges in accordance with the NIST 800-53 Revision 5 security standard. Admin access provides full control over resources and can pose significant security risks if granted unnecessarily.
Troubleshooting Steps
If this rule is violated, there may be IAM policies in the environment that grant admin access to certain users or roles. To identify and remediate the issue, follow these steps:
Necessary Code
There is no specific code associated with this rule. However, the following AWS CLI commands can help identify and update IAM policies:
To list all IAM policies:
aws iam list-policies
To get the details of a specific policy:
aws iam get-policy --policy-arn <policy-arn>
To update an IAM policy:
aws iam update-policy --policy-arn <policy-arn> --policy-documents <new-policy-document>
Remediation Steps
Follow these steps to remediate the issue and ensure IAM policies do not contain statements with admin access:
Additional Considerations
By adhering to this policy and promptly resolving any violations, organizations can enhance the security of their AWS environment and comply with the NIST 800-53 Revision 5 standard.