🛡️ 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 Type:
COMPLIANCE_POLICY - Policy Categories:
SECURITY
Stats
not available
Logic
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 following command to enable
Secure transfer requiredfor a storage account:az storage account update \
--name {{storage-account-name}} \
--resource-group {{resource-group-name}} \
--https-only true