Skip to content

Scan package and Improve from PurlDB should treat "unknown" license as an empty license #202

@DennisClark

Description

@DennisClark

A recent import of an SBOM, originally generated from SCIO, to a DejaCode product imported multiple packages (originally detected as dependencies by SCIO) with minimal information, many with empty Download URLs, and with license expression set to unknown. I ran the "Improve Packages from PurlDB" Action on the product and it ran successfully and updated multiple Download URL values, but even though PurlDB has a license for many of those packages they remained with a license key of unknown, which is not very useful.

I also submitted a scan for one of the packages with an unknown license and the scan ran successfully, and the results show a meaningful license, but it did not update the package license assignment.

This is understandable since our general guideline is not to update non-empty fields automatically, but I think that we can and should make an exception for the unknown license key (and possibly some others, but let's focus on this one).

Improving this will make our SBOM imports a lot more useful.

Metadata

Metadata

Labels

HighPriorityHigh PriorityenhancementNew feature or requestintegrationIntegration with other applications

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions