# 4.4 Ensure IAM policy changes are monitored (Manual)

- Source: https://support.icompaas.com/support/solutions/articles/62000234258-4-4-ensure-iam-policy-changes-are-monitored-manual-
- Section: [Solutions](https://support.icompaas.com/support/solutions) › [CIS Amazon Web Services Foundations Benchmark v5.0.0](https://support.icompaas.com/support/solutions/62000112684) › [CIS AWS Benchmarks](https://support.icompaas.com/support/solutions/folders/62000169233)
- Last updated: 2026-05-29
- Publisher: iCompaas, Inc. (https://www.icompaas.com)

#### Profile Applicability

-   **Level 1**
    

#### Description:

IAM (Identity and Access Management) policies define permissions for AWS users, groups, and roles, dictating what actions can be performed on AWS resources. Monitoring IAM policy changes is crucial to ensure that any modifications to these permissions are intentional, authorized, and compliant with security policies.

Changes to IAM policies, such as the creation, deletion, or modification of policies, can introduce security risks if not properly monitored. These changes can potentially grant excessive permissions or revoke critical access. Monitoring IAM policy changes ensures that any security-related adjustments are tracked and verified.

#### Rationale:

Unauthorized or accidental modifications to IAM policies can lead to:

-   Granting excessive permissions to users or roles, violating the principle of least privilege.
    
-   Allowing unauthorized access to sensitive AWS resources.
    
-   Violations of compliance requirements (e.g., SOC 2, HIPAA, PCI DSS).
    

By monitoring changes to IAM policies, organizations can maintain control over access permissions and ensure that only authorized personnel are modifying access controls.

#### Impact:

Failure to monitor IAM policy changes can result in:

-   Uncontrolled access to AWS resources.
    
-   Security breaches due to unauthorized changes to user roles or permissions.
    
-   Non-compliance with regulatory requirements.
    

Monitoring IAM policy changes allows organizations to detect unauthorized modifications and respond quickly to potential security threats.

#### Default Value:

By default, AWS does not automatically monitor IAM policy changes, but these changes can be captured through AWS CloudTrail and AWS Config. CloudTrail logs all IAM API calls, including changes to IAM policies, and AWS Config can track IAM configuration changes.

#### Pre-Requisites:

-   AWS CLI installed and configured
    
-   IAM permissions:
    
    -   iam:ListPolicies
        
    -   cloudtrail:LookupEvents
        
    -   config:DescribeConfigurationRecorder
        
-   AWS CloudTrail and AWS Config enabled across all AWS regions for monitoring policy changes
    

#### Remediation:

##### Test Plan:

Using AWS Console:

1.  Go to the [CloudTrail Console](https://console.aws.amazon.com/cloudtrail/).
    
2.  Ensure that Management Events are enabled to capture changes to IAM policies (e.g., CreatePolicy, AttachRolePolicy).
    
3.  Go to the [AWS Config Console](https://console.aws.amazon.com/config/) and verify that the Configuration Recorder is active and tracking IAM policy changes.
    
4.  Review CloudTrail logs to ensure that IAM policy changes are captured.
    

Using AWS CLI:

aws cloudtrail lookup-events --lookup-attributes AttributeKey=EventSource,AttributeValue=iam.amazonaws.com --query "Events\[?EventName=='CreatePolicy' || EventName=='AttachRolePolicy' || EventName=='PutRolePolicy'\]" --output table

To verify if AWS Config is tracking IAM policy changes:

aws configservice describe-configuration-recorders --query "ConfigurationRecorders\[?recordingGroup.allSupported==\`true\`\].{Name:name, RecordingGroup:recordingGroup}" --output table

##### Implementation Plan:

Using AWS Console:

1.  Verify CloudTrail logging for IAM policy changes:
    
    -   Go to the [CloudTrail Console](https://console.aws.amazon.com/cloudtrail/).
        
    -   Ensure Management Events are enabled, particularly for IAM-related events like CreatePolicy, AttachRolePolicy, or PutRolePolicy.
        
    -   Make sure logs are stored in an S3 bucket for long-term access  
        
2.  Enable AWS Config to track IAM policy changes:
    
    -   Go to the [AWS Config Console](https://console.aws.amazon.com/config/).
        
    -   Enable the Configuration Recorder and ensure that IAM policies are included in the configuration recording.
        

Using AWS CLI:

1.  Verify CloudTrail is logging IAM policy changes:
    

aws cloudtrail lookup-events --lookup-attributes AttributeKey=EventSource,AttributeValue=iam.amazonaws.com --query "Events\[?EventName=='CreatePolicy' || EventName=='AttachRolePolicy' || EventName=='PutRolePolicy'\]" --output table

2.  Enable AWS Config to monitor IAM policy changes:
    

aws configservice record-configuration-changes --configuration-recorder-name <recorder-name> --include-configuration-item-types "AWS::IAM::Policy"

#### Backout Plan:

Using AWS Console:

1.  If monitoring IAM policy changes causes excessive logging or performance issues:
    
    -   Go to the [CloudTrail Console](https://console.aws.amazon.com/cloudtrail/).
        
    -   Modify Management Events settings to log fewer IAM policy events or exclude non-critical changes.
        
    -   Optionally, adjust the frequency of event logging or exclude IAM events that are not directly related to policy changes.
        
2.  Modify AWS Config settings to exclude IAM policies from being tracked if they create performance or resource consumption issues.
    
    -   In the [AWS Config Console](https://console.aws.amazon.com/config/), disable the recording of IAM policy changes temporarily.
        

Using AWS CLI:

1.  Temporarily disable CloudTrail logging:
    

aws cloudtrail update-trail --name <trail-name> --no-log-management-events

2.  Stop AWS Config recording IAM policy changes:
    

aws configservice stop-configuration-recorder --configuration-recorder-name <recorder-name>

3.  Re-enable monitoring once issues are resolved:  
    

aws cloudtrail update-trail --name <trail-name> --log-management-events
aws configservice start-configuration-recorder --configuration-recorder-name <recorder-name>

#### References:

-   [AWS CloudTrail Documentation](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-user-guide.html)
    
-   [AWS Config Documentation](https://docs.aws.amazon.com/config/latest/developerguide/)
    
-   [AWS IAM Documentation](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html)
    

#### CIS Controls Mapping:

<table style="border:none;border-collapse:collapse"><tbody><tr style="height:39.25pt;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;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px;text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:700;font-family:&quot;Helvetica Neue&quot;">CIS Control Version</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-weight:700;font-family:&quot;Helvetica Neue&quot;">Control ID</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-weight:700;font-family:&quot;Helvetica Neue&quot;">Control Description</span></span></span></p></td></tr><tr style="height:39.25pt;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;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px;text-align:justify"><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;">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;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px;text-align:justify"><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;">4.9</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;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px;text-align:justify"><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;">Perform Continuous Security Monitoring and Incident Detection</span></span></span></p></td></tr><tr style="height:25pt;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;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px;text-align:justify"><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;">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;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px;text-align:justify"><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;">6.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;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px;text-align:justify"><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;">Monitor Security Configurations for Compliance</span></span></span></p></td></tr><tr style="height:39.25pt"><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;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px;text-align:justify"><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;">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;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px;text-align:justify"><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;">5.2</span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;text-align:justify"><span style="font-family:&quot;Helvetica Neue&quot;;font-size:14px"><span style="color:rgb(0, 0, 0);font-weight:400">Securely Manage and Monitor Cloud Accounts and Services</span></span></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.
