modules/Azure/Checks/Test-StorageInfrastructureEncryptionIsEnabled.ps1
|
function Test-StorageInfrastructureEncryptionIsEnabled { <# .SYNOPSIS Storage account has infrastructure encryption enabled .DESCRIPTION **Azure Storage accounts** have **infrastructure encryption** enabled, providing **double encryption at rest** alongside service-level encryption (`requireInfrastructureEncryption=true`). .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_infrastructure_encryption_is_enabled [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check storage_infrastructure_encryption_is_enabled for reference.', 'N/A', 'storage Resources') } |