Checks/Aws/Test-CognitoUserPoolAdvancedSecurityEnabled.ps1
|
function Test-CognitoUserPoolAdvancedSecurityEnabled { <# .SYNOPSIS Cognito user pool has advanced security enforced with full-function mode .DESCRIPTION **Amazon Cognito user pools** are evaluated for **Threat protection (advanced security)** mode: `ENFORCED` (full-function) vs `AUDIT` or disabled. This indicates whether adaptive risk responses and compromised-credential checks are applied during authentication. .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: cognito_user_pool_advanced_security_enabled [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check cognito_user_pool_advanced_security_enabled for reference.', 'N/A', 'cognito Resources') } |