Common: Make CredentialsStolenEvent a pydantic model
This commit is contained in:
parent
78d5094f90
commit
1a96e9fd8d
|
@ -1,12 +1,14 @@
|
|||
from dataclasses import dataclass, field
|
||||
from dataclasses import field
|
||||
from typing import Sequence
|
||||
|
||||
import pydantic
|
||||
|
||||
from common.credentials import Credentials
|
||||
|
||||
from . import AbstractAgentEvent
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
@pydantic.dataclasses.dataclass(frozen=True)
|
||||
class CredentialsStolenEvent(AbstractAgentEvent):
|
||||
"""
|
||||
An event that occurs when an agent collects credentials from the victim
|
||||
|
|
Loading…
Reference in New Issue