Bug: Filters are not working for Contributor Top List ( Orgs and Users ) Widgets
Expected behavior
allow filtering results based on custom JSON such as the below: {"days":"7d"}
Actual behavior
showing all results instead of showing results matching JSON filters.
Steps to reproduce
1- Dashboard 2- Add widget 3- Select Contributor Top List Users 4- Add this filter: {"days":"7d"} 5- Click Submit
Version
2.4.137
Operating System
Ubuntu
Operating System version
20.04
PHP version
7.4
Browser
Chrome
Browser version
No response
Relevant log output
No response
Extra attachments
No response
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
As a first measure I would suggest you to update your MISP instance and try again. Version 2.4.137 is extremely old and several bug and security fixes were introduced since then
@righel I also have this issue for the newest version of MISP currently. I've tried multiple filters, they all fail.
Also all values for some reason are wrapped in double quotes, instead of being boolean 👎🏻
For some more context, I tried the same filter as above, and I've also tried to filter out based on creator user (some API/SYNC users that shouldn't be added):
{
"filter": {
"email": ["[email protected]"],
"event_creator_email": ["[email protected]"]
}
}