From ffe43acd891c9a14bbbfbd0413b5fcf5122113a1 Mon Sep 17 00:00:00 2001 From: chrisr3d Date: Fri, 20 Sep 2019 09:22:20 +0200 Subject: [PATCH] fix: Removed no longer used variables --- misp_modules/modules/import_mod/csvimport.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/misp_modules/modules/import_mod/csvimport.py b/misp_modules/modules/import_mod/csvimport.py index ad98b846..f8fde188 100644 --- a/misp_modules/modules/import_mod/csvimport.py +++ b/misp_modules/modules/import_mod/csvimport.py @@ -26,15 +26,11 @@ userConfig = { } mispattributes = {'userConfig': userConfig, 'inputSource': ['file'], 'format': 'misp_standard'} -duplicatedFields = {'mispType': {'mispComment': 'comment'}, - 'attrField': {'attrComment': 'comment'}} -attributesFields = ['type', 'value', 'category', 'to_ids', 'comment', 'distribution'] misp_standard_csv_header = ['uuid', 'event_id', 'category', 'type', 'value', 'comment', 'to_ids', 'date', 'object_relation', 'attribute_tag', 'object_uuid', 'object_name', 'object_meta_category'] misp_context_additional_fields = ['event_info', 'event_member_org', 'event_source_org', 'event_distribution', 'event_threat_level_id', 'event_analysis', 'event_date', 'event_tag'] misp_extended_csv_header = misp_standard_csv_header + misp_context_additional_fields -delimiters = [',', ';', '|', '/', '\t', ' '] class CsvParser():