Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
lme-nca committed Nov 16, 2023
1 parent 13910d3 commit 0731cc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dojo/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2564,7 +2564,7 @@ def get_open_findings_burndown(product):
elif f.is_mitigated:
f_mitigated_date = f.mitigated.timestamp()
print("f_mitigated_date for findings older than 90 days: " + str(f_mitigated_date))
if f_mitigated_date >= start_date.timestamp() and f_mitigated_date < curr_date.timestamp():
if f_mitigated_date >= start_date.timestamp():
print("f_mitigated_date WITHIN NEXT 90 DAYS TRUE")
if f.severity == 'Critical':
critical_count += 1
Expand All @@ -2579,7 +2579,7 @@ def get_open_findings_burndown(product):
elif f.risk_accepted:
f_risk_accepted_date = f.risk_acceptance.created.timestamp()
print("f_risk_accepted for findings older than 90 days: " + str(f_risk_accepted_date))
if f_risk_accepted_date >= start_date.timestamp() and f_risk_accepted_date < curr_date.timestamp():
if f_risk_accepted_date >= start_date.timestamp():
print("f_risk_accepted_date WITHIN NEXT 90 DAYS TRUE")
if f.severity == 'Critical':
critical_count += 1
Expand Down

0 comments on commit 0731cc8

Please sign in to comment.