Adding Files to Inventory From the Codebase List

This section describes how to “inventory” selected codebase files from the Codebase Files or File Search Results list in the Analysis Workbench, either by associating these files with existing inventory or by creating a new inventory item with which to associate them.

To create or update an inventory item with files from the Codebase Files list, do the following:

1. Open the Analysis Workbench for the desired project. (For instructions, see Opening the Analysis Workbench.)
2. (Perform this step only when adding files to a single existing inventory item. Otherwise, skip to step 3.) Navigate to the Inventory Items pane, and select the inventory item to open its Inventory Details tab.
3. On the left side of the Analysis Workbench, navigate to the Codebase Files pane or the File Search Results pane.
4. Select one or more codebase files that you want to add to inventory (or select one or more folders whose files you to add).

Note:You cannot select the base node for a Scan Server or a remote scan agent for this function.

5. Proceed with either procedure:
If adding files to the inventory item whose Inventory Details tab you opened in step 2, drag and drop the selected files to the Associated Files tab on that tab.
If adding the selected files to multiple existing inventory items or if creating an inventory item using the selected files as associated files:
a. Right-click the selected files to open a pop-up menu, and select Add to Inventory to open the Add to Inventory dialog.
b. Continue with either Add Selected Codebase Files to Existing Inventory or Create a New Inventory Item from Codebase Files Selected in Analysis Workbench.

Add Selected Codebase Files to Existing Inventory

This procedure describes how to use the Add to inventory dialog to add the selected codebase files to one or more existing inventory items in the Analysis Workbench.

To add the selected codebase files to existing inventory, do the following:

1. Access the Add to inventory dialog by following the steps in the preceding main procedure, Adding Files to Inventory From the Codebase List.
2. In the Add to inventory dialog, select one or more inventory items to which to add the selected codebase file or files. (You can use the search field to search for the inventory.)
3. (Optional) Click Mark files as reviewed.
4. Click Submit to add codebase files to the Associated Files tab for each selected inventory item in the Analysis Workbench.

Create a New Inventory Item from Codebase Files Selected in Analysis Workbench

This procedure describes how to use the Add to inventory dialog to create a new inventory item with which to associate the selected codebase files in the Analysis Workbench.

To create a new inventory item with which to associated selected codebase, do the following:

1. Access the Add to inventory dialog by following the steps in the preceding main procedure, Adding Files to Inventory From the Codebase List.
2. In the Add to inventory dialog, click Add New. A new inventory item “candidate”, showing default values, opens in its own tab on the Inventory Details tab.

Note that the selected codebase files for which you are creating the inventory item are automatically added to the Associated Files tab for the new inventory item in the Analysis Workbench.

3. Complete the fields to define the new inventory item, as described in the later section, Creating Inventory from the Inventory Items List.
4. (Optional) Drag and drop one or more additional files from the Codebase Files list (or File Search Results list) to the Associated Files tab.
5. When you have completed the details for the new inventory item, click Save. The name of the inventory item is added (with a Review Status of Draft) in the Inventory Items pane.