Ensure redundant resources are not used for AWS IAM Policy

LOW

Description

Redundant resource: The resource ARN(s) are redundant because they reference the same resource. Review the use of wildcards (*). Using wildcards is overly permissive and could lead access to sensitive resources.

Remediation

IAM Policies need to be changed. In AWS Console -

  1. Sign in to the AWS console and go to the IAM console.
  2. In the Navigation pane, select Policies.
  3. In the list of policies, select the policy to edit.
  4. Select the Permissions tab, and then choose Edit policy.
  5. On the review page, review the changes and click Save. In Terraform - Review the policy attached to the resource and ensure necessary changes are made.

Policy Details

Rule Reference ID: AC_AWS_0475
CSP: AWS
Remediation Available: Yes
Resource: aws_iam_policy
Resource Type: Policy