Checks/Aws/Test-ShieldAdvancedProtectionInCloudfrontDistributions.ps1
|
function Test-ShieldAdvancedProtectionInCloudfrontDistributions { <# .SYNOPSIS CloudFront distribution is protected by AWS Shield Advanced .DESCRIPTION **CloudFront distributions** are associated with **AWS Shield Advanced** as protected resources. The assessment identifies distributions that lack this protection mapping. .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: shield_advanced_protection_in_cloudfront_distributions [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check shield_advanced_protection_in_cloudfront_distributions for reference.', 'N/A', 'shield Resources') } |