Checks/Aws/Test-CloudfrontDistributionsMultipleOriginFailoverConfigured.ps1
|
function Test-CloudfrontDistributionsMultipleOriginFailoverConfigured { <# .SYNOPSIS CloudFront distribution has origin failover configured with at least two origins .DESCRIPTION **CloudFront distributions** are evaluated for an **origin group** configured with at least `2` origins to support automatic origin failover. .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: cloudfront_distributions_multiple_origin_failover_configured [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check cloudfront_distributions_multiple_origin_failover_configured for reference.', 'N/A', 'cloudfront Resources') } |