Filtering the Inventory View by Inventory Details

The Inventory view enables you to perform an advanced search that filters inventory by details such as:

Inventory attributes such as inventory name, priority, age, review status, confidence level, and notifications
Attributes of the tasks and licenses associated with inventory
Attributes of security vulnerabilities associated with inventory

The results of the advanced search on the Inventory view remain within the current context of the view (My Projects, All Projects, or a selected project). Likewise, the search criteria persists on the Inventory view even if you change the context of the Inventory view. (See Switching the Context of the Inventory View.)

To filter the inventory by inventory details, do the following:

1. Click the Advanced Search button at the top of the Inventory view. The Advanced Inventory Search dialog is displayed.
2. From this dialog, select search criteria as needed from the following categories. For a detailed description of the search criteria, see Advanced Inventory Search Dialog.
Inventory Items—Search for inventory items of a certain name (or string), review status, priority, type, creator, dependency scope, age, usage, or confidence level or that have open vulnerability alerts and work items. (For details on alerts and work items, see Managing Security Vulnerability Alerts and Creating and Viewing External Work Items for a Project Inventory Task.)

If you entered a name filter in the Inventory Name field at the top of the Inventory view, it is automatically displayed for the Inventory Name filter on the Advanced Inventory Search dialog. (Likewise, if you enter a name filter on the Advanced Inventory Search dialog, it is copied to the Inventory view.) This behavior enables you to keep the name filter persistent. However, you can remove or replace this filter as needed in either location.

Inventory Tasks—Search for inventory items that have been assigned tasks. You can refine the search to locate inventory with open or closed tasks, tasks of a certain age or type (such as manual reviews or source-code remediation), or tasks assigned to a specific user.
Inventory Custom Fields—Search for inventory whose custom inventory fields contain the value you specify as criteria (or contain no value). Custom inventory fields are defined specifically for your site. If no such fields have been defined this section is not visible.
Security Vulnerabilities—Search for inventory items that have vulnerabilities of a certain vulnerability ID, CVSS severity, or age. (Note that list of available severities for Security Vulnerability Severity varies depending on the CVSS version being used by Code Insight. The picture above shows the severities for CVSS v3.x. See Working with Security Vulnerabilities for details.)
Licenses—Search for inventory items that have licenses of a certain of a certain name or license priority or licenses with no associated version.

Note:If you select to filter by license or security-vulnerability criteria on the Advanced Inventory Search dialog, the filtering process might take longer than usual.

3. In Apply Criteria field, select the boolean operator to apply to the criteria:
Or—To be included in the search results, an inventory item must contain at least one of the criteria you selected on this dialog.
And—To be included in the search results, an inventory item must meet all the criteria across the advanced search, as selected in this dialog. (This is the default operator.)
4. Click Apply to filter the inventory to display only those inventory items that meet the selected criteria.
5. To refresh the Inventory view to remove all advanced search filters, do either:
To remove the advanced-search filters only, return to the Advanced Inventory Search dialog, and click Clear Form and then Close.
To remove all filters, see Removing All Filters in the Inventory View.