jd-opensource / jd-opensource/sbom-tool

SPDX JSON created should contain a lowercase `PURL` key

Open
#4 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
14
Forks
4
PR merge metrics
No merged PRs in 30d

Description

While the SPDX spec is not mandating lowercase field names (or is explicit about case sensitivity), generally _all_ fields in the spec are written in lowercase.

This is also the case for the [`purl`](https://spdx.github.io/spdx-spec/v2.3/external-repository-identifiers/#f35-purl) field, which is currently blocking SPDX files generated by `sbom-tool` to be ingested by downstream tooling.

Let's ensure the field names generated by this tool are all lowercased to ensure maximum compatibility.

(for reference, `cdxgen` does this correctly).

cc @mcombuechen

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.