Agent: Move agent_event_forwarder.py to agent_event_handlers package

This commit is contained in:
Mike Salvatore 2022-10-03 14:02:48 -04:00
parent a3ce870b64
commit 37b884a5b8
4 changed files with 3 additions and 3 deletions

View File

@ -1 +1,2 @@
from .notify_relay_on_propagation import notify_relay_on_propagation from .notify_relay_on_propagation import notify_relay_on_propagation
from .agent_event_forwarder import AgentEventForwarder

View File

@ -21,8 +21,7 @@ from common.types import SocketAddress
from common.utils.argparse_types import positive_int from common.utils.argparse_types import positive_int
from common.utils.attack_utils import ScanStatus, UsageEnum from common.utils.attack_utils import ScanStatus, UsageEnum
from common.version import get_version from common.version import get_version
from infection_monkey.agent_event_forwarder import AgentEventForwarder from infection_monkey.agent_event_handlers import AgentEventForwarder, notify_relay_on_propagation
from infection_monkey.agent_event_handlers import notify_relay_on_propagation
from infection_monkey.config import GUID from infection_monkey.config import GUID
from infection_monkey.control import ControlClient from infection_monkey.control import ControlClient
from infection_monkey.credential_collectors import ( from infection_monkey.credential_collectors import (

View File

@ -3,7 +3,7 @@ from unittest.mock import MagicMock
import pytest import pytest
from infection_monkey.agent_event_forwarder import BatchingAgentEventForwarder from infection_monkey.agent_event_handlers.agent_event_forwarder import BatchingAgentEventForwarder
from infection_monkey.island_api_client import IIslandAPIClient from infection_monkey.island_api_client import IIslandAPIClient
SERVER = "1.1.1.1:9999" SERVER = "1.1.1.1:9999"