-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
False posivites are not filtered out in report view #9
Comments
After examining the code I think I found the error. In line 75 of the file main.js the fields of the falsePositive are compared to the alert or instances fields by using equals.
The false positive URI is, as the documentation says, a regex string. So a equals is wrong. The URI must be compared using reqular expression matching!!! |
@mum-viadee what have you done with the issue above about the False Positive? |
@Viktork25 I've done nothing so far. There are two places in the code where supressions are evaluated. In the Java code of the plugin and in the Javascript code of the report view. Two places with the same business logic. In my opinion this is not a good design. |
…ependencies [SECURITY] Use HTTPS to resolve dependencies in Maven Build
As a quick fix, we have implemented regex checking in the Javascript as well. However as @mum-viadee mentioned, we should aim to get in a reworking of the plugin to have a centralised business logic in just the JAVA code, passing the data via the results file. I will leave this issue open until the rework is done. Sorry for the very slow responses, we have been neglectful of this plugin recently due to workload, but will aim to be more vigilant and productive moving forwards. |
After including a false positive file false positives are filtered out in the graph view, but not in the interactive report view.
The report currently shows 10 low risks and 0 false positives. In the graph there are 6 low risks and 4 false positives shown, which is correct.
The text was updated successfully, but these errors were encountered: