From a13184b078fc997bb8c37bf9c5dca58d14dd0123 Mon Sep 17 00:00:00 2001 From: Corsin Camichel Date: Sat, 13 Mar 2021 20:59:54 +0100 Subject: [PATCH] adding additional tags --- misp_modules/modules/expansion/threatfox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misp_modules/modules/expansion/threatfox.py b/misp_modules/modules/expansion/threatfox.py index 6ddf730..f2201a0 100644 --- a/misp_modules/modules/expansion/threatfox.py +++ b/misp_modules/modules/expansion/threatfox.py @@ -47,7 +47,7 @@ def handler(q=False): result = json.loads(response.text) if(result["query_status"] == "ok"): confidence_tag = confidence_level_to_tag(result["data"][0]["confidence_level"]) - ret_val = {'results': [{'types': mispattributes['output'], 'values': [result["data"][0]["threat_type_desc"]], 'tags': [result["data"][0]["malware"], confidence_tag ] }]} + ret_val = {'results': [{'types': mispattributes['output'], 'values': [result["data"][0]["threat_type_desc"]], 'tags': [result["data"][0]["malware"], result["data"][0]["malware_printable"], confidence_tag ] }]} return ret_val