Tern is a software composition analysis tool and Python library that generates a Software Bill of Materials for container images and Dockerfiles. The SBOM that Tern generates will give you a layer-by-layer view of what's inside your container in a variety of formats including human-readable, JSON, HTML, SPDX and more.
BSD 2-Clause "Simplified" License
967
stars
188
forks
source link
[SPDX][JSON] SBOM value format is incorrect for licenseDeclared #1224
Summary
SPDX value format is missing or incorrect for
licenseDeclared
on line number1274
in the linked SBOM."licenseDeclared": "LGPL-2.0+, GPL-2.0+, LGPL-2.1+",
Background
docker run ternd report -f spdxjson -i ubuntu:latest > output.json
for ubuntu tag latestSPDX value format is missing or incorrect for
licenseDeclared
Expected behavior
licenseDeclared
should be a valid SPDX string. Rule: The exact syntax of license expressions is described below in ABNF.Error: licenseDeclared contains ','
Screenshots
If applicable, add screenshots to help explain the problem.
Repository
Which repository causes this error?
Additional Context
Optional - add any other context about the problem here.
Acceptance Criteria
The "done" criteria when this feature or problem is resolved. Such as:
References
output_fixed.json.txt
Limited to SPDX. Finder: sbomqs SBOM: sbomlc-ubuntu-latest