Skip to content

Commit

Permalink
fixed the burndown calculation to start with the numnber of findings …
Browse files Browse the repository at this point in the history
…that are still active or will be mitigated/risk-accepted in the next 90 days
  • Loading branch information
lme-nca committed Nov 16, 2023
1 parent 49589b5 commit 4d2415e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dojo/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2562,7 +2562,7 @@ def get_open_findings_burndown(product):
info_count += 1
elif f.is_mitigated:
f_mitigated_date = f.mitigated.timestamp()
if f_mitigated_date >= start_date.timestamp() and f_mitigated_date < curr_date.timestamp().t:
if f_mitigated_date >= start_date.timestamp() and f_mitigated_date < curr_date.timestamp():
if f.severity == 'Critical':
critical_count += 1
if f.severity == 'High':
Expand Down

0 comments on commit 4d2415e

Please sign in to comment.