π Azure Storage Account 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/storage/minimum-tls-version
- Located in: π Azure Storage
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-b94bd368
Similar Internal Rulesβ
Rule | Policies | Flags |
---|---|---|
βοΈ dec-x-b94bd368 | 1 |
Logicβ
- π§ prod.logic.yaml π’
Descriptionβ
Descriptionβ
In some cases, Azure Storage sets the minimum TLS version to be version 1.0 by default. TLS 1.0 is a legacy version and has known vulnerabilities. This minimum TLS version can be configured to be later protocols such as TLS 1.2.
Rationaleβ
TLS 1.0 has known vulnerabilities and has been replaced by later versions of the TLS protocol. Continued use of this legacy protocol affects the security of data in transit.
Impactβ
When set to TLS 1.2 all requests must leverage this version of the protocol. Applications leveraging legacy versions of the protocol will fail.
Auditβ
From Azure Consoleβ
- Go to
Storage Accounts
.- For each storage account, under
Settings
, clickConfiguration
.- Ensure that the
Minimum TLS version
is set toVersion 1.2
.From Azure CLIβ
Get a list of all storage accounts and their resource groups:
az storage account list | jq '.[] | {name, resourceGroup}'
Then query the
minimumTLSVersion
field:az storage account show \
--name <storage-account> \
--resource-group <resource-group> \
... [see more](description.md)
Remediationβ
Remediationβ
From Azure Consoleβ
- Go to
Storage Accounts
.- For each storage account, under
Settings
, clickConfiguration
.- Set the
Minimum TLS version
toVersion 1.2
.- Click
Save
.From Azure CLIβ
az storage account update \
--name <storage-account> \
--resource-group <resource-group> \
--min-tls-version TLS1_2From Azure PowerShellβ
To set the minimum TLS version, run the following command:
Set-AzStorageAccount -AccountName <STORAGEACCOUNTNAME> ` -ResourceGroupName <RESOURCEGROUPNAME> ` -MinimumTlsVersion TLS1_2