Checks/Aws/Test-RdsClusterDeletionProtection.ps1
|
function Test-RdsClusterDeletionProtection { <# .SYNOPSIS RDS cluster has deletion protection enabled .DESCRIPTION **RDS DB clusters** have **deletion protection** enabled (`deletion_protection=true`). .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: rds_cluster_deletion_protection [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check rds_cluster_deletion_protection for reference.', 'N/A', 'rds Resources') } |