Common: Override target in PingScanEvent

This commit is contained in:
Ilija Lazoroski 2022-09-28 12:51:33 +02:00 committed by Shreya Malviya
parent aa2b49bc66
commit 478ea05fa9
1 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,4 @@
from ipaddress import IPv4Address
from typing import Optional from typing import Optional
from common import OperatingSystem from common import OperatingSystem
@ -14,5 +15,6 @@ class PingScanEvent(AbstractAgentEvent):
:param os: Operating system from the target system :param os: Operating system from the target system
""" """
target: IPv4Address
response_received: bool response_received: bool
os: Optional[OperatingSystem] os: Optional[OperatingSystem]