Common: Fix AbstractAgentEvent union

This commit is contained in:
Kekoa Kaaikala 2022-09-27 20:50:15 +00:00
parent 1c127781ca
commit ab32daa0e0
1 changed files with 1 additions and 1 deletions

View File

@ -25,6 +25,6 @@ class AbstractAgentEvent(InfectionMonkeyBaseModel, ABC):
"""
source: AgentID
target: Union[MachineID, IPv4Address, None] = Field(default=None)
target: Union[IPv4Address, MachineID, None] = Field(default=None)
timestamp: float = Field(default_factory=time.time)
tags: FrozenSet[str] = Field(default_factory=frozenset)