Skip to content

Minor SBOM output updates #785

@AyanSinhaMahapatra

Description

@AyanSinhaMahapatra

Some suggestions that came up in a discussion with @pombredanne, please correct me if I got it wrong:

SPDX:

  1. SPDX license list version

We have the SPDX license list version declared here: https://github.com/nexB/scancode.io/blob/main/scanpipe/pipes/spdx.py#L33 and it is 3.18, but in the latest version we have scancode-toolkit 32.0.4 and the spdx license list version is 3.20 and soon 3.21 with aboutcode-org/scancode-toolkit#3437

Ideally we should import this license list version number from this here: https://github.com/nexB/scancode-toolkit/blob/develop/src/scancode_config.py#L147 and not set this in scancode.io

  1. SPDX output size

SPDX output includes file details for all resources and this makes the output file really large. We should probably add a settings option in the menu to not add the file details in the SPDX output?

Cyclonedx:

  1. CycloneDX BOM name:

See https://cyclonedx.org/specification/overview/#recognized-file-patterns

We currently have the filename as *.bom.json but this should be *.cdx.json (or just bom.json, but we want the project details in the filename too)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions