Common: Register TCPScanEvent serializer

This commit is contained in:
Mike Salvatore 2022-09-30 12:35:57 -04:00
parent e2c86d3d7a
commit f89068ae00
1 changed files with 2 additions and 1 deletions

View File

@ -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)