Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Description : Admins in an account should be assumed by people. This rule detects IAM Roles that can be granted to EC2s and other services, that has admin privileges.

Description: This control ensures that there are no IAM policies exists that allows full administrative privileges. Providing full administrative privileges instead of restricting to the minimum set of permissions that the user is required to do exposes the resources to potentially unwanted actions. Policies that have a statement with "Effect": "Allow" with Admin privilege should be updated to allow limited actions. Best security practice recommend using least privilege or only the permission required to perform the task.

Remediation Steps:

Perform following to update IAM policy for IAM user :

  1. Login to the AWS Management Console at https://console.aws.amazon.com.

  2. Navigate to IAM console.

  3. In the navigation pane, choose Policies.

  4. Select the check box next to the customer managed policy reported or Filter menu and the search box to filter the list of policies.

  5. Choose the Permissions tab, and then choose Edit policy.

  6. Edit the policy Action statement to least privilege actions or specific action in place of wildcard(*).

  7. Edit the policy Resources statement to specific resources in place of wildcard(*).

  8. Choose Review Policy.

  9. Choose Save changes on review page.

Important:

Reference: