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) acrosssubscriptions,management_groups, ortenant_scope=truewith quota-aware$skipTokenpacing,osPlatformdistro 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 skippingArchive-tier blobs cleanly.
Coverage note:
azure_resource_graph(microsoft.security/softwareinventories) covers VM and Arc-enabled server software inventories via Defender TVM; pair it withoci_sbom(for ACR container images) orazure_blob_sbomfor 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>(orZEROBOM_AZURE_SUBSCRIPTION_ID)--backend-opt management_groups=<mg-id>--backend-opt tenant_scope=true
Authentication priority:
- Explicit
access_tokenoption ZEROBOM_AZURE_ACCESS_TOKENorZEROBOM_AZURE_TOKEN- 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
- Documentation: https://zerobom.dev/backends/
- License: Apache-2.0
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)
| 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)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| 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 logRelease 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 logSecurity 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.
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 logA 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.