infobyte / faraday

Open Source Vulnerability Management Platform
https://www.faradaysec.com
GNU General Public License v3.0
5.06k stars 914 forks source link

Error in faraday GUI, "Foreign field status not found in submodel", how can I fix it. #476

Open Linkcar13 opened 1 year ago

Linkcar13 commented 1 year ago

In Kali Linux: 6.3.0-kali1-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.3.7-1kali1 (2023-06-29) x86_64 GNU/Linux, when I want to filter the vulns the GUI shows the message: "Foreign field status not found in submodel"

dnadares commented 1 year ago

Hi @Linkcar13, which filter are you trying to apply? Are you writing an advanced filter or are you using the values that autocomplete in the filter box? We need more information in order to help you.

Diego

AndreasDickow commented 10 months ago

same issue here reproduced by faraday-cli workspace dashboard trying to access /_api/v3/ws/filter?q=%7B%22filters%22%3A%20%5B%7B%22name%22%3A%20%22active%22%2C%20%22op%22%3A%20%22eq%22%2C%20%22val%22%3A%20%22true%22%7D%5D%7D\

AndreasDickow commented 10 months ago

there is even more "GET /_api/v3/ws//vulns/filter?q=%7B%22offset%22:0,%22limit%22:50,%22order_by%22:%5B%7B%22field%22:%22confirmed%22,%22direction%22:%22desc%22%7D,%7B%22field%22:%22severity%22,%22direction%22:%22desc%22%7D%5D,%22filters%22:%5B%7B%22name%22:%22severity%22,%22op%22:%22==%22,%22val%22:%22informational%22%7D%5D%7D HTTP/1.0" 400 305 0.022038

ZFYy1x commented 10 months ago

there is even more

GET http://localhost:5985/_api/v3/ws/cehsi/vulns/filter?q={"offset":0,"limit":50,"order_by":[{"field":"confirmed","direction":"desc"},{"field":"severity","direction":"desc"}],"filters":[{"name":"creator_command_id","op":"==","val":"1"}]}