Checks/Aws/Test-CloudwatchChangesToVpcsAlarmConfigured.ps1
|
function Test-CloudwatchChangesToVpcsAlarmConfigured { <# .SYNOPSIS AWS account has a CloudWatch Logs metric filter and alarm for VPC changes .DESCRIPTION **CloudTrail events** for **VPC configuration changes** are captured in CloudWatch Logs with a metric filter and an associated alarm. The filter targets actions like `CreateVpc`, `DeleteVpc`, `ModifyVpcAttribute`, and VPC peering operations to surface when network topology is altered. .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_changes_to_vpcs_alarm_configured [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check cloudwatch_changes_to_vpcs_alarm_configured for reference.', 'N/A', 'cloudwatch Resources') } |