Get False Positive count using alertCountsByRisk api
See original GitHub issueIs your feature request related to a problem? Please describe. I have automated the process of scanning api and ui using zap api’s and Jenkins. The automation is working fine end to end and I am creating a Github issue also attaching the reports generated by ZAP. In Github issue description I am providing count of Low, High, Medium and Informational alerts using alertCountsByRisk api. In some scenarios I am marking some of the alerts to False Positive. So now I can see the count of all alerts except for False Positive. And I have automated script such a way that if all alerts count are zero, Github issue will be closed with a comment that there is no vulnerability, so closing the issue Now I want to provide the information about False Positive count also.
Describe the solution you’d like
Now if I run alertCountsByRisk api, I get output as
{"High":0,"Low":0,"Medium":0,"Informational":2}
But I want output as
{"High":0,"Low":0,"Medium":0,"Informational”:0, "FalsePositive":2}
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (5 by maintainers)
Top GitHub Comments
Hi, I am interested in working on this issue. Can you please assign this to me?
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.