Azure App Service Web app does not use latest Python version
Description
Azure App Service web applications developed with the Python should use the latest available version of Python to ensure the latest security fixes are in use.
Code Example
go
{
"resource "azurerm_app_service" "example" {
...
+ site_config {
+ python_version = "3.4"
}
",
}Remediation
Terraform
- Resource: azurerm_app_service
- Arguments: python_version - (Optional) The version of Python to use in this App Service.
Possible values are 2.7 and 3.4.
Rule Details
| Field | Value |
|---|---|
| ID | IAC-0590 |
| Severity | LOW |
| IaC Type | arm |
| Frameworks | Terraform, TerraformPlan |
| Checkov ID | CKV_AZURE_82 |