# 1.20 Ensure That IAM Access Analyzer Is Enabled for All Regions (Automated)

- Source: https://support.icompaas.com/support/solutions/articles/62000233131-1-20-ensure-that-iam-access-analyzer-is-enabled-for-all-regions-automated-
- Section: [Solutions](https://support.icompaas.com/support/solutions) › [AWS CIS V.4 Level 1 Benchmarks](https://support.icompaas.com/support/solutions/62000112671) › [CIS Control 1](https://support.icompaas.com/support/solutions/folders/62000169194)
- Last updated: 2026-05-29
- Publisher: iCompaas, Inc. (https://www.icompaas.com)

### **Profile Applicability:**

**Level 1**

## **Description:**

IAM Access Analyzer is an AWS security tool that helps identify unintended access to AWS resources across IAM roles, S3 buckets, KMS keys, Lambda functions, and SQS queues. IAM Access Analyzer is region-specific, meaning analyzer instances must be enabled for each AWS region separately.

## Rationale:

-   Identifies IAM roles, S3 buckets, KMS keys, Lambda functions, and SQS queues that are shared with external accounts.
    
-   Provides continuous monitoring to detect misconfigurations.
    
-   Improves compliance with security policies and standards.
    

##  Impact:

-   Failing to enable IAM Access Analyzer in all active regions increases the risk of unauthorized access to AWS resources.
    
-   Access misconfigurations can go undetected without continuous monitoring.
    
-   Regulatory compliance may be affected, especially for standards like SOC 2, ISO 27001, and PCI DSS.
    

## Default Value:

By default:

-   IAM Access Analyzer is not enabled in AWS regions.
    
-   AWS does not automatically create analyzers; they must be manually created or scripted.
    

## Pre-Requisites:

1.  IAM Permissions Required:
    
    -   access-analyzer:CreateAnalyzer
        
    -   access-analyzer:ListAnalyzers
        
    -   access-analyzer:GetAnalyzer
        
    -   access-analyzer:ListFindings
        
2.  AWS CLI Installed (optional for automation).
    
3.  Ensure IAM Access Analyzer is enabled for all active AWS regions.
    

## Remediation:

### Test Plan:

## Using AWS Console

1.  Login to AWS Console as an IAM Administrator.
    
2.  Navigate to IAM Console → Click Access Analyzer.
    

                          ![](https://support.icompaas.com/assets/kb/53d0f6ce12db9672.png)

3.  Click Analyzers to check the list of existing analyzers
    
4.  Ensure at least one analyzer is present and status is set to "Active".
    
5.  Repeat these steps for each active AWS region.
    

## Using AWS CLI

-   List all IAM Access Analyzers in a region:

 aws accessanalyzer list-analyzers --region <region-name>

-   Verify at least one analyzer exists and has an "ACTIVE" status:

aws accessanalyzer list-analyzers --query 'analyzers\[\*\].\[name,status,arn\]' --region <region-name>

Example Output:  

\[
    \[
        "IAMAnalyzer1",
        "ACTIVE",
        "arn:aws:access-analyzer:us-east-1:123456789012:analyzer/IAMAnalyzer1"
    \]
\]

1.  Repeat the audit for each active AWS region.
    

## Implementation Steps:

Step 1: Enable IAM Access Analyzer for Each Active Region

## Using AWS Console 

1.  Login to AWS Console as an IAM Administrator.
    
2.  Open IAM Console → Click Access Analyzer.
    

                     ![](https://support.icompaas.com/assets/kb/616a92d4d25fd183.png)

3.  Click Create Analyzer.
    

                     ![](https://support.icompaas.com/assets/kb/a34f88c40af10276.png)

4.  On the Create Analyzer page:
    
    -   Enter a name for the analyzer.                   ![](https://support.icompaas.com/assets/kb/86c6662fb82668e5.png)                   
        
    -   Select Type: Account (or Organization if managing multiple AWS accounts).
        
    -   Confirm the Region is correct.
        
5.  Click Create Analyzer.
    
6.  Repeat for each active AWS region.
    

## Using AWS Command Line

-   Get a list of AWS active regions:

aws ec2 describe-regions --query "Regions\[\].RegionName" --output text

-   Create an IAM Access Analyzer in each region: 

for region in $(aws ec2 describe-regions --query "Regions\[\].RegionName" --output text); do
    aws accessanalyzer create-analyzer --analyzer-name "IAMAnalyzer-$region" --type ACCOUNT --region $region
done

-   Verify the analyzer creation in each region:

aws accessanalyzer list-analyzers --query 'analyzers\[\*\].\[name,status,arn\]' --region <region-name>

##   

## Backout Plan:

If IAM Access Analyzer was mistakenly deleted:  
Recreate the analyzer using the same commands:

aws accessanalyzer create-analyzer --analyzer-name "IAMAnalyzer" --type ACCOUNT --region <region-name>

1.  Ensure the analyzer is active and monitoring access policies.
    

## References:

-   [IAM Access Analyzer Overview](https://docs.aws.amazon.com/IAM/latest/UserGuide/what-is-access-analyzer.html)
    
-   [IAM Access Analyzer CLI Commands](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/accessanalyzer/index.html)
    
-   [IAM Access Analyzer Best Practices](https://aws.amazon.com/blogs/security/introducing-aws-identity-and-access-management-access-analyzer/)
    

## CIS Controls Mapping:

<table style="border:none;border-collapse:collapse;font-family:&quot;Helvetica Neue&quot;"><colgroup style="font-family:&quot;Helvetica Neue&quot;"><col style="font-family:&quot;Helvetica Neue&quot;"><col style="font-family:&quot;Helvetica Neue&quot;"><col style="font-family:&quot;Helvetica Neue&quot;"></colgroup><tbody style="font-family:&quot;Helvetica Neue&quot;"><tr style="height:40pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;text-align:justify;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span dir="ltr" style="color:rgb(0, 0, 0);font-family:&quot;Helvetica Neue&quot;"><strong>CIS Control Version</strong></span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;text-align:justify;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span dir="ltr" style="color:rgb(0, 0, 0);font-family:&quot;Helvetica Neue&quot;"><strong>Control ID</strong></span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;text-align:justify;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-family:&quot;Helvetica Neue&quot;"><strong>Control Description</strong></span></span></span></p></td></tr><tr style="height:40pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;text-align:justify;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-family:&quot;Helvetica Neue&quot;">CIS v8</span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;text-align:justify;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-family:&quot;Helvetica Neue&quot;">3.3</span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;text-align:justify;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><strong><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:400;font-family:&quot;Helvetica Neue&quot;">Configure access control lists based on user need-to-know.</span></span></span></strong></p></td></tr><tr style="height:25.75pt;font-family:&quot;Helvetica Neue&quot;"><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;text-align:justify;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-family:&quot;Helvetica Neue&quot;">CIS v7</span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;text-align:justify;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-family:&quot;Helvetica Neue&quot;">14.6</span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;"><p dir="ltr" style="line-height:1.38;text-align:justify;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;"><strong><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:400;font-family:&quot;Helvetica Neue&quot;">Protect information through access control lists.</span></span></span></strong></p></td></tr></tbody></table>

## Related compliance guidance

- [SOC 2 compliance: a practical implementation guide for cloud-native SaaS teams](https://support.icompaas.com/compliance/soc-2-trust-services-criteria): Configuration checks like this one are the technical half of a SOC 2 / ISO 27001 programme — the guide shows where they fit, what else an auditor expects, and how to evidence them.
- [ISO/IEC 27001:2022 compliance: a practical implementation guide](https://support.icompaas.com/compliance/iso-27001-2022): ISO 27001 Annex A.8 (technological controls) is where cloud hardening evidence lands; the guide shows how to run the ISMS around it.
