Search Syntax
Building Search Queries
Search queries are built from search terms, separated by spaces. Search terms are built from a key and a value, joined with a colon.
The result of a search query are those records that match all terms in the query. In other words, terms are combined using AND.
Users can search CVEs, Assets, and Findings with similar syntax, but different terms as detailed below.
When used with the Search API the querystring portion must be URL-encoded. For example, cURL users can specify this as part of their command to correctly encode and append the search query.
-G --data-urlencode "q=score:>90"
CVE Search Terms
| Key | Value |
|---|---|
| Filter by one or more CVE identifiers. Case-insensitive. Use a single value ( |
| Search against a CVE’s current score. The scores associated with the currently selected model will be used. Syntax for specifying score constraints (all scores are specified on a 0-100 scale and may contain decimals). Values outside the range 0-100 are considered invalid:
If multiple score terms are given for a constraint, the final term is used. For example, |
| Search against a CVE’s CVSS score across any version. Scores are specified on a 0-10 scale and may contain decimals. Values outside the range 0-10 are considered invalid:
|
| Same syntax as |
| Same syntax as |
| Search against a CVE’s publication date. Syntax for specifying publication date constraints (should be in the format
If multiple published_at terms are given for a constraint, the final term is used. For example, |
| Alias for |
| One of the following values:
|
| The name of the software vendor responsible for the affected software, matched exactly (case-insensitively). Spaces in vendor names should be replaced with underscores, for example: |
| The name of the affected software product, matched exactly (case-insensitively). Spaces in product names should be replaced with underscores, for example: |
| Filter by a searchable tag name. For example: |
|
|
|
|
|
|
Asset Search Terms
| Key | Value |
|---|---|
| Exact match on the asset type. For example: |
| Match assets containing the specified IPv4 addresses. Supports three forms:
|
| Match assets containing the specified IPv6 addresses. Supports three forms:
|
| Match assets containing the specified fully qualified domain name. For example: |
| Match assets containing the specified hostname. For example: |
| Match assets containing the specified operating system version (case sensitive). For example: |
| Exact match on the asset platform. For example: |
| Match assets containing the specified MAC address. For example: |
| Search against the date an asset was first seen by a scanner. Dates should be in the format
|
| Search against the date an asset was last seen by a scanner. Accepts either a date range or an activity bucket. Date ranges use the format
Activity buckets:
|
| Search against an Asset’s own score. The scores associated with the currently selected model will be used. Syntax for specifying score constraints (all scores are specified on a 0-100 scale and may contain decimals). Values outside the range 0-100 are considered invalid:
|
| Search against the score of CVEs associated with assets. The scores associated with the currently selected model will be used. Syntax for specifying score constraints (all scores are specified on a 0-100 scale and may contain decimals). Values outside the range 0-100 are considered invalid:
|
| Filter assets by the number of associated findings.
|
| Filter assets by the vendor of associated CVEs on related findings. For example: |
| Filter assets by the product of associated CVEs on related findings. For example: |
| Filter assets by a key/value tag. For example: |
| Filter assets by the CVSS score of associated CVEs across any version. Scores are specified on a 0-10 scale and may contain decimals. Values outside the range 0-10 are considered invalid:
|
| Same syntax as |
| Same syntax as |
Finding Search Terms
| Key | Value |
|---|---|
| The name of the scanner vendor associated with findings. For example: |
| The finding state group. Valid values: |
| Filter by one or more CVE identifiers associated with the finding. Case-insensitive. Use a single value ( |
| Search against the date a finding was first seen by a scanner. Dates should be in the format
|
| Search against the date a finding was last seen by a scanner. Dates should be in the format
|
| Search against a Finding’s own score. The scores associated with the currently selected model will be used. Syntax for specifying score constraints (all scores are specified on a 0-100 scale and may contain decimals). Values outside the range 0-100 are considered invalid:
|
| Search against the score of CVEs associated with findings. The scores associated with the currently selected model will be used. Syntax for specifying score constraints (all scores are specified on a 0-100 scale and may contain decimals). Values outside the range 0-100 are considered invalid:
|
| Filter findings by the vendor of associated CVEs. For example: |
| Filter findings by the product of associated CVEs. For example: |
| Filter findings by the CVSS score of associated CVEs across any version. Scores are specified on a 0-10 scale and may contain decimals. Values outside the range 0-10 are considered invalid:
|
| Same syntax as |
| Same syntax as |
| Restrict findings to those on assets in the named Asset Group. Group names with spaces must be quoted. For example: |