XRAY: Why are unknown licenses being detected?
Xray detects open-source licenses on software components when scanning artifacts.
You may view the current list of open-source licenses that may be detected by Xray in the JFrog Platform UI. Navigate to the Administration tab → Xray → Settings → Compliance Licenses.
Xray uses three methods to detect open source licenses on software components as explained in detail in this knowledge base article.
If Xray fails to detect an open source license on a software component using the above-mentioned methods it will report an 'Unknown License'.
Common Instances of Unknown License
The following are common instances where Xray will report an 'Unknown License':
- The license detected is not found in Xray's Compliance Licenses list of open-source licenses.
- The package registry of the open-source component does not list any licenses.
- An open source license is listed on the package registry however the official registry does not contain any information on the component's licensing.
- The software component name differs from the registry listed component name this prevents Xray from matching the open source component in the database and ultimately results in an "Unknown License".
False negatives:
In cases of a false negative where "Unknown License" is reported by Xray. Please share the details with JFrog Support of the open source license, the component name, and the official registry itself listing the license.