Checks/Aws/Test-CloudwatchAlarmActionsAlarmStateConfigured.ps1
|
function Test-CloudwatchAlarmActionsAlarmStateConfigured { <# .SYNOPSIS CloudWatch metric alarm has actions configured for the ALARM state .DESCRIPTION Amazon CloudWatch metric alarms are evaluated for **actions** configured for the `ALARM` state. The finding flags alarms that have no action to execute when their monitored metric crosses its threshold. .PARAMETER Check CIEMCheck object containing check metadata. #> [CmdletBinding()] [OutputType([PSCustomObject[]])] param( [Parameter(Mandatory)] [CIEMCheck]$Check ) $ErrorActionPreference = 'Stop' # TODO: Implement check logic based on Prowler check: cloudwatch_alarm_actions_alarm_state_configured [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check cloudwatch_alarm_actions_alarm_state_configured for reference.', 'N/A', 'cloudwatch Resources') } |