This rule ensures that IAM users are assigned to at least one group for proper access control.
Rule | IAM users should be in at least one group |
Framework | FedRAMP Moderate Revision 4 |
Severity | ✔ High |
Rule/Policy Description:
IAM users should be in at least one group to comply with FedRAMP Moderate Revision 4 for security and access control purposes. This rule ensures that users are assigned to appropriate groups, which helps streamline access management and enforce least privilege principles.
Troubleshooting Steps (if applicable):
If an IAM user is not assigned to any group, the following troubleshooting steps can be followed:
Necessary Code (if applicable):
This rule does not require specific code implementation. However, the following AWS CLI command can be used to assign an IAM user to a group:
aws iam add-user-to-group --user-name <IAM_USERNAME> --group-name <GROUP_NAME>
Replace
<IAM_USERNAME>
with the name of the IAM user to be assigned to a group, and <GROUP_NAME>
with the desired group name.Step-by-Step Guide for Remediation:
To ensure compliance with FedRAMP Moderate Revision 4, follow the step-by-step guide below to assign IAM users to at least one group:
By following these steps, all IAM users will be assigned to at least one group, aligning with FedRAMP Moderate Revision 4 requirements, and ensuring efficient access management and control.