Checks/Aws/Test-NeptuneClusterMultiAz.ps1
|
function Test-NeptuneClusterMultiAz { <# .SYNOPSIS Neptune cluster has Multi-AZ enabled .DESCRIPTION Amazon Neptune DB clusters are evaluated for `Multi-AZ` deployment by checking whether the cluster has read-replica instances distributed across multiple Availability Zones. A failing result indicates the cluster is deployed in a single AZ and lacks read-replicas that enable automatic promotion and cross-AZ failover. .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: neptune_cluster_multi_az [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check neptune_cluster_multi_az for reference.', 'N/A', 'neptune Resources') } |