Skip to content

Commit

Permalink
Make levels lower case
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbrownevoss committed Dec 8, 2020
1 parent 5cdd640 commit 7353cb2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions analyzers/GreyNoise/greynoisev3.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ def summary(self, raw):


classification_level_map = {
'benign': lambda x: 'Safe',
'unknown': lambda tag_count: 'Info' if (not tag_count) or (tag_count <= 2) else 'Suspicious',
'malicious': lambda x: 'Malicious'
'benign': lambda x: 'safe',
'unknown': lambda tag_count: 'info' if (not tag_count) or (tag_count <= 2) else 'suspicious',
'malicious': lambda x: 'malicious'
}

try:
Expand Down

0 comments on commit 7353cb2

Please sign in to comment.