Checks/Aws/Test-Apigatewayv2ApiAuthorizersEnabled.ps1
|
function Test-Apigatewayv2ApiAuthorizersEnabled { <# .SYNOPSIS API Gateway V2 API has an authorizer configured .DESCRIPTION **API Gateway v2 APIs** use **authorizers** (JWT/Cognito or Lambda) to authenticate requests. This evaluates whether an API has an authorizer configured to control access to its routes. .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: apigatewayv2_api_authorizers_enabled [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check apigatewayv2_api_authorizers_enabled for reference.', 'N/A', 'apigatewayv2 Resources') } |