Cloud Defense Logo

Products

Solutions

Company

Book A Live Demo

IAM Users Should Be in at Least One Group Rule

This rule ensures that IAM users are assigned to at least one group for proper access control.

RuleIAM users should be in at least one group
FrameworkFedRAMP Low Revision 4
Severity
High

Rule Description:

The rule states that all IAM (Identity and Access Management) users should be assigned to at least one group in compliance with the FedRAMP (Federal Risk and Authorization Management Program) Low Revision 4 standards. This requirement ensures proper management and control over user access rights within the AWS (Amazon Web Services) environment, enhancing security and adhering to regulatory guidelines.

Troubleshooting Steps:

If any IAM user is not assigned to a group, follow the steps below to troubleshoot and address the issue:

  1. 1.
    Identify the IAM user lacking group assignment.
  2. 2.
    Access the AWS Management Console.
  3. 3.
    Navigate to the IAM service.
  4. 4.
    Select "Users" from the left-hand navigation menu.
  5. 5.
    Locate and click on the specific IAM user in question.
  6. 6.
    Ensure that the user is not already a member of any groups. If a group is listed, proceed to check the group's permissions and ensure it complies with the FedRAMP Low Revision 4 requirements.
  7. 7.
    If the user is not a member of any group, continue to the next step.

Necessary Code:

There is no specific code required to address this rule. However, the AWS Command-Line Interface (CLI) can be used to manage IAM users and groups if preferred. Here are the relevant commands for reference:

To list IAM users:

aws iam list-users

To list IAM groups:

aws iam list-groups

To add an IAM user to a group:

aws iam add-user-to-group --user-name <user-name> --group-name <group-name>

Remediation Steps:

To ensure compliance with the rule for IAM users in FedRAMP Low Revision 4, follow the steps below:

  1. 1.
    Identify the IAM user that requires group assignment.
  2. 2.
    Access the AWS Management Console.
  3. 3.
    Navigate to the IAM service.
  4. 4.
    Select "Groups" from the left-hand navigation menu.
  5. 5.
    Create a new group or select an existing group that aligns with the user's permissions and privileges.
  6. 6.
    Once in the group details page, click on the "Add users to group" button.
  7. 7.
    Search and select the IAM user that needs to be added to the group.
  8. 8.
    Review the group's permissions and ensure they comply with the FedRAMP Low Revision 4 requirements.
  9. 9.
    Click on the "Add users" button to finalize the group assignment.
  10. 10.
    Repeat these steps for any additional IAM users who need to be assigned to a group.

By following these steps, all IAM users will be in at least one group, aligning with the FedRAMP Low Revision 4 standards and maintaining proper access control within the AWS environment.

Is your System Free of Underlying Vulnerabilities?
Find Out Now