Adding a Partial or Exact Match Codebase File to an Inventory Item Based on an Associated Component

FlexNet Code Insight 2020 R1

Use the following procedure to easily add a given a codebase file that exactly or partially matches a remote file (in the Compliance Library) to an inventory item.

To add an exact or partial match codebase file to an inventory item based on an associated component version, do the following:

1. In the Analysis Workbench, click the Exact or Source matches link in the legend at the top right of the workbench to search for codebase files that are exact or partial matches to files in the Compliance Library. Results are listed in the File Search Results pane.
2. From the list in File Search Results, locate and click the codebase file you want to add to an inventory item based on a specific component version associated with the file.
3. Open the File Details tab, and, at the top of the tab, select the Exact Matches or Partial Matches tab.

Additionally, if you are on the Partial Matches tab, select the Source Matches checkbox.

4. From the Remote Files panel, select the remote file associated with the component on which the inventory item you want to add is based (or will be based if you need to create an inventory item).
5. In the Components panel, locate the component version that you believe is the origin of the matching code in the scanned codebase file, and click the Add File to Inventory icon in that component row.

Code Insight searches for existing inventory items associated with the given component version. If one or more inventory items exist, the Add to Inventory dialog is displayed, showing the list of available inventory items. Continue with Step 7.

Otherwise, if no inventory items are currently associated with the given component version, the Lookup Component window is displayed, showing the given component version. From this window, you can register an instance for the component version (by selecting a license), register a new component version, search for a new component altogether, or create a custom component. Once you click Use This Instance for a component version in the Lookup Component window, Code Insight creates the inventory item based on the selected component instance.

6. Perform either of the following:
If you want to add the codebase file to one of the existing inventory items, continue with Step 8.
If you want to add the codebase a new inventory item, click Add New to open the Lookup Component window, showing the currently available instances for the component version. From this window, you can either select an instance on which to base the inventory item, register a new instance, search for a new component, or create a custom component. Once you click Use This Instance for a component version in the Lookup Component window, Code Insight creates the inventory item based on the selected instance.
7. Click the checkbox next to the inventory item to which you want to add the file.
8. (Optional) To mark the selected codebase file as reviewed, click Mark file as reviewed.
9. Click Submit. Code Insight adds the codebase file to the inventory item.