forked from p15670423/monkey
Common: Register TCPScanEvent serializer
This commit is contained in:
parent
c16c093083
commit
521411c7fc
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue