User provided license information for Components GA
Release notes
Problem to solve
Right now, when running Dependency Scanning, if some license files are unknown (new license, uncommon one, ...) the license is listed as "Unknown". However, in some cases, this license might be very common to a given customer. Right now, there is no way to declare that license and list it accordingly. This makes it hard to track licenses and flood the license list with Unknown while some may be well knowns.
Proposal
Allow declaration of licenses, directly from an unknown one, or from a dedicated page.
-
If the scanner has identified a file (LICENSE.md, ...) but have failed to identify the license, then the user could set a name to this license so next scans (for the top-level group or the instance) finding this file will identify the license.
-
From a dedicated page, the user set a name, a content and eventually a file path and name where the license should be located. Then the above behavior applies.
Intended users
Feature Usage Metrics
- Number of times an unknown license is defined as "known" after being scanned.
- Number of times the new dedicated page is used.