modules/Azure/Checks/Test-StorageBlobPublicAccessLevelIsDisabled.ps1
|
function Test-StorageBlobPublicAccessLevelIsDisabled { <# .SYNOPSIS Storage account has 'Allow blob public access' disabled .DESCRIPTION **Azure Storage accounts** with **blob public access** disabled prevent containers or blobs from being set to a public access level. Setting `allow blob public access` to `false` enforces no anonymous reads across the 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_blob_public_access_level_is_disabled [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check storage_blob_public_access_level_is_disabled for reference.', 'N/A', 'storage Resources') } |