Common: Inherit from InfectionMonkeyModelConfig in CredsStolenEvent
This commit is contained in:
parent
46f7390a05
commit
ec40a9c6ad
|
@ -2,6 +2,7 @@ from typing import Sequence
|
|||
|
||||
from pydantic import Field
|
||||
|
||||
from common.base_models import InfectionMonkeyModelConfig
|
||||
from common.credentials import Credentials
|
||||
|
||||
from ..credentials.encoding import SecretEncodingConfig
|
||||
|
@ -18,5 +19,5 @@ class CredentialsStolenEvent(AbstractAgentEvent):
|
|||
|
||||
stolen_credentials: Sequence[Credentials] = Field(default_factory=list)
|
||||
|
||||
class Config(SecretEncodingConfig):
|
||||
class Config(SecretEncodingConfig, InfectionMonkeyModelConfig):
|
||||
pass
|
||||
|
|
Loading…
Reference in New Issue