Checks/Aws/Test-DmsInstanceNoPublicAccess.ps1
|
function Test-DmsInstanceNoPublicAccess { <# .SYNOPSIS DMS replication instance is not publicly exposed to the Internet .DESCRIPTION **AWS DMS replication instances** are evaluated for **public exposure**. Exposure is identified when `PubliclyAccessible` is enabled and an attached security group allows inbound traffic from any address. Private or allowlisted instances are not considered exposed. .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: dms_instance_no_public_access [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check dms_instance_no_public_access for reference.', 'N/A', 'dms Resources') } |