From ead4dba0d846a42cf5979a3353975a4589b7719b Mon Sep 17 00:00:00 2001 From: Terrtia Date: Fri, 21 Sep 2018 11:02:08 +0200 Subject: [PATCH] fix: [MISP feeder] typo filename-config name --- bin/MISP_The_Hive_feeder.py | 4 +--- bin/{preProcessFeed.py => PreProcessFeed.py.sample} | 0 bin/packages/modules.cfg | 8 ++++---- 3 files changed, 5 insertions(+), 7 deletions(-) rename bin/{preProcessFeed.py => PreProcessFeed.py.sample} (100%) diff --git a/bin/MISP_The_Hive_feeder.py b/bin/MISP_The_Hive_feeder.py index 7fa6b223..0a8f1791 100755 --- a/bin/MISP_The_Hive_feeder.py +++ b/bin/MISP_The_Hive_feeder.py @@ -96,7 +96,7 @@ if __name__ == "__main__": publisher.port = 6380 publisher.channel = "Script" - config_section = 'misp_the_hive_feeder' + config_section = 'MISP_The_hive_feeder' configfile = os.path.join(os.environ['AIL_BIN'], 'packages/config.cfg') if not os.path.exists(configfile): @@ -123,8 +123,6 @@ if __name__ == "__main__": if uuid_ail is None: uuid_ail = r_serv_db.set('ail:uuid', uuid.uuid4() ) - config_section = 'misp_the_hive_feeder' - p = Process(config_section) # create MISP connection if flag_misp: diff --git a/bin/preProcessFeed.py b/bin/PreProcessFeed.py.sample similarity index 100% rename from bin/preProcessFeed.py rename to bin/PreProcessFeed.py.sample diff --git a/bin/packages/modules.cfg b/bin/packages/modules.cfg index 8cd8f570..a3c5e579 100644 --- a/bin/packages/modules.cfg +++ b/bin/packages/modules.cfg @@ -6,9 +6,9 @@ publish = Redis_Mixer,Redis_preProcess1 subscribe = Redis_Mixer publish = Redis_Global,Redis_ModuleStats -[PreProcessFeed] -subscribe = Redis_preProcess1 -publish = Redis_Mixer +#[PreProcessFeed] +#subscribe = Redis_preProcess1 +#publish = Redis_Mixer [Duplicates] subscribe = Redis_Duplicate @@ -92,7 +92,7 @@ subscribe = Redis_alertHandler subscribe = Redis_Tags publish = Redis_Tags_feed -[misp_the_hive_feeder] +[MISP_The_hive_feeder] subscribe = Redis_Tags_feed #[send_to_queue]