From 478ea05fa991a3583e9b65f71561f69f8e34a94d Mon Sep 17 00:00:00 2001 From: Ilija Lazoroski Date: Wed, 28 Sep 2022 12:51:33 +0200 Subject: [PATCH] Common: Override target in PingScanEvent --- monkey/common/agent_events/ping_scan_event.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/monkey/common/agent_events/ping_scan_event.py b/monkey/common/agent_events/ping_scan_event.py index 943bf5fd2..0e9ee6614 100644 --- a/monkey/common/agent_events/ping_scan_event.py +++ b/monkey/common/agent_events/ping_scan_event.py @@ -1,3 +1,4 @@ +from ipaddress import IPv4Address from typing import Optional from common import OperatingSystem @@ -14,5 +15,6 @@ class PingScanEvent(AbstractAgentEvent): :param os: Operating system from the target system """ + target: IPv4Address response_received: bool os: Optional[OperatingSystem]