Checks/Aws/Test-IamNoExpiredServerCertificatesStored.ps1
|
function Test-IamNoExpiredServerCertificatesStored { <# .SYNOPSIS IAM server certificate is not expired .DESCRIPTION IAM server certificates stored in **AWS IAM** are evaluated for **expiration** by comparing their validity period to the current time. Certificates with a `NotAfter` date in the past are identified as expired. .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: iam_no_expired_server_certificates_stored [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check iam_no_expired_server_certificates_stored for reference.', 'N/A', 'iam Resources') } |