github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/avd_docs/azure/storage/AVD-AZU-0008/Terraform.md (about)

     1  
     2  Only allow secure connection for transferring data into storage accounts
     3  
     4  ```hcl
     5   resource "azurerm_storage_account" "good_example" {
     6     name                      = "storageaccountname"
     7     resource_group_name       = azurerm_resource_group.example.name
     8     location                  = azurerm_resource_group.example.location
     9     account_tier              = "Standard"
    10     account_replication_type  = "GRS"
    11     enable_https_traffic_only = true
    12   }
    13   
    14  ```
    15  
    16  #### Remediation Links
    17   - https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/storage_account#enable_https_traffic_only
    18