# 4.14 Ensure VPC Changes are Monitored (Manual)

- Source: https://support.icompaas.com/support/solutions/articles/62000233124-4-14-ensure-vpc-changes-are-monitored-manual-
- Section: [Solutions](https://support.icompaas.com/support/solutions) › [AWS CIS V.4 Level 1 Benchmarks](https://support.icompaas.com/support/solutions/62000112671) › [CIS Control 4](https://support.icompaas.com/support/solutions/folders/62000169196)
- Last updated: 2026-05-29
- Publisher: iCompaas, Inc. (https://www.icompaas.com)

### **Profile Applicability:**

**Level 1**

## **Description:**

AWS CloudTrail enables real-time monitoring of API calls by logging events to CloudWatch Logs or an external SIEM. Monitoring VPC changes ensures network configurations remain secure and intact, preventing unauthorized modifications that could impact security, connectivity, or availability.

This control ensures that VPC configuration changes (e.g., VPC creation, deletion, peering changes) are logged, monitored, and alerted using CloudWatch Alarms and Amazon SNS notifications.

## Rationale:

VPCs define the networking structure within an AWS environment. Unauthorized or misconfigured changes to VPC components can:

-   Expose internal resources to the internet.
    
-   Create unintended network connections.
    
-   Cause disruptions to critical applications.
    

By logging and monitoring VPC changes, organizations can detect and respond to unauthorized modifications, ensuring network security and compliance.

## Impact:

-   Failure to monitor VPC changes can result in:
    
    -   Unintended exposure of private resources.
        
    -   Loss of connectivity due to misconfigurations.
        
    -   Security risks due to unauthorized VPC peering or classic link modifications.
        
-   Enabling monitoring does not impact performance but requires AWS CloudTrail and CloudWatch costs.
    

## Default Value:

-   AWS CloudTrail does not log VPC changes by default.
    
-   CloudWatch Alarms and SNS notifications must be manually configured to monitor VPC modifications.
    

## Pre-Requisites:

1.  AWS CloudTrail enabled with multi-region logging.
    
2.  AWS CloudWatch Logs enabled and linked to CloudTrail.
    
3.  IAM Permissions Required:
    
    -   cloudtrail:DescribeTrails
        
    -   cloudtrail:GetEventSelectors
        
    -   logs:DescribeMetricFilters
        
    -   cloudwatch:DescribeAlarms
        
    -   sns:ListSubscriptionsByTopic
        
    -   logs:PutMetricFilter, cloudwatch:PutMetricAlarm, sns:CreateTopic
        

## Remediation:

### Test Plan:

## Using AWS Console

1.  Login to the AWS Management Console.
    
2.  Navigate to CloudTrail: [AWS CloudTrail Console](https://console.aws.amazon.com/cloudtrail/home).  
      
    ![](https://support.icompaas.com/assets/kb/29e8858a82df72f1.png)  
      
    
3.  Verify there is at least one multi-region CloudTrail trail enabled.
    
4.  Ensure CloudTrail is logging management events:
    
    -   Click on the trail and check Event Selectors.  
          
        ![](https://support.icompaas.com/assets/kb/b17d759902dab733.png)  
          
        
    -   Ensure management events are set to "All".  
        ![](https://support.icompaas.com/assets/kb/c0d6b26ecb7bcd9a.png)
        
5.  Check that CloudTrail logs are being sent to CloudWatch.  
      
    ![](https://support.icompaas.com/assets/kb/876265e07d33907d.png)  
      
    
6.  Navigate to CloudWatch Logs: [AWS CloudWatch Console](https://console.aws.amazon.com/cloudwatch/home).  
    ![](https://support.icompaas.com/assets/kb/60c45930f1c5a422.png)  
      
    
7.  Ensure that a metric filter is created for VPC changes.  
    ![](https://support.icompaas.com/assets/kb/b5d5e0e0bf09e35b.png)  
      
    
8.  Check CloudWatch Alarms for alerts on VPC modifications.  
    ![](https://support.icompaas.com/assets/kb/ae7d2b9a584ad655.png)
    

###   
Remediation:

### Test Plan:

## Using AWS Console

1.  List all CloudTrail trails and check for multi-region status:
    
    aws cloudtrail describe-trails --query "trailList\[\*\].{Name:Name, IsMultiRegion: IsMultiRegionTrail}"
    

-   Ensure "IsMultiRegion": true for at least one trail.
    

2.  Verify CloudTrail is logging management events:
    
    aws cloudtrail get-event-selectors --trail-name <trail-name>
    
3.  Expected output:
    
    {
        "EventSelectors": \[
            {
                "IncludeManagementEvents": true,
                "ReadWriteType": "All"
            }
        \]
    }
    

4.  Check if a metric filter is set on CloudWatch Logs:
    
    aws logs describe-metric-filters --log-group-name <trail-log-group-name>
    
5.  Ensure CloudWatch alarm exists for VPC changes:
    
    aws cloudwatch describe-alarms --query 'MetricAlarms\[?MetricName==\`vpc-changes-metric\`\]'
    
6.  Check if SNS topic exists for alerts:
    
    aws sns list-subscriptions-by-topic --topic-arn <sns-topic-arn>
    

## Implementation Steps:  
Using AWS Console

### Step 1: Create a Metric Filter for VPC Changes

aws logs put-metric-filter --log-group-name <trail-log-group-name> \\
--filter-name vpc-changes-metric \\
--metric-transformations metricName=vpc-changes-metric,metricNamespace='CISBenchmark',metricValue=1 \\
--filter-pattern '{ ($.eventName = CreateVpc) || ($.eventName = DeleteVpc) || ($.eventName = ModifyVpcAttribute) || ($.eventName = AcceptVpcPeeringConnection) || ($.eventName = CreateVpcPeeringConnection) || ($.eventName = DeleteVpcPeeringConnection) || ($.eventName = RejectVpcPeeringConnection) || ($.eventName = AttachClassicLinkVpc) || ($.eventName = DetachClassicLinkVpc) || ($.eventName = DisableVpcClassicLink) || ($.eventName = EnableVpcClassicLink) }'

Step 2: Create an SNS Topic for Notifications

aws sns create-topic --name vpc-changes-alerts

### Step 3: Subscribe to SNS Topic

aws sns subscribe --topic-arn <sns-topic-arn> --protocol email --notification-endpoint <your-email@example.com>

Step 4: Create a CloudWatch Alarm for VPC Changes

aws cloudwatch put-metric-alarm --alarm-name vpc-changes-alarm \\
--metric-name vpc-changes-metric --statistic Sum --period 300 \\
--threshold 1 --comparison-operator GreaterThanOrEqualToThreshold \\
--evaluation-periods 1 --namespace 'CISBenchmark' --alarm-actions <sns-topic-arn>

Backout Plan:

1.  Delete CloudWatch Alarm:
    
    aws cloudwatch delete-alarms --alarm-names vpc-changes-alarm
    
2.  Remove the metric filter:
    
    aws logs delete-metric-filter --log-group-name <trail-log-group-name> --filter-name vpc-changes-metric
    
3.  Delete SNS topic:
    
    aws sns delete-topic --topic-arn <sns-topic-arn>
    

  

## References:

-   [AWS CloudTrail Monitoring with CloudWatch](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudwatch-alarms-for-cloudtrail.html)
    
-   [AWS VPC Security Best Practices  
    ](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-security-best-practices.html)
    

## CIS Controls Mapping:  
  

<table style="border:none;border-collapse:collapse;font-size:14px"><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><tr style="height:25.75pt;font-family:&quot;Helvetica Neue&quot;"><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-size:14px;font-family:&quot;Helvetica Neue&quot;;width:21.3668%"><p dir="ltr" style="line-height:1.38;text-align:justify;margin-bottom:0pt;font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="color:rgb(0, 0, 0)"><span style="font-family:Helvetica Neue"><span style="font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="font-weight:700;font-family:&quot;Helvetica Neue&quot;">CIS Control Version</span></span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-size:14px;font-family:&quot;Helvetica Neue&quot;;width:12.3301%"><p dir="ltr" style="line-height:1.38;text-align:justify;margin-bottom:0pt;font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="color:rgb(0, 0, 0)"><span style="font-family:Helvetica Neue"><span style="font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="font-weight:700;font-family:&quot;Helvetica Neue&quot;">Control ID</span></span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-size:14px;font-family:&quot;Helvetica Neue&quot;;width:66.2214%"><p dir="ltr" style="line-height:1.38;text-align:justify;margin-bottom:0pt;font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="color:rgb(0, 0, 0)"><span style="font-family:Helvetica Neue"><span style="font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="font-weight:700;font-family:&quot;Helvetica Neue&quot;">Control Description</span></span></span></span></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-size:14px;font-family:&quot;Helvetica Neue&quot;;width:21.3668%"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;font-size:14px;font-family:&quot;Helvetica Neue&quot;;text-align:justify"><span style="color:rgb(0, 0, 0)"><span style="font-family:Helvetica Neue"><span style="font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="font-weight:400;font-family:&quot;Helvetica Neue&quot;">CIS v8</span></span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-size:14px;font-family:&quot;Helvetica Neue&quot;;width:12.3301%"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;font-size:14px;font-family:&quot;Helvetica Neue&quot;;text-align:justify"><span style="color:rgb(0, 0, 0)"><span style="font-family:Helvetica Neue"><span style="font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="font-weight:400;font-family:&quot;Helvetica Neue&quot;">8.5</span></span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-size:14px;font-family:&quot;Helvetica Neue&quot;;width:66.2214%"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;font-size:14px;font-family:&quot;Helvetica Neue&quot;;text-align:justify"><span style="color:rgb(0, 0, 0)"><span style="font-family:Helvetica Neue"><span style="font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="font-weight:400;font-family:&quot;Helvetica Neue&quot;">Collect detailed audit logs for security monitoring.</span></span></span></span></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-size:14px;font-family:&quot;Helvetica Neue&quot;;width:21.3668%"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;font-size:14px;font-family:&quot;Helvetica Neue&quot;;text-align:justify"><span style="color:rgb(0, 0, 0)"><span style="font-family:Helvetica Neue"><span style="font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="font-weight:400;font-family:&quot;Helvetica Neue&quot;">CIS v8</span></span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-size:14px;font-family:&quot;Helvetica Neue&quot;;width:12.3301%"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;font-size:14px;font-family:&quot;Helvetica Neue&quot;;text-align:justify"><span style="color:rgb(0, 0, 0)"><span style="font-family:Helvetica Neue"><span style="font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="font-weight:400;font-family:&quot;Helvetica Neue&quot;">8.11</span></span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-size:14px;font-family:&quot;Helvetica Neue&quot;;width:66.2214%"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;font-size:14px;font-family:&quot;Helvetica Neue&quot;;text-align:justify"><span style="color:rgb(0, 0, 0)"><span style="font-family:Helvetica Neue"><span style="font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="font-weight:400;font-family:&quot;Helvetica Neue&quot;">Conduct audit log reviews to detect anomalies.</span></span></span></span></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-size:14px;font-family:&quot;Helvetica Neue&quot;;width:21.3668%"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;font-size:14px;font-family:&quot;Helvetica Neue&quot;;text-align:justify"><span style="color:rgb(0, 0, 0)"><span style="font-family:Helvetica Neue"><span style="font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="font-weight:400;font-family:&quot;Helvetica Neue&quot;">CIS v7</span></span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-size:14px;font-family:&quot;Helvetica Neue&quot;;width:12.3301%"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;font-size:14px;font-family:&quot;Helvetica Neue&quot;;text-align:justify"><span style="color:rgb(0, 0, 0)"><span style="font-family:Helvetica Neue"><span style="font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="font-weight:400;font-family:&quot;Helvetica Neue&quot;">5.5</span></span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-size:14px;font-family:&quot;Helvetica Neue&quot;;width:66.2214%"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;font-size:14px;font-family:&quot;Helvetica Neue&quot;;text-align:justify"><span style="color:rgb(0, 0, 0)"><span style="font-family:Helvetica Neue"><span style="font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="font-weight:400;font-family:&quot;Helvetica Neue&quot;">Implement automated configuration monitoring.</span></span></span></span></p></td></tr><tr style="height:25.75pt"><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-size:14px;font-family:&quot;Helvetica Neue&quot;;width:21.3668%"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;font-size:14px;font-family:&quot;Helvetica Neue&quot;;text-align:justify"><span style="color:rgb(0, 0, 0)"><span style="font-family:Helvetica Neue"><span style="font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="font-weight:400;font-family:&quot;Helvetica Neue&quot;">CIS v7</span></span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-size:14px;font-family:&quot;Helvetica Neue&quot;;width:12.3301%"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;font-size:14px;font-family:&quot;Helvetica Neue&quot;;text-align:justify"><span style="color:rgb(0, 0, 0)"><span style="font-family:Helvetica Neue"><span style="font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="font-weight:400;font-family:&quot;Helvetica Neue&quot;">6.3</span></span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-size:14px;width:66.2214%"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;font-size:14px;text-align:justify"><span style="color:rgb(0, 0, 0)"><span style="font-family:Helvetica Neue"><span style="font-size:14px"><span style="font-weight:400">Enable detailed system logging.</span></span></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.
