HIGH
Source
Trivy
ID
AVD-AZU-0007

Storage containers in blob storage mode should not have public access

Storage container public access should be off. It can be configured for blobs only, containers and blobs or off entirely. The default is off, with no public access. Explicitly overriding publicAccess to anything other than off should be avoided.

Impact

Follow the appropriate remediation steps below to resolve the issue.

Disable public access to storage containers

1
2
3
4
resource "azurerm_storage_container" "good_example" {
  name                  = "terraform-container-storage"
  container_access_type = "private"
}