mirror of
https://github.com/mandiant/capa.git
synced 2026-03-12 21:23:12 -07:00
webui: include feature type in global search (match, regex, api, …) (#2906)
* webui: include feature type in global search (match, regex, etc.) Searching for "match" or "regex" in the capa Explorer web UI produced no results because PrimeVue's globalFilterFields only included the name field, while the feature kind (e.g. "match", "regex", "api") is stored in the separate typeValue field. Add 'typeValue' to globalFilterFields so that the global search box matches nodes by both their value (name) and their kind (typeValue). No change to rendering or data structure; only the set of fields consulted during filtering is widened. Fixes #2349. * changelog: add entry for #2349 webui global search fix
This commit is contained in:
committed by
GitHub
parent
c03d833a84
commit
ceaa3b6d03
@@ -49,8 +49,8 @@
|
|||||||
|
|
||||||
### capa Explorer Web
|
### capa Explorer Web
|
||||||
- webui: fix 404 for "View rule in capa-rules" by using encodeURIComponent for rule name in URL @devs6186 #2482
|
- webui: fix 404 for "View rule in capa-rules" by using encodeURIComponent for rule name in URL @devs6186 #2482
|
||||||
|
|
||||||
- webui: show error when JSON does not follow expected result document schema; suggest reanalyzing for VT URLs @devs6186 #2363
|
- webui: show error when JSON does not follow expected result document schema; suggest reanalyzing for VT URLs @devs6186 #2363
|
||||||
|
- webui: fix global search to match feature types (match, regex, api, …) @devs6186 #2349
|
||||||
|
|
||||||
### capa Explorer IDA Pro plugin
|
### capa Explorer IDA Pro plugin
|
||||||
|
|
||||||
|
|||||||
@@ -22,6 +22,7 @@
|
|||||||
:scrollable="true"
|
:scrollable="true"
|
||||||
:filters="filters"
|
:filters="filters"
|
||||||
:filterMode="filterMode"
|
:filterMode="filterMode"
|
||||||
|
:globalFilterFields="['name', 'typeValue']"
|
||||||
sortField="namespace"
|
sortField="namespace"
|
||||||
:sortOrder="1"
|
:sortOrder="1"
|
||||||
removableSort
|
removableSort
|
||||||
|
|||||||
Reference in New Issue
Block a user