CycloneDX/sbom-utility

`diff` panics while diffing two files

Offen

#74 geöffnet am 20.03.2024

 (9 Kommentare) (0 Reaktionen) (1 zugewiesene Person)Go (20 Forks)auto 404
bugenhancementhelp wanted

Repository-Metriken

Stars
 (155 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Hi, I'm trying to compare two SBoMs generated with two different versions of trivy.

sbom-utils thinks hard for a bit and then panics with panic: runtime error: slice bounds out of range [2004:1743]

Here are the files:

nats-box-49.sbom.json nats-box-50.sbom.json

And this is the command line I've used:

sbom-utility diff --input-file nats-box-49.sbom.json --input-revision nats-box-50.sbom.json

Contributor Guide