Skip to content

Commit

Permalink
🐛 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel-sommer committed Jan 17, 2024
1 parent 0a81a65 commit 70936e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dojo/tools/chefinspect/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ def convert_score(self, raw_value):
val = float(raw_value)
if val == 0.0:
return "Info"
elif val < 4.0:
elif val < 0.4:
return "Low"
elif val < 7.0:
elif val < 0.7:
return "Medium"
elif val < 9.0:
elif val < 0.9:
return "High"
else:
return "Critical"
Expand Down

0 comments on commit 70936e9

Please sign in to comment.