Checks/Azure/Test-AppFunctionIdentityIsConfigured.ps1
|
function Test-AppFunctionIdentityIsConfigured { <# .SYNOPSIS Function app has a system-assigned or user-assigned managed identity enabled .DESCRIPTION **Azure Function Apps** are evaluated for an enabled **managed identity** (`SystemAssigned` or `UserAssigned`) configured on the app. The finding indicates whether an identity is present to support token-based access to other Azure resources. .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_identity_is_configured [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check app_function_identity_is_configured for reference.', 'N/A', 'app Resources') } |