Branch was auto-updated.

This commit is contained in:
pyth0n1c
2022-01-13 09:33:15 -08:00
committed by GitHub
+1 -1
View File
@@ -361,7 +361,7 @@ def add_annotations(detection):
if 'risk_score' in detection['tags']:
if detection['tags']['risk_score'] >= 80:
detection['tags']['risk_severity'] = 'high'
elif(50>= detection['tags']['risk_score'] <=79):
elif( detection['tags']['risk_score'] >= 50 and detection['tags']['risk_score'] <= 79):
detection['tags']['risk_severity'] = 'medium'
else:
detection['tags']['risk_severity'] = 'low'