This issue look interesting for me, i am looking how to implement it.
If i have understand what you want to do.
For example.
- default severity could be
high -> 5 , medium ->3 , low ->1, info ->0
- threshold for each alert define by the user
high -> 0 , medium ->15, low ->10, info ->0
- culmulative threshold -> 20
When we run a scan, depending on the number of alerts in the report
we find the culmulative cost and for each level of alert.
we compare to the threshold and flagged the build as passed, failed or unstable.
This issue look interesting for me, i am looking how to implement it.
If i have understand what you want to do.
For example.
high -> 5 , medium ->3 , low ->1, info ->0
high -> 0 , medium ->15, low ->10, info ->0
When we run a scan, depending on the number of alerts in the report
we find the culmulative cost and for each level of alert.
we compare to the threshold and flagged the build as passed, failed or unstable.