Checks/Azure/Test-AppFunctionNotPubliclyAccessible.ps1
|
function Test-AppFunctionNotPubliclyAccessible { <# .SYNOPSIS Function app is not publicly accessible .DESCRIPTION **Azure Function apps** are assessed for whether they are reachable from the public Internet. The evaluation considers the app's `publicNetworkAccess` state and the presence of access restrictions or private endpoints to limit inbound traffic. .PARAMETER Check CIEMCheck object containing check metadata. #> [CmdletBinding()] [OutputType([PSCustomObject[]])] param( [Parameter(Mandatory)] [CIEMCheck]$Check ) $ErrorActionPreference = 'Stop' # TODO: Implement check logic based on Prowler check: app_function_not_publicly_accessible [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check app_function_not_publicly_accessible for reference.', 'N/A', 'app Resources') } |