forked from p34709852/monkey
Common: Register PingScanEvent to event serializer
This commit is contained in:
parent
07fa283ce1
commit
e2c86d3d7a
|
@ -1,4 +1,4 @@
|
|||
from common.agent_events import CredentialsStolenEvent
|
||||
from common.agent_events import CredentialsStolenEvent, PingScanEvent
|
||||
|
||||
from . import AgentEventSerializerRegistry, PydanticAgentEventSerializer
|
||||
|
||||
|
@ -9,3 +9,4 @@ def register_common_agent_event_serializers(
|
|||
event_serializer_registry[CredentialsStolenEvent] = PydanticAgentEventSerializer(
|
||||
CredentialsStolenEvent
|
||||
)
|
||||
event_serializer_registry[PingScanEvent] = PydanticAgentEventSerializer(PingScanEvent)
|
||||
|
|
Loading…
Reference in New Issue