zerobom-aws
AWS inventory backend plugins for zerobom, integrating via standard zerobom.backends entry points:
aws_security_hub: Queries AWS Security HubGetSoftwareV2andGetSoftwareResourcesV2software inventory (including AWS OrganizationsScopesand STSAssumeRole) without exporting or mutating security findings.aws_inspector_sbom: Consumes Amazon Inspector v2 CycloneDX 1.4 / SPDX 2.3 SBOM exports from S3 (report_id=...read-only by default, or opt-intrigger_export=truewith bounded polling and EC2/ECR/Lambda asset enrichment).s3_sbom: Streams plain or.gz-compressed CycloneDX (1.4–1.6) and SPDX (2.2–2.3) JSON SBOMs from Amazon S3 prefixes with concurrent downloads, Glacier/Deep Archive skipping, bucket-owner validation, and traversal guards.
Installation
uvx "zerobom[aws]" scan --osv advisory.osv.json --backend aws_security_hub --backend-opt region_name=us-east-1
Or install into an existing project environment:
pip install "zerobom[aws]"
Usage Examples
AWS Security Hub v2 (aws_security_hub)
zerobom scan \
--osv advisory.osv.json \
--backend aws_security_hub \
--backend-opt region_name=us-east-1 \
--backend-opt account_ids=111122223333 \
--backend-opt organization_id=o-abc1234567 \
--format sarif > results.sarif
Least-privilege read-only IAM actions required:
securityhub:GetSoftwareV2securityhub:GetSoftwareResourcesV2- Optional cross-account role:
sts:AssumeRole(viarole_arn=...,external_id=...)
Amazon Inspector v2 SBOM (aws_inspector_sbom)
Read-only consumption (default) using an existing Inspector2 report ID:
zerobom scan \
--osv advisory.osv.json \
--backend aws_inspector_sbom \
--backend-opt report_id=abc12345-report-id \
--backend-opt region_name=us-east-1 \
--backend-opt expected_bucket_owner=111122223333
Opt-in on-demand export (trigger_export=true):
zerobom scan \
--osv advisory.osv.json \
--backend aws_inspector_sbom \
--backend-opt trigger_export=true \
--backend-opt s3_bucket=corp-inspector-sboms \
--backend-opt kms_key_arn=arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab \
--backend-opt report_format=CYCLONEDX_1_4 \
--backend-opt resource_types=AWS_ECR_CONTAINER_IMAGE,AWS_EC2_INSTANCE
Least-privilege IAM actions required:
- Read-only mode:
inspector2:GetSbomExport,s3:ListBucket,s3:GetObject - Opt-in export mode: additionally
inspector2:CreateSbomExport(andkms:GenerateDataKey/kms:Decryptfor SSE-KMS buckets)
Amazon S3 SBOM Prefix (s3_sbom)
zerobom scan \
--osv advisory.osv.json \
--backend s3_sbom \
--backend-opt bucket=corp-sbom-archive \
--backend-opt prefix=prod/ \
--backend-opt region_name=us-east-1 \
--backend-opt expected_bucket_owner=111122223333
Least-privilege read-only IAM actions required:
s3:ListBuckets3:GetObject
Documentation & License
- Documentation: https://zerobom.dev/backends/
- License: Apache-2.0
Metadata
Release files for zerobom-aws 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_aws-0.1.0.tar.gz | 22.9 kB | With provenance | Details for zerobom_aws-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| zerobom_aws-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for zerobom_aws-0.1.0-py3-none-any.whl |
Total release size: 52.1 kB
Release files / zerobom_aws-0.1.0.tar.gz
| Download URL | zerobom_aws-0.1.0.tar.gz |
|---|---|
| Size | 22.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
26302b6c2a3b3b4ae19a169ce5c850958aa19b9c69f3cef4604df97271283383
|
|
BLAKE2b-256 checksum How to use checksums |
ded77ee526246fbeaa193c8648d8de1fd161201fc0302c50dceea9eb92e5c230
|
| 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_aws-0.1.0-py3-none-any.whl
| Download URL | zerobom_aws-0.1.0-py3-none-any.whl |
|---|---|
| Size | 29.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
02fcf60ca0265b3d29d6e33bb6e3452262f26eabc6e1453d8b8b15cfeaa228e5
|
|
BLAKE2b-256 checksum How to use checksums |
6f2b1828d20c6ce727bab3a4248210ab63402b927daa8b93e842391207ea1b2f
|
| 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-aws 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_aws-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.