Skip to content

Commit bc1884f

Browse files
ncrocferldurnez
authored andcommitted
feat: add support for the project keyword in advanced search
Signed-off-by: Nicolas Crocfer <ncrocfer@gmail.com>
1 parent 86d3d06 commit bc1884f

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

docs/guides/advanced_search.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ The currently supported fields are:
5252
- **vendor** - Search by vendor name (e.g., `microsoft`).
5353
- **product** - Search by product name (e.g., `android`).
5454
- **userTag** - Search by user tag associated with the CVE.
55+
- **project** – Search using the vendors and products subscribed in a project.
5556

5657
!!! important
5758
Each field supports specific operators to refine your queries effectively:
@@ -112,6 +113,21 @@ To search all CVE in 1999's:
112113
cve:CVE-1999
113114
```
114115

116+
To search all CVEs related to the vendors and products subscribed to in a project:
117+
118+
```
119+
project:my-project
120+
```
121+
122+
!!! tip
123+
Using the `project` field is convenient, as it automatically expands to include all the vendors and products your project is subscribed to.
124+
125+
For example, if **my-project** is subscribed to the **vendorX** and **vendorY** vendors, and the **productZ** product, the following two queries are equivalent:
126+
127+
- `project:my-project`
128+
- `vendor:vendorX OR vendor:vendorY OR product:productZ`
129+
130+
115131
## Query Builder
116132

117133
If you're not comfortable writing advanced queries manually, OpenCVE provides a **Query Builder** to help you.
82.7 KB
Loading

0 commit comments

Comments
 (0)