Checks/Aws/Test-ElasticacheRedisClusterBackupEnabled.ps1
|
function Test-ElasticacheRedisClusterBackupEnabled { <# .SYNOPSIS ElastiCache Redis cache cluster has automated snapshot backups enabled with retention of at least 7 days .DESCRIPTION Amazon ElastiCache Redis replication groups have **automated snapshot backups** enabled with a **retention period** of at least `7` days. The evaluation focuses on whether backups are enabled and the configured retention meets the minimum threshold. .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: elasticache_redis_cluster_backup_enabled [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check elasticache_redis_cluster_backup_enabled for reference.', 'N/A', 'elasticache Resources') } |