modules/Azure/Checks/Test-StorageEnsureFileSharesSoftDeleteIsEnabled.ps1
|
function Test-StorageEnsureFileSharesSoftDeleteIsEnabled { <# .SYNOPSIS Storage account has soft delete enabled for file shares .DESCRIPTION **Azure Storage file shares** have **soft delete** with a retention period (`days`). The evaluation determines if the storage account's file service has this setting enabled and records the retention duration applied to all shares. .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_ensure_file_shares_soft_delete_is_enabled [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check storage_ensure_file_shares_soft_delete_is_enabled for reference.', 'N/A', 'storage Resources') } |