Checks/Aws/Test-WafGlobalRuleWithConditions.ps1
|
function Test-WafGlobalRuleWithConditions { <# .SYNOPSIS AWS WAF Classic Global rule has at least one condition .DESCRIPTION **AWS WAF Classic global rules** contain at least one **condition** that matches HTTP(S) requests the rule evaluates for action (e.g., `allow`, `block`, `count`). .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: waf_global_rule_with_conditions [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check waf_global_rule_with_conditions for reference.', 'N/A', 'waf Resources') } |