Skip to content

Commit

Permalink
Merge pull request #3 from Nclose-ZA/greynoise_analyzer_v3
Browse files Browse the repository at this point in the history
Make levels lower case
  • Loading branch information
markus-nclose authored Dec 9, 2020
2 parents a931f79 + 7353cb2 commit edd5892
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 edd5892

Please sign in to comment.