From 035734992c4ca30bcf5910fb9fb1fa33f19acecf Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Tue, 5 Jul 2022 10:48:25 -0400 Subject: [PATCH] Island: Change parameter names in ICredentialsRepository.save_*() --- .../cc/repository/i_credentials_repository.py | 8 ++++---- vulture_allowlist.py | 2 -- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/monkey/monkey_island/cc/repository/i_credentials_repository.py b/monkey/monkey_island/cc/repository/i_credentials_repository.py index c58456c9d..4360f5a62 100644 --- a/monkey/monkey_island/cc/repository/i_credentials_repository.py +++ b/monkey/monkey_island/cc/repository/i_credentials_repository.py @@ -15,11 +15,11 @@ class ICredentialsRepository(ABC): """ pass - def save_configured_credentials(self, configured_credentials: Credentials): + def save_configured_credentials(self, credentials: Credentials): """ Save credentials which are configured. - :param configured_credentials: Credentials that are going to be stored + :param credentials: Credentials that are going to be stored :raises StorageError: If an error is encountered while attempting to store configured credentials """ @@ -44,11 +44,11 @@ class ICredentialsRepository(ABC): """ pass - def save_stolen_credentials(self, stolen_credentials: Credentials): + def save_stolen_credentials(self, credentials: Credentials): """ Save credentials which are stolen. - :param stolen_credentials: Credentials that are going to be stored + :param credentials: Credentials that are going to be stored :raises StorageError: If an error is encountered while attempting to store stolen credentials """ diff --git a/vulture_allowlist.py b/vulture_allowlist.py index 383072f14..a3393325e 100644 --- a/vulture_allowlist.py +++ b/vulture_allowlist.py @@ -238,6 +238,4 @@ IEventRepository.get_events IFindingRepository.get_findings key_list simulation -stolen_credentials -configured_credentials netmap