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

     1  
     2  Enable logging for Queue Services
     3  
     4  ```hcl
     5   resource "azurerm_storage_account" "good_example" {
     6       name                     = "example"
     7       resource_group_name      = data.azurerm_resource_group.example.name
     8       location                 = data.azurerm_resource_group.example.location
     9       account_tier             = "Standard"
    10       account_replication_type = "GRS"
    11       queue_properties  {
    12       logging {
    13           delete                = true
    14           read                  = true
    15           write                 = true
    16           version               = "1.0"
    17           retention_policy_days = 10
    18       }
    19     }
    20   }
    21   
    22  ```
    23  
    24  #### Remediation Links
    25   - https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/storage_account#logging
    26