From 521411c7fc07d0c60f5268484f2dadbf026dae00 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Fri, 30 Sep 2022 12:35:57 -0400 Subject: [PATCH] Common: Register TCPScanEvent serializer --- monkey/common/agent_event_serializers/register.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/monkey/common/agent_event_serializers/register.py b/monkey/common/agent_event_serializers/register.py index 0a820f714..1ccf6cadf 100644 --- a/monkey/common/agent_event_serializers/register.py +++ b/monkey/common/agent_event_serializers/register.py @@ -1,4 +1,4 @@ -from common.agent_events import CredentialsStolenEvent, PingScanEvent +from common.agent_events import CredentialsStolenEvent, PingScanEvent, TCPScanEvent from . import AgentEventSerializerRegistry, PydanticAgentEventSerializer @@ -10,3 +10,4 @@ def register_common_agent_event_serializers( CredentialsStolenEvent ) event_serializer_registry[PingScanEvent] = PydanticAgentEventSerializer(PingScanEvent) + event_serializer_registry[TCPScanEvent] = PydanticAgentEventSerializer(TCPScanEvent)