Skip to content

Commit

Permalink
vuln thresholds dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Long committed Feb 21, 2024
1 parent 1abb9f3 commit b95ab00
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/present_findings.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ def main():
parse_inspector_findings(findings_json)
print(json.dumps(output, indent=4))

print("thresholds_enabled: ", thresholds_enabled)
if thresholds_enabled == False:
sys.exit(0)

thresholds = {critical_threshold: output['critical_vulnerabilities'],
high_threshold: output['high_vulnerabilities'],
Expand Down

0 comments on commit b95ab00

Please sign in to comment.