Checks/Aws/Test-Ec2NetworkaclAllowIngressAnyPort.ps1
|
function Test-Ec2NetworkaclAllowIngressAnyPort { <# .SYNOPSIS Network ACL does not allow ingress from 0.0.0.0/0 to any port .DESCRIPTION **VPC network ACLs** with **inbound entries** that permit traffic from `0.0.0.0/0` to any port (any protocol) are identified at the subnet boundary. .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: ec2_networkacl_allow_ingress_any_port [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check ec2_networkacl_allow_ingress_any_port for reference.', 'N/A', 'ec2 Resources') } |