mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 16:33:21 +01:00
Add license for golang stdlib (#2317)
Signed-off-by: Colm O hEigeartaigh <coheigea@apache.org>
This commit is contained in:
parent
43bdf6e1b2
commit
0652998b9b
@ -87,6 +87,7 @@ func newGoStdLib(version string, location file.LocationSet) *pkg.Package {
|
|||||||
PURL: packageURL("stdlib", strings.TrimPrefix(version, "go")),
|
PURL: packageURL("stdlib", strings.TrimPrefix(version, "go")),
|
||||||
CPEs: []cpe.CPE{stdlibCpe},
|
CPEs: []cpe.CPE{stdlibCpe},
|
||||||
Locations: location,
|
Locations: location,
|
||||||
|
Licenses: pkg.NewLicenseSet(pkg.NewLicense("BSD-3-Clause")),
|
||||||
Language: pkg.Go,
|
Language: pkg.Go,
|
||||||
Type: pkg.GoModulePkg,
|
Type: pkg.GoModulePkg,
|
||||||
Metadata: pkg.GolangBinaryBuildinfoEntry{
|
Metadata: pkg.GolangBinaryBuildinfoEntry{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user