Control: CloudWatch alarm should have an action configured
Description
Checks if CloudWatch alarms have an action configured for the ALARM, INSUFFICIENT_DATA, or OK state. Optionally checks if any actions match a named ARN. The rule is non-compliant if there is no action specified for the alarm or optional parameter.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.cloudwatch_alarm_action_enabled
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.cloudwatch_alarm_action_enabled --share
SQL
This control uses a named query:
cloudwatch_alarm_action_enabled