Home

How to Search in VMDR

Search by Field | Search without Field | String matching | Exact matching | Full text search | Suffix matching | Prefix matching | Is Null queries | Range searches | Date searches | Multiple values (In, Not In) | Boolean operators | Nested queries | Query limits

Search by Field

Enter the field name, then a colon, then your query. Nested fields are dot-separated.

Examples:

Search without Field

When your query doesn’t have a field name, we perform the broadest possible search across the attributes of all fields included in the Asset Index (100+ field names).

The Asset Index does not include some fields like tag name and vulnerability title. For these fields, you need to search by field name.

String Matching

Use single or double quotes around your query to match a string with more than one word. Note that interfaces.address and software.version are text fields and support string matching. 

Examples:

Wildcards can only be used for prefix and suffix matching. We do not support sub-string wildcards, which means you cannot search for a string in the middle of another string.

Exact Matching

Use backticks to exactly match a string. Your results will include any asset with the EXACT value returned.

Examples:

Full-Text Search

Many asset fields containing text allow you to use full-text and advanced search capabilities. We'll perform the broadest search if your query does not include single or double quotes.

Learn more >>

Examples:

Suffix matching

Suffix matching is supported when searching assets on your Assets list for the fields "name", "tags.name" and "netbiosName". Match asset values "ending in" a string you specify - using a string that starts with *. Matches are case-insensitive.

Examples:

Suffix matching is also supported for the field "interfaces.hostname," but the syntax differs.

Example:

Prefix matching

Prefix matching is supported when searching assets (on your Assets list) using specific text fields. Match asset values "starting with" a string you specify - using a string that ends with *. Matches are case-sensitive.

Examples:

Is Null Queries

Want to match an empty/null value for a field? You must remove the colon and then write "is null." For example, quickly find assets where the OS has not been identified.

Examples:

Range searches

Ranges can be specified with the [lower .. upper] syntax using () and/or [] as follows. This is supported for numeric and date fields.

interfaces.address and software.version are text fields and not numeric fields). You cannot perform range searches for these. See String matching to search text fields.

Examples:

Date Searches

Use a date range [start date .. end date] or a specific date. Several date variables are also available.

Learn more >>

Examples:

Multiple values (In)

Use to match values "In" fields. You'll include a comma-separated list of values within square brackets. Available for all fields except analyzed fields (i.e. full-text search fields). Values must match exactly. Matches are case-sensitive.

Examples:

Boolean Operators

Use keywords AND, OR, NOT to narrow or broaden your search. Click Learn more for information on maximum query depth.

Learn more >>

Examples:

The NOT operator can be used only with Asset search tokens. Vulnerability search tokens do not support the NOT operator.

Nested Queries

Use a single nested query, using parentheses, to include multiple fields in your query per the examples below.

Learn more >>

Examples

Query Limits