Skip to content

Commit

Permalink
UML-3187 Fail on critical CVEs (#2434)
Browse files Browse the repository at this point in the history
* UML-3187 Fail on critical CVEs
  • Loading branch information
Sam Ainsworth authored Nov 17, 2023
1 parent 387d678 commit 3b45dda
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def ci_check_and_output(self, report):
for severity, count in severity_dict.items():
print(f"{severity}: {count}")

if severity_dict["HIGH"] > 0 or severity_dict["CRITICAL"] > 0:
if severity_dict["CRITICAL"] > 0:
print("Failing the build. Please fix security vulnerabilities")
exit(1)

Expand Down

0 comments on commit 3b45dda

Please sign in to comment.