< Back to rules search'Secure transfer required' is set to 'Enabled'
Set up the azure.storage integration.
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 be 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.
From the console
- Go to Storage Accounts
- For each storage account, go to Configuration
- Set Secure transfer required to Enabled
From the command line
Interface 2.0 - Use the below command to enable Secure transfer required for a Storage Account: az storage account update --name <storageAccountName> --resource-group <resourceGroupName> --https-only true
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
- https://docs.microsoft.com/en-us/cli/azure/storage/account?view=azure-cli-latest#az_storage_account_update
- https://docs.microsoft.com/en-us/azure/security/benchmarks/security-controls-v2-data-protection#dp-4-encrypt-sensitive-information-in-transit
CIS Controls
Version 7 - 14.4 Encrypt All Sensitive Information in Transit