Checks/Aws/Test-CloudfrontDistributionsHttpsSniEnabled.ps1
|
function Test-CloudfrontDistributionsHttpsSniEnabled { <# .SYNOPSIS CloudFront distribution serves HTTPS requests using SNI .DESCRIPTION **CloudFront distributions** that use **custom SSL/TLS certificates** are configured to serve **HTTPS** using **Server Name Indication** (`ssl_support_method: sni-only`). It evaluates SNI use rather than dedicated IP during the TLS handshake. .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_https_sni_enabled [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check cloudfront_distributions_https_sni_enabled for reference.', 'N/A', 'cloudfront Resources') } |