-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[Bug BLOCKER] Ignoring vuln_id with a json file doesn't work. #16
Comments
For information, i tried with a php file, but the yaml config seems to accept only json config, am i right ? |
I found why... I think false positive should work on custom rules too, and hope it could be fixed. Only tainted rules get the false positive check:
Here are the place to fix, for the other missing type (i imagine just adding an if condition):
Thanks. |
Thanks for the report and the investigations @Yivan |
@eric-therond Thanks a lot for this fast fix. |
Hello,
Thanks for providing to us this nice security package.
I use last phar version, and set the config file like this:
setFalsePositives: "./tests/php/progpilot-false-positive.json"
and the json files with reported false positive:
I tryed with just one:
,and like this too:
But problem are always displayed when i run the phar file : (
The json config is well parsed by progpilot because if the format is not good i got an error message, so the config and the json file is well loaded in progpilot.
Is it a bug or i missed something ? Actually I cannot use it because some false positive are reported and i would like to silent them.
When several vuln_id, which is the good format from my 2 examples ?
Thanks a lot!
The text was updated successfully, but these errors were encountered: