Checks/Aws/Test-ElasticacheRedisClusterAutomaticFailoverEnabled.ps1
|
function Test-ElasticacheRedisClusterAutomaticFailoverEnabled { <# .SYNOPSIS ElastiCache Redis cluster has automatic failover enabled .DESCRIPTION **Amazon ElastiCache (Redis OSS) replication groups** have **automatic failover** set to `enabled`, allowing a replica to be promoted when the primary becomes unavailable .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_automatic_failover_enabled [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check elasticache_redis_cluster_automatic_failover_enabled for reference.', 'N/A', 'elasticache Resources') } |