modules/Azure/Checks/Test-StorageGeoRedundantEnabled.ps1
|
function Test-StorageGeoRedundantEnabled { <# .SYNOPSIS Azure Storage account uses geo-redundant replication (GRS, GZRS, RA-GRS, or RA-GZRS) .DESCRIPTION **Azure Storage accounts** configured for **geo-redundant replication** via `Standard_GRS`, `Standard_GZRS`, `Standard_RAGRS`, or `Standard_RAGZRS`. The setting indicates data is copied to a paired secondary region, with `RA-*` allowing read access during primary-region unavailability. .PARAMETER Check CIEMCheck object containing check metadata. #> [CmdletBinding()] [OutputType([PSCustomObject[]])] param( [Parameter(Mandatory)] $Check ) $ErrorActionPreference = 'Stop' # TODO: Implement check logic based on Prowler check: storage_geo_redundant_enabled [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check storage_geo_redundant_enabled for reference.', 'N/A', 'storage Resources') } |