forked from p15670423/monkey
Common: Create PingScanEvent
This commit is contained in:
parent
d87cf5a9f5
commit
87ca11962e
|
@ -0,0 +1,14 @@
|
|||
from common.types import PingScanData
|
||||
|
||||
from . import AbstractAgentEvent
|
||||
|
||||
|
||||
class PingScanEvent(AbstractAgentEvent):
|
||||
"""
|
||||
An event that occurs when the agent performs a ping scan on its network
|
||||
|
||||
Attributes:
|
||||
:param scan_data: The data collected from the ping scan
|
||||
"""
|
||||
|
||||
scan_data: PingScanData
|
|
@ -307,6 +307,8 @@ IAgentLogRepository
|
|||
IAgentLogRepository.upsert_agent_log
|
||||
IAgentLogRepository.get_agent_log
|
||||
|
||||
# TODO: Remove once #2268 is closed
|
||||
PingScanEvent
|
||||
|
||||
# pydantic base models
|
||||
underscore_attrs_are_private
|
||||
|
|
Loading…
Reference in New Issue