Specifying a User-Preferred License Mapping
Project scans in Code Insight automatically create inventory for detected third-party or open-source components. The scans use resources such as the Code Insight Data Library to obtain inventory details, including licenses commonly associated with component versions. During a review of the inventory resulting from a scan, users might find that the license associated with given a component version is incorrect or unknown or that the version is associated with multiple licenses with no single license selected for the inventory item. In such cases, the reviewer must manually edit the inventory item to select the correct license. Because this same license-mapping issue can reoccur for new inventory generated across projects after each scan, users might be required to repeatedly edit inventory.
Code Insight provides a feature that enables users to specify a single license that is to be mapped to all future inventory automatically generated for a given component version across all projects. In this way, users do not have to repeat the manual mapping process for new inventory items system-wide every time scans are run. The license that the user specifies is called the “user-preferred license”.
The following topics provide the information you need to know about identifying a user-preferred license.