Checks/Aws/Test-Elbv2WafAclAttached.ps1
|
function Test-Elbv2WafAclAttached { <# .SYNOPSIS Application Load Balancer has a WAF Web ACL attached .DESCRIPTION Application Load Balancers are evaluated for an associated **AWS WAF web ACL** that governs HTTP(S) requests. The evaluation detects ALBs missing a web ACL and recognizes associations from **WAFv2** or regional **WAF Classic**. .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_waf_acl_attached [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check elbv2_waf_acl_attached for reference.', 'N/A', 'elbv2 Resources') } |