Skip to content

License Overrides for Go #4627

@hmmh-dominik-saeume

Description

@hmmh-dominik-saeume

What would you like to be added:
I want to define a specific licence ID (or in my case a Licese-Ref, as It's not in SPDX) for a private go package, that will be used when I generate an SBOM with Syft.
This could be through some file. In the repository of the private package, or me providing syft with a Licenses Text, and what ID it should be, so it will match it in its scanns.

Why is this needed:
Go has no Licence Field in its go.mod and won't add it.
This means that Syft currently can only detect FOSS Licences, resulting in unknowns for private or Internal packages.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions