Common: Inherit from InfectionMonkeyModelConfig in CredsStolenEvent

This commit is contained in:
Mike Salvatore 2022-09-16 08:34:46 -04:00
parent 46f7390a05
commit ec40a9c6ad
1 changed files with 2 additions and 1 deletions

View File

@ -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