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:

  • 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.
  • 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
accuracy Searches for issues based on the accuracy value specified (0.1 through 5.0).

analysis

Searches for issues that have the specified audit analysis value such as exploitable, not an issue, and so on.

[analysis type]

Searches for issues by analyzer product such as SCA and WEBINSPECT.

analyzer

Searches the issues for the specified analyzer such as control flow, data flow, structural, and so on.

[app defender protected] (def)

Searches for issues based on whether Application Defender can protect the vulnerability category (protected or not protected).

audience

Searches for issues based on intended audience such as dev, targeted, medium, broad, and so on.

This metadata is legacy information that is no longer used and will be removed in a future release. OpenText recommends that you do not use this search modifier.

audited

Searches the issues to find true if the primary tag is set and false if the primary tag is not set. The default primary tag is the Analysis tag.

category (cat)

Searches for the given category or category substring.

class

Searches for issues based on the specified class name.

comments

(comment, com)

Searches the comments submitted on the issue.

commentuser

Searches for issues with comments from a specified user.

confidence (con)

Searches for issues that have the specified confidence value. OpenText SAST calculates the confidence value based on the number of assumptions made in code analysis. The more assumptions made, the lower the confidence value.

<custom_tagname>

Searches for issues based on the value of the specified custom tag.

You can search a list-type custom tag using a range of values. The values of a list-type custom tag are an enumerated list where the first value is 0, the second is 1, and so on. You can use the search syntax for a range of numbers to search for ranges of list-type custom tag values. For example, analysis:[0,2] returns the issues that have the values of the first three Analysis values, 0, 1, and 2 (Not an Issue, Reliability Issue, and Bad Practice).

To search for a specific date in a date-type custom tag, specify the date in the format: yyyy-mm-dd.

To search for issues that have no value set for a custom tag, use <none> as the search term. For example, to search for all issues that have no value set in the custom tag labeled Target Date, type: [Target Date]:<none>.

dynamic

Searches for issues that have the specified dynamic hot spot ranking value.

[engine priority]

Searches for issues based on the original priority value determined by the engine that identified the issue.

file

Searches for issues where the primary location or sink node function call occurs in the specified file path.

[fortify priority order]

Searches for issues that have a priority level that matches the specified issue priority. Valid values are critical, high, medium, and low.

historyuser

Searches for issues that have audit data modified by the specified user.

impact Searches for issues based on the impact value specified (0.1 through 5.0).
[instance id] Searches for an issue based on the specified instance ID.

[issue age]

Searches for the issue age, which is new, updated, reintroduced, or removed.

[issue state]

Searches for audited issues based on whether the issue is an open issue or not an issue (determined by the level of analysis set for the primary tag).

kingdom

Searches for all issues in the specified kingdom.

likelihood Searches for issues based on the specified likelihood value (0.1 through 5.0).
line

Searches for issues on the primary location line number. For dataflow issues, the value is the sink line number. Also see sourceline.

maxconf

Searches for all issues that have a confidence value up to and including the number specified as the search term.

minconf

Searches for all issues that have a confidence greater than or equal to the specified value.

<metadata_listname>

Searches for issues based on the value of the specified metadata external list. Metadata external lists include [owasp top ten <year>], [cwe top 25 <version>], [pci ssf <version>], [stig <version>], and others.

package

Searches for issues where the primary location occurs in the specified package or namespace. (For dataflow issues, the primary location is the sink function.)

[primary context]

Searches for issues where the primary location or sink node function call occurs in the specified code context. Also see sink and [source context].

primary Searches for issues that have the specified primary tag value. By default, the primary tag is the Analysis tag.

primaryrule (rule)

Searches for all issues related to the specified sink rule.

[priority override]

Searches for all issues that have the specified Priority Override tag value. Valid values are critical, high, medium, and low.

probability Searches for issues based on the probability value specified (1.0 through 5.0).
[remediation effort] Searches for issues based on the remediation effort value specified. The valid values are whole numbers from 1.0 to 12.0.
severity (sev) Searches for issues based on the specified severity value (legacy metadata).

sink

Searches for issues that have the specified sink function name. Also see [primary context].

source

Searches for dataflow issues that have the specified source function name. Also see [source context].

[source context]

Searches for dataflow issues that have the source function call contained in the specified code context. Also see source and [primary context].

sourcefile

Searches for dataflow issues with the source function call that the specified file contains. Also see file.

sourceline Searches for dataflow issues having taint source entering the flow on the specified line. Also see line.

status

Searches issues that have the status reviewed, unreviewed, or under review.

suppressed

Searches for suppressed issues.

taint

Searches for issues that have the specified taint flag.

url Searches for issues based on the specified URL.
user Searches for issues assigned to the specified user.