rules/findings/azure/storage/azure-storage-account-secure-transfer-disabled.json
|
{
"provider": "Azure", "serviceType": "Storage Accounts", "serviceName": "Storage", "displayName": "Ensure that \u0027Secure transfer required\u0027 is set to \u0027Enabled\u0027", "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 \u0027secure transfer required\u0027 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 does not support HTTPS for custom domain names, this option is not applied when using a custom domain name.", "impact": null, "remediation": { "text": "###### From Azure Console\r\n\t\t\t\t\t1. Go to `Storage Accounts`\r\n\t\t\t\t\t2. For each storage account, go to `Configuration`\r\n\t\t\t\t\t3. Set `Secure transfer required` to `Enabled`", "code": { "powerShell": null, "iac": null, "terraform": null, "other": null } }, "recommendation": null, "references": [ "https://docs.microsoft.com/en-us/azure/storage/common/storage-require-secure-transfer", "https://docs.microsoft.com/en-us/azure/storage/common/storage-security-guide", "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" ], "compliance": [ { "name": "CIS Microsoft Azure Foundations", "version": "5.0.0", "reference": "9.3.4", "profile": [ "Level 1" ] } ], "level": "medium", "tags": [ ], "rule": { "path": "az_storage_accounts", "subPath": null, "selectCondition": { }, "query": [ { "filter": [ { "conditions": [ [ "networking.supportsHttpsTrafficOnly", "eq", "False" ] ] } ] } ], "shouldExist": null, "returnObject": null, "removeIfNotExists": null }, "output": { "html": { "data": { "properties": { "name": "Name", "CreationTime": "Creation Time", "location": "Location", "networking.supportsHttpsTrafficOnly": "Https Only" }, "expandObject": null }, "table": "default", "decorate": [ ], "emphasis": [ ], "actions": { "objectData": { "properties": [ "name", "location", "ResourceGroupName", "networking" ], "expandObject": null, "limit": null }, "showGoToButton": "True", "showModalButton": "True", "directLink": null } }, "text": { "data": { "properties": { "name": "Name", "CreationTime": "Creation Time", "location": "Location", "networking.supportsHttpsTrafficOnly": "Https Only" }, "expandObject": null }, "status": { "keyName": ["name"], "message": "Ensure that \u0027Secure transfer required\u0027 is set to \u0027Enabled\u0027 for {name}", "defaultMessage": "Ensure that \u0027Secure transfer required\u0027 is set to \u0027Enabled\u0027" }, "properties": { "resourceName": "name", "resourceId": "id", "resourceType": "AzureStorageAccount" }, "onlyStatus": false } }, "idSuffix": "storage_accounts_secure_transfer_disabled", "notes": [ ], "categories": [ ], "immutable_properties": [ "id" ], "id": "azure_storage_014" } |