Checks/Aws/Test-DocumentdbClusterBackupEnabled.ps1
|
function Test-DocumentdbClusterBackupEnabled { <# .SYNOPSIS DocumentDB cluster has automated backups enabled with retention period of at least 7 days .DESCRIPTION **Amazon DocumentDB clusters** are evaluated for **automated backups** and an adequate **backup retention period**. Clusters should have `backup_retention_period` set to at least the configured minimum (default `7` days). Values of `0` indicate backups are disabled; values below the threshold are considered insufficient. .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: documentdb_cluster_backup_enabled [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check documentdb_cluster_backup_enabled for reference.', 'N/A', 'documentdb Resources') } |