zerobom-gcp
Google Cloud Platform inventory backend plugins for zerobom, integrating via standard zerobom.backends entry points:
gcp_artifact_analysis: Queries GCP Container Analysis / Artifact Analysis occurrences (kind="PACKAGE"and/orkind="SBOM_REFERENCE"with SHA-256 verified GCS SBOM resolution), supporting global and regional (location=...) endpoints, CPE 2.2/2.3 OS distro resolution, and safe CEL filtering.gcs_sbom: Streams plain or.gz-compressed CycloneDX (1.4–1.6) and SPDX (2.2–2.3) JSON SBOMs concurrently from Google Cloud Storage prefixes (including Requester Pays viauser_project=...).
Installation
uvx "zerobom[gcp]" scan --osv advisory.osv.json --backend gcp_artifact_analysis --backend-opt project_id=my-gcp-project
Or install into an existing project environment:
pip install "zerobom[gcp]"
Application Default Credentials (google-auth[requests]) are included by default and refresh automatically across long-lived watch sessions.
Usage Examples
GCP Artifact Analysis (gcp_artifact_analysis)
zerobom scan \
--osv advisory.osv.json \
--backend gcp_artifact_analysis \
--backend-opt project_id=my-prod-project \
--backend-opt location=us \
--backend-opt mode=both \
--format sarif > results.sarif
Authentication priority:
- Explicit
access_tokenoption ZEROBOM_GCP_ACCESS_TOKEN,ZEROBOM_GCP_TOKEN, orGOOGLE_OAUTH_ACCESS_TOKEN- Automatic Application Default Credentials (disable fallback with
--backend-opt use_adc=false)
Least-privilege IAM roles:
roles/containeranalysis.occurrences.viewerroles/storage.objectViewer(when usingmode=sbom_referenceormode=both)
Google Cloud Storage SBOM Prefix (gcs_sbom)
zerobom scan \
--osv advisory.osv.json \
--backend gcs_sbom \
--backend-opt bucket=corp-sboms \
--backend-opt prefix=services/
Least-privilege IAM role: roles/storage.objectViewer.
Documentation & License
- Documentation: https://zerobom.dev/backends/
- License: Apache-2.0
Metadata
Release files for zerobom-gcp 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_gcp-0.1.0.tar.gz | 21.0 kB | With provenance | Details for zerobom_gcp-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| zerobom_gcp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for zerobom_gcp-0.1.0-py3-none-any.whl |
Total release size: 47.1 kB
Release files / zerobom_gcp-0.1.0.tar.gz
| Download URL | zerobom_gcp-0.1.0.tar.gz |
|---|---|
| Size | 21.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
70d6d6fa7cba1c4957c8a720de85751d83cd09fe4638529d8d2301a16a11f47a
|
|
BLAKE2b-256 checksum How to use checksums |
fac6cee03976683b22d9b2a7e4facc81912222e25e2196f63107f6b6b195fa00
|
| 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_gcp-0.1.0-py3-none-any.whl
| Download URL | zerobom_gcp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 26.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5b610f7ad1985aa6cf623b999dd2d4c3f5f3e509d461d17f21e3ba4a28fac37d
|
|
BLAKE2b-256 checksum How to use checksums |
6aed2d30f6a98ceccc8d609a2c58aeb0e1c4987c71cdef79c041c04789e02fc9
|
| 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-gcp 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_gcp-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.