question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Get False Positive count using alertCountsByRisk api

See original GitHub issue

Is 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:closed
  • Created 2 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
abhinav-koppulacommented, Feb 11, 2022

Hi, I am interested in working on this issue. Can you please assign this to me?

0reactions
github-actions[bot]commented, Jun 8, 2022

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

After modifying alert to False Positive, api does not show the ...
I have a scenario where I have a Vulnerability Informational with count 1. I am running api for the same alertCountsByRisk i.e ...
Read more >
Scikit-learn: How to obtain True Positive, True Negative, False ...
After this, I would like to obtain the True Positive(TP) , True Negative(TN) , False Positive(FP) and False Negative(FN) values. I'll use these...
Read more >
Release 2.12.0 - OWASP ZAP
ZAP API Breaking Changes: VIEW alert / alertCountsByRisk. The returned data now includes the False Positive count. This change may break existing consumers ......
Read more >
How to count number of false positives and false negatives in ...
This counts as both a false negative (missing the real object), and a false positive (predicting one where there is nothing).
Read more >
False Positive Rate | Split Glossary
False positive rate (FPR) is a measure of accuracy for a test: be it a medical diagnostic test, a machine learning model, or...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found