diff --git a/monkey/common/agent_events/ping_scan_event.py b/monkey/common/agent_events/ping_scan_event.py index bfb650f04..943bf5fd2 100644 --- a/monkey/common/agent_events/ping_scan_event.py +++ b/monkey/common/agent_events/ping_scan_event.py @@ -1,4 +1,6 @@ -from common.types import PingScanData +from typing import Optional + +from common import OperatingSystem from . import AbstractAgentEvent @@ -8,7 +10,9 @@ class PingScanEvent(AbstractAgentEvent): An event that occurs when the agent performs a ping scan on its network Attributes: - :param scan_data: The data collected from the ping scan + :param response_received: Is any response from ping recieved + :param os: Operating system from the target system """ - scan_data: PingScanData + response_received: bool + os: Optional[OperatingSystem]