Checks/Aws/Test-VpcDifferentRegions.ps1
|
function Test-VpcDifferentRegions { <# .SYNOPSIS VPCs are present in more than one region .DESCRIPTION Non-default **VPCs** are evaluated across the account to determine whether they exist in **more than one region**. The result reflects if your custom network topology is regionally distributed or concentrated in a single region. .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: vpc_different_regions [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check vpc_different_regions for reference.', 'N/A', 'vpc Resources') } |