Checks/Aws/Test-AcmCertificatesWithSecureKeyAlgorithms.ps1
|
function Test-AcmCertificatesWithSecureKeyAlgorithms { <# .SYNOPSIS ACM certificate uses a secure key algorithm .DESCRIPTION **ACM certificates** are evaluated for the **public key algorithm and size**, identifying those that use weak parameters such as `RSA-1024` or ECDSA `P-192`. Certificates using `RSA-2048+` or ECDSA `P-256+` meet the secure baseline. .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: acm_certificates_with_secure_key_algorithms [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check acm_certificates_with_secure_key_algorithms for reference.', 'N/A', 'acm Resources') } |