lib4sbom icon indicating copy to clipboard operation
lib4sbom copied to clipboard

Library to ingest and generate SBOMs

Results 13 lib4sbom issues
Sort by recently updated
recently updated
newest added

Guessing purl thanks to cpe2purl database, upstream purl (e.g. github, gitlab, sourceforge) are preferred over distribution specific purl (e.g. debian, ubuntu, fedora, etc.) In this first iteration, only json and...

wontfix

Following on from #41 the SPDX and CycloneDX generators need to handle multiple licences for a component.

- Extra detail such as ratings added according to specification - fixes affects["versions"] field which was invalid according to cyclonedx vex specification(should be a list was a dict) - source...

enhancement

It looks like the 'hasExtractedLicensingInfos' part of JSON SBOM files (defined at https://spdx.github.io/spdx-spec/v2.3/other-licensing-information-detected/) is just ignored. I didn't find where it is processed in `SPDXParser._parse_spdx_data`, and I didn't find where...

enhancement

The license information and download location of the conversion from cdx.json to spdx.json misses the value. `from lib4sbom.parser import SBOMParser from lib4sbom.generator import SBOMGenerator from lib4sbom.data.document import SBOMDocument test_parser =...

Upgrade license data to latest list - [SPDX License List](https://github.com/spdx/license-list-data/releases/tag/v3.25.0)

Currently the SPDX generator assumes that the source of a relationship is always a package, and the target is either a package or a file: https://github.com/anthonyharrison/lib4sbom/blob/5a06007fb97cbe092545bc84aebe52fa08894301/lib4sbom/generator.py#L174-L190 SPDX [relationships](https://spdx.github.io/spdx-spec/v2.3/relationships-between-SPDX-elements/) may occur...

enhancement

Hi, I'm trying to use https://github.com/anthonyharrison/sbomconvert to convert some SPDX v2.3 documents to CycloneDX v1.6. I find it does better mapping for fields like cpe and purl compared to https://github.com/CycloneDX/cyclonedx-cli...

SPDX v3 is out now, and is much better than v2.

enhancement

It might be useful when you receive a SBOM file as an InMemoryUploadedFile. You probably want to parse it without saving to disk.