forked from p15670423/monkey
Common: Flatten out PingScanEvent
This commit is contained in:
parent
228ce9bae1
commit
3202bfa2c1
|
@ -1,4 +1,6 @@
|
||||||
from common.types import PingScanData
|
from typing import Optional
|
||||||
|
|
||||||
|
from common import OperatingSystem
|
||||||
|
|
||||||
from . import AbstractAgentEvent
|
from . import AbstractAgentEvent
|
||||||
|
|
||||||
|
@ -8,7 +10,9 @@ class PingScanEvent(AbstractAgentEvent):
|
||||||
An event that occurs when the agent performs a ping scan on its network
|
An event that occurs when the agent performs a ping scan on its network
|
||||||
|
|
||||||
Attributes:
|
Attributes:
|
||||||
:param scan_data: The data collected from the ping scan
|
:param response_received: Is any response from ping recieved
|
||||||
|
:param os: Operating system from the target system
|
||||||
"""
|
"""
|
||||||
|
|
||||||
scan_data: PingScanData
|
response_received: bool
|
||||||
|
os: Optional[OperatingSystem]
|
||||||
|
|
Loading…
Reference in New Issue