๐ก๏ธ 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 - Tags:
- ๐ข Policy with categories
- ๐ข Policy with type
- ๐ข Production policy
- Policy Type:
COMPLIANCE_POLICY - Policy Categories:
SECURITY
Logicโ
- ๐ง prod.logic.yaml๐ข
Similar Policiesโ
- Cloud Conformity: Check for TLS Protocol Latest Version
- Internal:
dec-x-2ace1952
Similar Internal Rulesโ
| Rule | Policies | Flags |
|---|---|---|
| โ๏ธ dec-x-2ace1952 | 1 |
Descriptionโ
Descriptionโ
The TLS (Transport Layer Security) protocol secures transmission of data over the internet using standard encryption technology. Encryption should be set to 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โ
- Log in to the Azure portal using https://portal.azure.com.
- Go to
App Services.- Select each app.
- Under
Settings, selectTLS/SSL settings.- Under the
Bindingspane, ensureMinimum TLS Versionis set to1.2underProtocol Settings.From Azure CLIโ
To check the TLS version for an existing app, run the following command:
az webapp config show \
--resource-group {{resource-group-name}} \
--name {{app-name}} \
--query minTlsVersionThe output should return
1.2if the TLS version is set to1.2(which is currently the latest version).... see more
Remediationโ
Remediationโ
From Azure Portalโ
- Log in to the Azure portal using https://portal.azure.com.
- Go to
App Services.- Select each app.
- Under
Settings, selectSSL settings.- Under the
Bindingspane, setMinimum TLS Versionto1.2underProtocol Settingssection.From Azure CLIโ
To set the 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.2From PowerShellโ
Set-AzWebApp `
-ResourceGroupName {{resource-group-name}} `
-Name {{app-name}} `
-MinTlsVersion 1.2