Checks/Aws/Test-Elbv2InternetFacing.ps1
|
function Test-Elbv2InternetFacing { <# .SYNOPSIS Application Load Balancer is not publicly accessible (no inbound TCP from 0.0.0.0/0 or ::/0) .DESCRIPTION **ELBv2 Application Load Balancers** configured as `internet-facing` are assessed for exposure by reviewing attached **security groups**. Inbound TCP rules that allow `0.0.0.0/0` or `::/0` indicate unrestricted internet reachability. .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: elbv2_internet_facing [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check elbv2_internet_facing for reference.', 'N/A', 'elbv2 Resources') } |