π 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
- 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-d95ea48b
Similar Internal Rulesβ
Rule | Policies | Flags |
---|---|---|
βοΈ dec-x-d95ea48b | 1 |
Logicβ
- π§ prod.logic.yaml π’
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β
From Azure Portalβ
- Go to
Storage Accounts
.- For each storage account, under
Settings
, clickConfiguration
.- Ensure that
Secure transfer required
is set toEnabled
.From Azure CLIβ
Use the below command to ensure the
Secure transfer required
is enabled for all theStorage Accounts
by ensuring the output containstrue
for each of theStorage Accounts
:... see more
Remediationβ
Remediationβ
From Azure Portalβ
- Go to
Storage Accounts
.- For each storage account, under
Settings
, clickConfiguration
.- Set
Secure transfer required
toEnabled
.- Click
Save
.From Azure CLIβ
Use the below command to enable
Secure transfer required
for aStorage Account
:az storage account update --name <storageAccountName> --resource-group <resourceGroupName> --https-only true