Skip to main content

zerobom-azure

Microsoft Azure inventory backend plugins for zerobom, integrating via standard zerobom.backends entry points:

  • azure_resource_graph: Queries Microsoft Defender for Cloud / Azure Resource Graph (microsoft.security/softwareinventories) across subscriptions, management_groups, or tenant_scope=true with quota-aware $skipToken pacing, osPlatform distro mapping, and sovereign cloud presets (commercial, usgov, china).
  • azure_blob_sbom: Streams plain or .gz-compressed CycloneDX (1.4–1.6) and SPDX (2.2–2.3) JSON SBOMs concurrently from Azure Blob Storage containers while skipping Archive-tier blobs cleanly.

Coverage note: azure_resource_graph (microsoft.security/softwareinventories) covers VM and Arc-enabled server software inventories via Defender TVM; pair it with oci_sbom (for ACR container images) or azure_blob_sbom for exported container SBOMs.

Installation

uvx "zerobom[azure]" scan --osv advisory.osv.json --backend azure_resource_graph --backend-opt subscriptions=00000000-0000-0000-0000-000000000000

Or install into an existing project environment:

pip install "zerobom[azure]"

azure-identity (DefaultAzureCredential) is included directly and refreshes bearer tokens automatically across long-lived watch sessions.

Usage Examples

Azure Resource Graph (azure_resource_graph)

zerobom scan \
  --osv advisory.osv.json \
  --backend azure_resource_graph \
  --backend-opt subscriptions=11111111-1111-1111-1111-111111111111 \
  --format sarif > results.sarif

Scope options (mutually exclusive):

  • --backend-opt subscriptions=<guid> (or ZEROBOM_AZURE_SUBSCRIPTION_ID)
  • --backend-opt management_groups=<mg-id>
  • --backend-opt tenant_scope=true

Authentication priority:

  1. Explicit access_token option
  2. ZEROBOM_AZURE_ACCESS_TOKEN or ZEROBOM_AZURE_TOKEN
  3. Automatic DefaultAzureCredential (disable fallback with --backend-opt use_default_credential=false)

Least-privilege RBAC role: Reader (plus Security Reader on target subscriptions/management groups).

Azure Blob Storage SBOM Prefix (azure_blob_sbom)

zerobom scan \
  --osv advisory.osv.json \
  --backend azure_blob_sbom \
  --backend-opt account_name=corpsbomstore \
  --backend-opt container=sboms \
  --backend-opt prefix=prod/

Supports Entra bearer auth (DefaultAzureCredential / token env vars) or SAS tokens (sas_token / ZEROBOM_AZURE_SAS_TOKEN, preserving literal + characters in sig=).

Least-privilege RBAC role: Storage Blob Data Reader.

Documentation & License

Metadata

Release files for zerobom-azure 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zerobom-azure 0.1.0
File Size Uploaded Provenance Actions
zerobom_azure-0.1.0.tar.gz 20.7 kB With provenance Details for zerobom_azure-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for zerobom-azure 0.1.0
File Interpreter ABI Platform Actions
zerobom_azure-0.1.0-py3-none-any.whl Python 3 none any Details for zerobom_azure-0.1.0-py3-none-any.whl

Total release size: 46.3 kB

Release files / zerobom_azure-0.1.0.tar.gz

Download URL zerobom_azure-0.1.0.tar.gz
Size 20.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8d888af48b32b9509f0f5c7655d4ab7749c638f38edb05beff33df916780019a
BLAKE2b-256 checksum
How to use checksums
2a711e309a7a2744b5e6e390e9f8de812958c1ae40d204f3f6737918075df037
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Release files / zerobom_azure-0.1.0-py3-none-any.whl

Download URL zerobom_azure-0.1.0-py3-none-any.whl
Size 25.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c5fa42f7293778dad69f66b5f93c9c1b754231f5dc7fb7295f760ad0d0dcbbfd
BLAKE2b-256 checksum
How to use checksums
bff18f5df41f6576af761d8dd7ab5be80f6714f8d5a7b717c493a15c1597960a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Security for zerobom-azure 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for zerobom_azure-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page