User Guide
Chapter 2: Using the Fortify Extension for Visual Studio
To create a new filter from an issue:
1. In the Analysis Results window, select a filter set from the Filter Set list.
2. Right-click an issue, and then select Generate Filter.
The Create Filter dialog box opens and displays a list of suggested conditions.
3. To expand the conditions list, click More Choices.
4. Select the conditions to use in the filter. You can fine tune the filter later from the Filter tab.
5. To specify the type of filter you want to create, do one of the following:
l
To create a visibility filter, select Hide Issue.
l
To create a folder filter, select Set Folder to, and then select the folder name or select Create
New to create a new folder.
A new folder is displayed only in this filter set.
6. Click Create Filter.
The new filter is placed at the end of the filter list. For folder filters, this gives the new filter the
highest priority. Issues matching the new folder filter appear in the targeted folder.
7. To change the priority of a folder filter, drag the filter higher in the folder filter list.
Note: The filter is created only in the selected filter set.
Creating a Filter from the Filters Tab
Use the Filters tab option to create general filters for the attributes and values you want to filter. The
filter is created in the selected filter set only.
Folder filters are applied in order and the issue is directed to the last folder filter it matches in the list.
The wizard places your new filter at the end of the list.
To create a new filter on the Filters tab:
1. From the Filter Set list, select a filter set.
2. Right-click Visibility Filters or Folder Filters, and then select Create New Filter.
3. From the first list, select an issue attribute.
4. From the second list, select a value to specify how to match the value.
The third list automatically displays the attribute values.
5. From the third list, select a value or specify a range as instructed in the If line.
6. Set Then to one of the following options:
l
To create a visibility filter, select Hide Issue.
l
To create a folder filter, select Set Folder to, and then select the folder name or select Create
New to create a new folder.
The new filter displays at the end of the list. For folder filters, this gives the new filter the highest
priority. Issues that match the new folder filter are displayed in the targeted folder.
7. To change the priority, drag the filter higher in the folder filter list.
Micro Focus Fortify Extension for Visual Studio (22.1.0)
Page 63 of 96