Components and Licenses
The following enhancements to component and license information in the Code Insight data library are now available:
• | Support for License Lookup by Short Name, License ID, and External ID in the Global Component & License Lookup Feature |
• | Ability to Identify the Inventories Missing Component Versions from Directory.Build.targets and Directory.Build.props |
Support for License Lookup by Short Name, License ID, and External ID in the Global Component & License Lookup Feature
Starting in this release, the Licenses tab on the Global Component & License Lookup tab has been enhanced to allow users to search for a license in the Code Insight Data Library by its short name, license ID, and external ID. The following search options have been included in the Licenses tab on the Global Component & License Lookup tab:
• | Short Name—Selecting this option enables users to search licenses by their short name in the Code Insight Data Library. For the search criterion, enter a string containing minimum three or more characters—found in a license’s short name—in the associated Short Name field. |
• | License ID—Selecting this option enables users to search licenses by their license ID in the Code Insight Data Library. For the search criterion, enter a numeric string—corresponding to the license ID of the desired license—in the associated License ID field, such as 777. |
• | External ID—Selecting this option enables users to search licenses by their external ID in the Code Insight Data Library. For the search criterion, enter a numeric, character, or alphanumeric string (such as, CC-BY-1)—found in the external ID of the desired license—in the associated External ID field. |
The following displays the Licenses tab on the Global Component & License Lookup tab:
After performing a successful search of licenses based on the desired search criteria, the results are listed in a grid below the search criterion on the Global Component & License Lookup > Licenses tab.
The following displays the license search results based on the Short Name search method:
To filter the search results (displayed using the Short Name, License ID, or External ID option in the Search By section) for the custom licenses, you can select the Show only custom licenses checkbox that ensures the search results include only custom licenses.
For more information, see the following in the Code Insight User Guide:
• | Exploring Licenses Globally |
• | Licenses Tab |
Ability to Identify the Inventories Missing Component Versions from Directory.Build.targets and Directory.Build.props
Starting in this release, Code Insight supports identifying component versions for inventory items that were generated without component versions during the scan of the .csproj manifest file that lacks component version details. By using the Directory.Build.targets and Directory.Build.props manifest files, where missing component versions information are specified, the scanner identifies the required component versions and updates those inventory items with their corresponding component versions while scanning. This enhancement ensures accurate component version identification, facilitating the generation of a complete and reliable SBOM.