๐ก๏ธ Azure Storage Account Secure Transfer Required is not enabled๐ข
- Contextual name: ๐ก๏ธ Secure Transfer Required is not enabled๐ข
- ID:
/ce/ca/azure/storage/secure-transfer-required - Tags:
- ๐ข Policy with categories
- ๐ข Policy with type
- ๐ข Production policy
- Policy Type:
COMPLIANCE_POLICY - Policy Categories:
SECURITY
Logicโ
- ๐ง prod.logic.yaml๐ข
Similar Policiesโ
- Cloud Conformity: Enable Secure Transfer in Azure Storage
- Internal:
dec-x-d95ea48b
Similar Internal Rulesโ
| Rule | Policies | Flags |
|---|---|---|
| โ๏ธ dec-x-d95ea48b | 1 |
Descriptionโ
Descriptionโ
Enable data encryption in transit.
Rationaleโ
The secure transfer option enhances the security of a storage account by only allowing requests to the storage account by a secure connection. For example, when calling REST APIs to access storage accounts, the connection must use HTTPS. Any requests using HTTP will be rejected when 'secure transfer required' is enabled. When using the Azure files service, connection without encryption will fail, including scenarios using SMB 2.1, SMB 3.0 without encryption, and some flavors of the Linux SMB client. Because Azure storage doesnโt support HTTPS for custom domain names, this option is not applied when using a custom domain name.
Auditโ
This policy flags an Azure Storage Account as
INCOMPLIANTif itsSecure Transfer Requiredis set to false.Default Valueโ
By default,
Secure transfer requiredis set toDisabled.Referencesโ
- https://docs.microsoft.com/en-us/azure/storage/blobs/security-recommendations#encryption-in-transit
- https://docs.microsoft.com/en-us/cli/azure/storage/account?view=azure-cli-latest#az_storage_account_list
... see more
Remediationโ
Remediationโ
From Azure Portalโ
- Go to
Storage Accounts.- For each storage account, under
Settings, clickConfiguration.- Set
Secure transfer requiredtoEnabled.- Click
Save.From Azure CLIโ
Use the below command to enable
Secure transfer requiredfor aStorage Account:az storage account update --name <storageAccountName> --resource-group <resourceGroupName> --https-only true