User Guide
Chapter 3: Remediating Results from Fortify Software Security Center
Comparison
Description
not equals
Excludes issues specified by the string by preceding the string with an
exclamation character (!)
Example, file:!Main.javareturns all issues that are not in Main.java.
You can further qualify search terms with modifiers. The syntax for using a modifier is
A search string can contain multiple modifiers and search terms. If you specify more than one
modifier, the search returns only issues that match all the modified search terms. For example,
file:ApplicationContext.java category:SQL Injectionreturns only SQL injection issues
found in ApplicationContext.java.
If you use the same modifier more than once in a search string, then the search terms qualified by
those modifiers are treated as an ORcomparison. For example, file:ApplicationContext.java
category:SQL Injection category:Cross-Site Scriptingreturns SQL injection issues and
cross-site scripting issues found in ApplicationContext.java.
For complex searches, you can also insert the AND or the OR keyword between your search queries.
Note that AND and OR operations have the same priority in searches.
Search Modifiers
You can use a search modifier to specify to which issue attribute the search term applies. To use a
modifier that contains a space in the name, such as the name of the custom tag, you must enclose the
modifier in brackets. For example, to search for issues that are new, type [issue age]:new.
A search that is not qualified by a modifier matches the search string on the following attributes:
kingdom, primary rule id, analyzer, filename, severity, class name, function name, instance id, package,
confidence, type, subtype, taint flags, category, sink, and source.
The following examples describe using the search with and without applying a search modifier:
l
To apply the search to all modifiers, type a string, such as control flow. This searches all the
modifiers and returns any results that contain the “control flow” string.
l
To apply the search to a specific modifier, type the modifier name and the string as follows:
analyzer:control flow. This returns all results detected by the Control Flow Analyzer.
The following table describes the search modifiers. A few modifiers have a shortened modifier name
indicated in parentheses. You can use either modifier name.
Search Modifier (Issue
Attribute)
Description
Searches for issues based on the accuracy value specified (0.1
through 5.0).
accuracy
OpenText™ Fortify Extension for Visual Studio (24.2.0)
Page 95 of 108