mirror of
https://github.com/splunk/security_content
synced 2026-06-08 17:32:49 +00:00
Branch was auto-updated.
This commit is contained in:
+1
-1
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user