Syft sometimes reports URL for license value when scanning JARs with a URL in Bundle-License
field of manifest
#3186
Labels
bug
Something isn't working
What happened:
When scanning licenses from JARs from https://mvnrepository.com/artifact/net.bytebuddy/byte-buddy/1.14.11 or https://mvnrepository.com/artifact/commons-io/commons-io/2.16.1, Syft reports a license object like this (Syft JSON output):
What you expected to happen:
Syft should report
Apache-2.0
for spdxExpression and a URL for the URL.Steps to reproduce the issue:
Anything else we need to know?:
syft/syft/pkg/cataloger/java/parse_java_manifest.go
Line 258 in f2caf45
Bundle-License
always points to a license name.Environment:
syft version
:cat /etc/os-release
or similar):M1 Mac
The text was updated successfully, but these errors were encountered: