From 7580c63433f1b79a5146ff6e1d333a1c73900f55 Mon Sep 17 00:00:00 2001 From: Sebdraven Date: Mon, 11 Jun 2018 10:59:06 +0200 Subject: [PATCH] add category for AS number --- misp_modules/modules/expansion/onyphe.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/misp_modules/modules/expansion/onyphe.py b/misp_modules/modules/expansion/onyphe.py index 9f4f9428..ea59ea22 100644 --- a/misp_modules/modules/expansion/onyphe.py +++ b/misp_modules/modules/expansion/onyphe.py @@ -66,7 +66,8 @@ def handle_expansion(api, ip, misperrors): asn_list.append(r['asn']) result_filtered['results'].append({'types': ['url'], 'values': urls_pasties, 'categories': ['External analysis']}) - result_filtered['results'].append({'types': ['AS'], 'values': list(set(asn_list))}) + result_filtered['results'].append({'types': ['AS'], 'values': list(set(asn_list)), + 'categories': ['Network activity']}) return result_filtered