Skip to content

bug(arm): adapter does not find blob containers #11659

Closed

Description

@nikpivkin

Discussed in #11655

The ARM adapter looks for blob containers under the type containerServices/containers, which does not exist in Azure. Containers are Microsoft.Storage/storageAccounts/blobServices/containers resources, so AZU-0007 and AZU-0060 never see them.

AZU-0007 does not report the public container in this template.

{
  "type": "Microsoft.Storage/storageAccounts",
  "name": "example",
  "properties": {},
  "resources": [
    {
      "type": "blobServices",
      "name": "default",
      "resources": [
        {
          "type": "containers",
          "name": "public",
          "properties": { "publicAccess": "Container" }
        }
      ]
    }
  ]
}

Trivy should find containers nested in the storage account and declared at the top level. The adapter also passes publicAccess through as written (None, Blob, Container), but AZU-0007 expects off, blob or container. A container with publicAccess: None or without publicAccess should pass the check.

Activity

  1. added
    kind/bug
    scan/misconfiguration
    on Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugscan/misconfiguration

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions