Merge pull request #3 from Nclose-ZA/greynoise_analyzer_v3

Make levels lower case
This commit is contained in:
markus-nclose 2020-12-09 10:51:00 +02:00 committed by GitHub
commit edd5892f57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,9 +85,9 @@ class GreyNoiseAnalyzer(Analyzer):
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: