Description
Check the effective minimum TLS version on the app and its SCM deployment endpoint. New App Service apps default to 1.2. A minimum of 1.2 still permits clients to negotiate 1.3.
Potential impact
A low minimum can admit versions your policy disallows. Requiring 1.3 prevents clients and deployment tools that support only 1.2 from connecting.
Remediation
On current Web App resources, set minimum_tls_version and scm_minimum_tls_version under site_config to 1.2 or higher. Check client compatibility before requiring 1.3. Test that both endpoints accept an approved version and reject a version below their minimum.
Examples
The first excerpt sets the AzureRM 3.x field min_tls_version to 1.0. App Service plans to retire inbound TLS 1.0 and 1.1 on May 31, 2027.
Before
resource "azurerm_app_service" "example" {
name = "example-app-service"
location = azurerm_resource_group.example.location
resource_group_name = azurerm_resource_group.example.name
app_service_plan_id = azurerm_app_service_plan.example.id
site_config {
dotnet_framework_version = "v4.0"
scm_type = "LocalGit"
min_tls_version = "1.0"
}
}
After
resource "azurerm_linux_web_app" "example" {
name = "example-app-service"
location = azurerm_resource_group.example.location
resource_group_name = azurerm_resource_group.example.name
service_plan_id = var.service_plan_id
site_config {
minimum_tls_version = "1.3"
}
}
The second requires 1.3 only on the Linux Web App’s app endpoint. Plan a separate migration if moving an existing app to this resource type, and supply its actual Linux service plan ID.