diff --git a/monkey/common/events/__init__.py b/monkey/common/events/__init__.py index c271af898..da5b88234 100644 --- a/monkey/common/events/__init__.py +++ b/monkey/common/events/__init__.py @@ -1,2 +1,2 @@ from .abstract_event import AbstractEvent -from .stolen_credentials_event import StolenCredentialsEvent +from .credentials_stolen_events import CredentialsStolenEvent diff --git a/monkey/common/events/stolen_credentials_event.py b/monkey/common/events/credentials_stolen_events.py similarity index 70% rename from monkey/common/events/stolen_credentials_event.py rename to monkey/common/events/credentials_stolen_events.py index c9a03505a..f5b47506c 100644 --- a/monkey/common/events/stolen_credentials_event.py +++ b/monkey/common/events/credentials_stolen_events.py @@ -7,9 +7,9 @@ from . import AbstractEvent @dataclass(frozen=True) -class StolenCredentialsEvent(AbstractEvent): +class CredentialsStolenEvent(AbstractEvent): """ - An event that was initiated/observed when an agent collects credentials from the victim. + An event that occurs when an agent collects credentials from the victim Attributes: :param stolen_credentials: The credentials which were stolen by the source agent diff --git a/vulture_allowlist.py b/vulture_allowlist.py index 565cc258a..7c5f67804 100644 --- a/vulture_allowlist.py +++ b/vulture_allowlist.py @@ -215,7 +215,7 @@ AbstractEvent tags # TODO DELETE IN #2176 -StolenCredentialsEvent +CredentialsStolenEvent # TODO DELETE AFTER RESOURCE REFACTORING