Checks/Azure/Test-AppEnsurePythonVersionIsLatest.ps1
|
function Test-AppEnsurePythonVersionIsLatest { <# .SYNOPSIS App Service web app uses the latest supported Python version or 3.12 by default .DESCRIPTION **Azure App Service web apps** using **Python** are assessed to confirm the runtime is the **latest supported version** (e.g., `3.12`). The evaluation reads the app's stack configuration to detect Python usage and compares the configured runtime against the defined latest baseline. .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_ensure_python_version_is_latest [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check app_ensure_python_version_is_latest for reference.', 'N/A', 'app Resources') } |