modules/Azure/Checks/Test-StorageSmbChannelEncryptionWithSecureAlgorithm.ps1
|
function Test-StorageSmbChannelEncryptionWithSecureAlgorithm { <# .SYNOPSIS Storage account uses AES-256-GCM for SMB channel encryption on file shares .DESCRIPTION **Azure Storage file shares (SMB)** are evaluated for **SMB channel encryption** and whether the allowed ciphers include the recommended `AES-256-GCM`. This identifies if encryption is configured and a secure algorithm is present in the SMB settings for file shares within the storage account. .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_smb_channel_encryption_with_secure_algorithm [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check storage_smb_channel_encryption_with_secure_algorithm for reference.', 'N/A', 'storage Resources') } |