diff --git a/docs/guides/advanced_search.md b/docs/guides/advanced_search.md index dcd56bb..a137ec3 100644 --- a/docs/guides/advanced_search.md +++ b/docs/guides/advanced_search.md @@ -112,6 +112,26 @@ To search all CVE in 1999's: cve:CVE-1999 ``` +## Query Builder + +If you're not comfortable writing advanced queries manually, OpenCVE provides a **Query Builder** to help you. + +![Query Builder](../images/guides/advanced_search/query-builder.png){.center style="width:100%"} + +This form-based tool allows you to create a query by simply filling in the fields you care about: **CVE ID**, **Description**, **Title**, **CWE**, **Vendor**, **Product**, **User Tag**, or **CVSS Score**. + +The Query Builder will then generate the equivalent advanced query using the **AND operator** between each field. + +Note: + +- The builder does not support `OR` logic—only `AND`. +- It cannot reverse-engineer an existing query into the form. + +Look for the **Query Builder** buttons when performing advanced searches on the [vulnerabilities](https://app.opencve.io/cve/) page: + +![Open Query Builder](../images/guides/advanced_search/open-query-builder.png){.center style="width:100%"} + + ## Search Limitations To ensure optimal performance, advanced search queries are currently limited to **a maximum of 5 fields**. If a query exceeds this limit, it will be rejected with an error message diff --git a/docs/images/guides/advanced_search/open-query-builder.png b/docs/images/guides/advanced_search/open-query-builder.png new file mode 100644 index 0000000..381d188 Binary files /dev/null and b/docs/images/guides/advanced_search/open-query-builder.png differ diff --git a/docs/images/guides/advanced_search/query-builder.png b/docs/images/guides/advanced_search/query-builder.png new file mode 100644 index 0000000..678402f Binary files /dev/null and b/docs/images/guides/advanced_search/query-builder.png differ