This rule ensures the presence of a log metric filter and alarm for VPC changes.
Rule | Ensure a log metric filter and alarm exist for VPC changes |
Framework | cis_v150 |
Severity | ✔ Low |
Rule Description:
The rule requires the creation of a log metric filter and alarm to monitor any changes related to Virtual Private Cloud (VPC) settings and configurations. This rule is specifically defined by CIS benchmark version 1.5.0.
Troubleshooting Steps:
Necessary Codes (if applicable):
There are no specific codes required for this rule.
Remediation Steps:
Follow the steps below to remediate this rule and ensure compliance:
Step 1: Creating a Log Metric Filter
{ ($.eventName = CreateVpc) || ($.eventName = DeleteVpc) || ($.eventName = ModifyVpcAttribute) || ($.eventName = AttachVpnGateway) || ($.eventName = DetachVpnGateway) || ($.eventName = EnableVgwRoutePropagation) || ($.eventName = DisableVgwRoutePropagation) || ($.eventName = AssociateVpcCidrBlock) || ($.eventName = DisassociateVpcCidrBlock) || ($.eventName = CreateRoute) || ($.eventName = ReplaceRoute) || ($.eventName = DeleteRoute) }
Step 2: Creating an Alarm
Verification:
To verify the compliance with this rule, follow these steps:
By following these steps, you have successfully created a log metric filter and alarm to monitor VPC changes, as required by the CIS benchmark version 1.5.0. This ensures compliance and provides improved visibility into modifications made to VPC settings and configurations.