Remediation
From Consoleβ
Perform the following to enable IAM Access analyzer for IAM policies:
- Open the IAM console at https://console.aws.amazon.com/iam/.
- Choose
Access analyzer
. - Choose
Create analyzer
. - On the
Create analyzer
page, confirm that theRegion
displayed is the Region where you want to enable Access Analyzer. - Enter a name for the analyzer. (Optional as it will generate a name for you automatically).
- Add any tags that you want to apply to the analyzer. (Optional).
- Choose
Create Analyzer
. - Repeat these step for each active region.
From Command Lineβ
Run the following command:
aws accessanalyzer create-analyzer --analyzer-name <NAME> --type <ACCOUNT|ORGANIZATION>
Repeat this command above for each active region.
Note: The IAM Access Analyzer is successfully configured only when the account you use has the necessary permissions.