diff --git a/monkey/common/agent_events/ping_scan_event.py b/monkey/common/agent_events/ping_scan_event.py index bfb650f04..b91ee9fc4 100644 --- a/monkey/common/agent_events/ping_scan_event.py +++ b/monkey/common/agent_events/ping_scan_event.py @@ -1,3 +1,5 @@ +from pydantic import Field + from common.types import PingScanData from . import AbstractAgentEvent @@ -11,4 +13,4 @@ class PingScanEvent(AbstractAgentEvent): :param scan_data: The data collected from the ping scan """ - scan_data: PingScanData + scan_data: PingScanData = Field(default=None)