From 9d904fa9818efbd3362dae156e4cb8eeeb6d01f6 Mon Sep 17 00:00:00 2001 From: Ilija Lazoroski Date: Mon, 11 Jul 2022 17:24:20 +0200 Subject: [PATCH] Island: Add None as telemetry processing func for Credentials --- .../cc/services/telemetry/processing/processing.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/monkey/monkey_island/cc/services/telemetry/processing/processing.py b/monkey/monkey_island/cc/services/telemetry/processing/processing.py index 709097ee0..569957c75 100644 --- a/monkey/monkey_island/cc/services/telemetry/processing/processing.py +++ b/monkey/monkey_island/cc/services/telemetry/processing/processing.py @@ -3,9 +3,6 @@ import logging from common.common_consts.telem_categories import TelemCategoryEnum from monkey_island.cc.models.telemetries import save_telemetry from monkey_island.cc.services.telemetry.processing.aws_info import process_aws_telemetry -from monkey_island.cc.services.telemetry.processing.credentials.credentials_parser import ( - parse_credentials, -) from monkey_island.cc.services.telemetry.processing.exploit import process_exploit_telemetry from monkey_island.cc.services.telemetry.processing.post_breach import process_post_breach_telemetry from monkey_island.cc.services.telemetry.processing.scan import process_scan_telemetry @@ -18,7 +15,7 @@ TELEMETRY_CATEGORY_TO_PROCESSING_FUNC = { # `lambda *args, **kwargs: None` is a no-op. TelemCategoryEnum.ATTACK: lambda *args, **kwargs: None, TelemCategoryEnum.AWS_INFO: process_aws_telemetry, - TelemCategoryEnum.CREDENTIALS: parse_credentials, + TelemCategoryEnum.CREDENTIALS: None, # this is set in monkey_island/cc/services/initialize.py TelemCategoryEnum.EXPLOIT: process_exploit_telemetry, TelemCategoryEnum.POST_BREACH: process_post_breach_telemetry, TelemCategoryEnum.SCAN: process_scan_telemetry,