Skip to content

SPDX SBOM generation #882

@redcatbear

Description

@redcatbear

Summary

We want to deliver SPDX SBOMs with our modules. They should contain all runtime dependencies and license information.

Details

In our poetry-based setup the most convenient way to get to and SPDX SBOM is a two step approach with CycloneDX:

cyclonedx-py poetry -o bom.cdx.json
cyclonedx convert --input-file bom.cdx.json --input-format json --output-file bom.spdx.json --output-format spdxjson

Background & Context

SBOMs are consumed by security and compliance scanners to determine if there are vulnerabilities and / or non-compliant licenses in a project.

References

  1. https://spdx.dev/
  2. https://cyclonedx.org/

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureProduct feature

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions