Closed christophermhinds closed 6 months ago
I opened a PR to fix the issue for the frontend highlight widget. There is still a situation where the issues counts in the editor do not respect the filtered rule issue totals (in situations where the last scan happened before the filtering of rules was done).
I did some benchmarking on the impact of editing queries from the summary widget to avoid showing rules that have been filtered out since the last post scan and the impact is about 4% increase in query time. I don't think we should do anything in this pass to solve that because the impact is only on people who have filtered out a rule between last scan and not yet run a rescan.
I benchmarked it 2 times. Once with 100k queries and a 2nd time with 400k. So over a half million queries, the average is about 4% slower queries when they include NOT IN()
checks for rules that are filtered out.
I figured there would be a minor performance impact but thanks for being thorough and providing actual benchmarks!
@christophermhinds, This has been fixed with version 1.9.2.
Please give us a description of what happened.
When a user has already run a scan and then adds a filter that disables a check, positives on disabled checks can still show up in our reports as a "null" value.
Please describe what you expected to happen and why.
The expected result of disabling a check is that the disabled check would be filtered out everywhere, including in scan results.
How can we reproduce this behavior?
Technical info
N/A
Which browser is affected (or browsers):
[x] Internet Explorer
[x] Edge
[x] Chrome
[x] Firefox
[x] Safari
[x] Brave
Relevant plugins in case of a bug:
This is not a result of a plugin conflict.
N/A