Terraform

Terraform

By DeepSource

Storage logging for queue service does not have read, write, and delete requests enabled TF-S1033

Security

It is recommended for Microsoft Azure Storage Queue service logging be enabled for read, write, and delete requests. The Storage Queue cloud service stores messages that can be read by any user that has access to your storage account. The Azure Storage Queue service logs details successful and failed requests made to the queues and end-to-end latency, server latency, and authentication.

Recommended

resource "azurerm_storage_account" "recommended" {
    name                     = "deepsource"
    resource_group_name      = data.azurerm_resource_group.example.name
    account_tier             = "Standard"
    queue_properties  {
    logging {
        delete                = true
        read                  = true
        write                 = true
        version               = "1.0"
        retention_policy_days = 10
    }
  }
}