Loading controls...
Control: Ensure a log metric filter and alarm exist for security group changes
Description
You can do real-time monitoring of API calls by directing CloudTrail logs to CloudWatch Logs and establishing corresponding metric filters and alarms. Security groups are a stateful packet filter that controls ingress and egress traffic in a VPC. Security Hub recommends that you create a metric filter and alarm for changes to security groups. Monitoring these changes helps ensure that resources and services aren't unintentionally exposed.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.log_metric_filter_security_group
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.log_metric_filter_security_group --share
SQL
This control uses a named query:
log_metric_filter_security_group