
AWS Identity and Access Management (IAM) is a core service that enables you to manage access to your AWS resources. However, managing access can be challenging, especially when you have multiple users, roles, policies, and permissions across your AWS accounts and organization.
How do you ensure that you are granting the right level of access to the right entities, and not exposing your resources to unauthorized or unintended access?
This is where AWS IAM Access Analyzer comes in. IAM Access Analyzer is a security feature that helps you identify and remediate any access issues in your AWS environment. It does so by analyzing the resource-based policies that you apply to your AWS resources, such as Amazon S3 buckets, IAM roles, AWS KMS keys, AWS Lambda functions, and Amazon SQS queues.
In this blog post, we will show you how to use IAM Access Analyzer to create an analyzer for unused access findings and how to review and resolve the findings to clean up your access permissions. By doing so, you can enhance the security of your cloud infrastructure and ensure compliance with your security standards.
To create an analyzer for unused access findings, follow these steps:
With Power Automate, you can:
1. Navigate to the IAM console dashboard.
2. Select “Access reports” on the left side of the navigation panel.
3. Choose “Access Analyzer.”
4. Click “Create analyzer.”
As you can see in the below image:
5. Enter a name for your analyzer, such as “Unused Access Analyzer”.
6. Select the type of analyzer you want to create. For this example, we will choose “Unused access findings”.
7. Specify the tracking period for your analyzer. This is the period that IAM Access Analyzer will use to determine if a user or role has used a permission or not. For example, if you select a tracking period of 90 days (about 3 months), IAM Access Analyzer will highlight the users and roles that have not used a permission in the last 90 days (about 3 months). You can choose from 30, 60, or 90 days (about 3 months), or enter a custom value between 1 and 365 days (about 12 months).
8. Click “Create analyzer.”
By following the above steps, you can successfully create the IAM Analyzer.
After you create an analyzer for unused access findings, IAM Access Analyzer will start scanning your IAM users and roles and generate findings for any unused permissions. You can view the findings on the IAM Access Analyzer dashboard, or on the IAM console under “Users” or “Roles”.
1. On the IAM Access Analyzer dashboard, click on the “Unused access findings” tab.
2. You will see a list of findings for each user and role that has unused permissions. You can filter the findings by resource type, resource name, last accessed date, or finding status.
3. Click on a finding to see the details, such as the resource name, the policy name, the policy statement, the permission, and the last accessed date.
4. To resolve a finding, you have two options:
5. After you choose an option, IAM Access Analyzer will show you the proposed policy change and ask you to confirm. Review the policy change and click “Apply changes”.
6. IAM Access Analyzer will apply the policy change and mark the finding as “Resolved”. You can also mark a finding as “Resolved” manually if you have made the policy change outside of IAM Access Analyzer.
The following image shows the steps to review and resolve unused access findings.
IAM Access Analyzer is a powerful tool that helps you improve the security and compliance of your AWS environment by identifying and resolving any access issues. By using IAM Access Analyzer to create an analyzer for unused access findings, you can easily find and clean up any permissions that are not used by your IAM users and roles. This way, you can reduce the attack surface and the potential impact of a compromised credential and follow the principle of least privilege.
Services
Industries
Resources
Company
Government (Contracts)
Futran Solutions is an Equal Opportunity Employer
We do not discriminate based on race, color, religion, sex, national origin, age, disability, veteran status, or any other legally protected status.