diff --git a/monkey/infection_monkey/monkey.py b/monkey/infection_monkey/monkey.py index f4dd2cc4a..3e6f0ce5e 100644 --- a/monkey/infection_monkey/monkey.py +++ b/monkey/infection_monkey/monkey.py @@ -67,7 +67,7 @@ from infection_monkey.post_breach.actions.use_signed_scripts import SignedScript from infection_monkey.post_breach.actions.use_trap_command import TrapCommand from infection_monkey.post_breach.custom_pba import CustomPBA from infection_monkey.puppet.puppet import Puppet -from infection_monkey.send_all_events_to_island import SendAllAgentEventsToIsland +from infection_monkey.send_all_events_to_island import AgentEventForwarder from infection_monkey.system_singleton import SystemSingleton from infection_monkey.telemetry.attack.t1106_telem import T1106Telem from infection_monkey.telemetry.attack.t1107_telem import T1107Telem @@ -259,7 +259,7 @@ class InfectionMonkey: ), ) event_queue.subscribe_all_events( - SendAllAgentEventsToIsland(server_address, agent_event_serializer_registry).send_event + AgentEventForwarder(server_address, agent_event_serializer_registry).send_event ) @staticmethod diff --git a/monkey/infection_monkey/send_all_events_to_island.py b/monkey/infection_monkey/send_all_events_to_island.py index 479e5bbe5..8118c3a27 100644 --- a/monkey/infection_monkey/send_all_events_to_island.py +++ b/monkey/infection_monkey/send_all_events_to_island.py @@ -18,7 +18,7 @@ DEFAULT_TIME_PERIOD_SECONDS = 5 EVENTS_API_URL = "https://%s/api/events" -class SendAllAgentEventsToIsland: +class AgentEventForwarder: """ Sends information about the events carried out by the Agent to the Island in batches """