Full Text Search on Certain Fields

Many asset fields that contain text support full text search. You can quickly find data of interest by combining full text search with advanced search capabilities.

Basic Full Text Searches

The following examples show different ways to search the tags.name field:

Query Finds
tags.name: "network blue" Findings that contain "network" and "blue" in the tag name.
tags.name: "network" OR tags.name: "blue" Findings that contain "network" or "blue" in the tag name.
tags.name: `Cloud Agent` Findings that match the exact value.

Additional Search Capabilities

In some cases, field values are split into tokens that can be searched individually. The following scenarios describe how field values are searched.

Field Value Contains a Comma or Period Between Numbers

For example, the field contains the value "10,125" or "10.134". The value is not split into tokens. Only exact or prefix matching on the full value is supported.

Query Result
tags.name: "10,1" Matches
tags.name: "10" Matches
tags.name: "10.134" Matches
tags.name: "125" Does not match
tags.name: "13" Does not match

Field Value Contains a Period Between Text

For example, the field contains the value "qualys.corp.com". The value is not split into tokens. Only exact or prefix matching on the full value is supported.

Query Result
tags.name: "qual" Matches
tags.name: "qualys.corp" Matches
tags.name: "qualys.corp.com" Matches
tags.name: "corp" Does not match
tags.name: "com" Does not match

Field Value Contains a Comma or Period Between a Number and Text

For example, the field contains the value "102354.qualys" or "qualys,25576.13". The value "102354.qualys" is split into 2 tokens, "102354" and "qualys". Prefix search on each token is supported.

Query Result
tags.name: "1023" Matches
tags.name: "qualy" Matches
tags.name: "354" Does not match
tags.name: "lys" Does not match

Field Value Contains Special Characters or Separators

The value contains a comma (,), dash (-), semicolon (;), line separator, paragraph separator (space or tab), carriage return, line feed, brackets ( ( [ { } ] ) ), or other special characters (? @ $ % & / \).

For example, the field contains the value "qualys-corp". The value is split into 2 tokens, "qualys" and "corp". Prefix search on each token is supported.

Query Result
tags.name: "qua" Matches
tags.name: "cor" Matches
tags.name: "alys" Does not match
tags.name: "orp" Does not match

Field Value Contains a Phrase with a Space, Tab, or New Line

For example, the field contains the value "OpenSSH Xauth Command Injection Vulnerability". The value is split into 5 tokens: "OpenSSH", "Xauth", "Command", "Injection", and "Vulnerability". Each token in your search string is matched completely, without regard to case, and the last token is matched as a prefix.

Query Result
tags.name: "openssh xauth com" Matches. "openssh" and "xauth" match completely, and "com" matches "command" as a prefix.
tags.name: "injection vuln" Matches. "injection" matches completely, and "vuln" matches "vulnerability" as a prefix.
tags.name: "xauth command injection" Matches. All 3 tokens match completely.
tags.name: "open comm" Does not match. The leading token "open" does not match completely.
tags.name: "inject vuln" Does not match. The leading token "inject" does not match completely.
tags.name: "xauth command ssh" Does not match. The last token "ssh" does not match completely or as a prefix.

More Information

Related findingsRelated findings

Full text search often broadens your search, which can help you find what you are interested in. These searches can return more results than you expect.

  • Analysis: The field value that you enter is analyzed against an index of the field value on the platform. The index is created by removing punctuation, converting to lowercase, and expanding to synonyms and other logical matches.
  • Results: Searches of the field index can return results that do not match the casing or the exact words that you enter, and can include related terms or synonyms.

Searches without backticksSearches without backticks

If you do not use backticks, punctuation, including quotation marks, is removed, and the words are matched in any order and case, and in most cases as prefixes.

Case-sensitive matchesCase-sensitive matches

To find exact matches, enclose your search value in backticks.

Related Topics

How to Search in CSAM

Search Tokens for IT Assets