π Azure App Service Minimum TLS Version is not set to TLS 1.2 or higher π’
- Contextual name: π Minimum TLS Version is not set to TLS 1.2 or higher π’
- ID:
/ce/ca/azure/app-service/minimum-tls-version
- Located in: π Azure App Service
Flagsβ
- π’ Policy with categories
- π’ Policy with type
- π’ Production policy
Our Metadataβ
- Policy Type:
COMPLIANCE_POLICY
- Policy Category:
SECURITY
Similar Policiesβ
- Cloud Conformity
- Internal
dec-x-2ace1952
Similar Internal Rulesβ
Rule | Policies | Flags |
---|---|---|
βοΈ dec-x-2ace1952 | 1 |
Logicβ
- π§ prod.logic.yaml π’
Descriptionβ
Descriptionβ
The TLS (Transport Layer Security) protocol secures transmission of data over the internet using standard encryption technology. Encryption should be set with the latest version of TLS. App service allows TLS 1.2 by default, which is the recommended TLS level by industry standards such as PCI DSS.
Rationaleβ
App service currently allows the web app to set TLS versions 1.0, 1.1 and 1.2. It is highly recommended to use the latest TLS 1.2 version for web app secure connections.
Auditβ
From Azure Portalβ
- Login to Azure Portal using https://portal.azure.com.
- Go to
App Services
.- Click on each App.
- Under
Setting
section, Click onTLS/SSL settings
.- Under the
Bindings
pane, ensure thatMinimum TLS Version
set to1.2
underProtocol Settings
.From Azure CLIβ
To check TLS Version for an existing app, run the following command:
az webapp config show --resource-group <RESOURCE_GROUP_NAME> --name <APP_NAME> --query minTlsVersion
The output should return
1.2
if TLS Version is set to1.2
(Which is currently the latest version).... see more
Remediationβ
Remediationβ
From Azure Portalβ
- Login to Azure Portal using https://portal.azure.com.
- Go to
App Services
.- Click on each App.
- Under
Setting
section, Click onSSL settings
.- Under the
Bindings
pane, setMinimum TLS Version
to1.2
underProtocol Settings
section.From Azure CLIβ
To set TLS Version for an existing app, run the following command:
az webapp config set --resource-group <RESOURCE_GROUP_NAME> --name <APP_NAME> --min-tls-version 1.2
From PowerShellβ
Set-AzWebApp -ResourceGroupName <RESOURCE_GROUP_NAME> -Name <APP_NAME> -MinTlsVersion 1.2