Skip to main content
Contributor
April 10, 2020

Technical Note: CSTN 00010 - Performing a search with the dash (-) character included in the search keyword does not show the result

  • April 10, 2020
  • 0 replies
  • 868 views
Description

Issue

Let’s take an example of performing a search for a CVE (notation CVE-YYYY-####). The issue occurs while using the global search feature and not on the search box around the tasks module.


We created alerts with names “CVE-2017-2654” “CVE” “2017” and “2654” and searched for “CVE-2017-2654” in global search.

in 4.10.3 it gave the search results for “CVE OR 2017 OR 2654” but did not search for “CVE-2017-2654” as a complete word
image.png


Root cause: 

CyOPs reads the dash character (-) as space. It also disregards quotation marks placed around a full CVE. In the above example, this causes it to seemingly perform three OR searches (CVE OR Year OR four-digit string.). This makes searching for a CVE difficult.


Solution

Fix: 4.11 and above has this issue resolved. 


In 4.11.1 it gave the search results for “CVE-2017-2654 OR CVE OR 2017 OR 2654”
image.png


Found in Version:

4.10.X and previous


Reference Id - #35647