Ensure there is an Amazon CloudWatch alarm created and configured in your AWS account to fire each time a Virtual Private Cloud (VPC) environment configuration change is made. This CloudWatch alarm must be triggered every time an AWS API call is performed to create, update or delete a VPC, a VPC peering connection or a VPC connection to classic EC2 instances.
Using Amazon CloudWatch alarms to detect environment configuration changes involving your AWS Virtual Private Clouds will help you prevent any accidental or intentional modifications that may lead to unauthorized network access or other security breaches. Note 1: For this rule Cloud Conformity assumes that the CloudTrail service is already enabled to stream event log data to CloudWatch within your AWS account, otherwise see this rule to enable AWS Cloudtrail – CloudWatch integration.
Note 2: You have also the option to implement this conformity rule with AWS CloudFormation. Download the required CloudFormation template from this URL and follow the AWS instructions available here.
To determine if there are any CloudWatch alarms set up to monitor AWS VPCs configuration changes within your AWS account, perform the following:
Step 1: Create a Simple Notification Service (SNS) topic and the necessary subscription to send email notifications whenever the appropriate Amazon CloudWatch alarm is triggered.
Step 2: Create the necessary metric filter and the CloudWatch alarm that will fire and send email notifications whenever an AWS VPC environment configuration will change.