From faf2259c59f5d1afce7f33b11d157f7cf396c6ce Mon Sep 17 00:00:00 2001 From: vakarisz Date: Tue, 31 May 2022 12:59:38 +0300 Subject: [PATCH] Island: Rename repository file names to snake case --- ...gentRepository.py => i_agent_repository.py} | 0 ...ackRepository.py => i_attack_repository.py} | 0 ...figRepository.py => i_config_repository.py} | 0 .../{ILogRepository.py => i_log_repository.py} | 0 ...neRepository.py => i_machine_repository.py} | 0 ...pository.py => i_network_map_repository.py} | 0 ...ortRepository.py => i_report_repository.py} | 0 ...epository.py => i_simulation_repository.py} | 0 ...y.py => i_stolen_credentials_repository.py} | 0 ...Repository.py => i_telemetry_repository.py} | 0 vulture_allowlist.py | 18 +++++++++--------- 11 files changed, 9 insertions(+), 9 deletions(-) rename monkey/monkey_island/cc/repository/{IAgentRepository.py => i_agent_repository.py} (100%) rename monkey/monkey_island/cc/repository/{IAttackRepository.py => i_attack_repository.py} (100%) rename monkey/monkey_island/cc/repository/{IConfigRepository.py => i_config_repository.py} (100%) rename monkey/monkey_island/cc/repository/{ILogRepository.py => i_log_repository.py} (100%) rename monkey/monkey_island/cc/repository/{IMachineRepository.py => i_machine_repository.py} (100%) rename monkey/monkey_island/cc/repository/{INetworkMapRepository.py => i_network_map_repository.py} (100%) rename monkey/monkey_island/cc/repository/{IReportRepository.py => i_report_repository.py} (100%) rename monkey/monkey_island/cc/repository/{ISimulationRepository.py => i_simulation_repository.py} (100%) rename monkey/monkey_island/cc/repository/{IStolenCredentialsRepository.py => i_stolen_credentials_repository.py} (100%) rename monkey/monkey_island/cc/repository/{ITelemetryRepository.py => i_telemetry_repository.py} (100%) diff --git a/monkey/monkey_island/cc/repository/IAgentRepository.py b/monkey/monkey_island/cc/repository/i_agent_repository.py similarity index 100% rename from monkey/monkey_island/cc/repository/IAgentRepository.py rename to monkey/monkey_island/cc/repository/i_agent_repository.py diff --git a/monkey/monkey_island/cc/repository/IAttackRepository.py b/monkey/monkey_island/cc/repository/i_attack_repository.py similarity index 100% rename from monkey/monkey_island/cc/repository/IAttackRepository.py rename to monkey/monkey_island/cc/repository/i_attack_repository.py diff --git a/monkey/monkey_island/cc/repository/IConfigRepository.py b/monkey/monkey_island/cc/repository/i_config_repository.py similarity index 100% rename from monkey/monkey_island/cc/repository/IConfigRepository.py rename to monkey/monkey_island/cc/repository/i_config_repository.py diff --git a/monkey/monkey_island/cc/repository/ILogRepository.py b/monkey/monkey_island/cc/repository/i_log_repository.py similarity index 100% rename from monkey/monkey_island/cc/repository/ILogRepository.py rename to monkey/monkey_island/cc/repository/i_log_repository.py diff --git a/monkey/monkey_island/cc/repository/IMachineRepository.py b/monkey/monkey_island/cc/repository/i_machine_repository.py similarity index 100% rename from monkey/monkey_island/cc/repository/IMachineRepository.py rename to monkey/monkey_island/cc/repository/i_machine_repository.py diff --git a/monkey/monkey_island/cc/repository/INetworkMapRepository.py b/monkey/monkey_island/cc/repository/i_network_map_repository.py similarity index 100% rename from monkey/monkey_island/cc/repository/INetworkMapRepository.py rename to monkey/monkey_island/cc/repository/i_network_map_repository.py diff --git a/monkey/monkey_island/cc/repository/IReportRepository.py b/monkey/monkey_island/cc/repository/i_report_repository.py similarity index 100% rename from monkey/monkey_island/cc/repository/IReportRepository.py rename to monkey/monkey_island/cc/repository/i_report_repository.py diff --git a/monkey/monkey_island/cc/repository/ISimulationRepository.py b/monkey/monkey_island/cc/repository/i_simulation_repository.py similarity index 100% rename from monkey/monkey_island/cc/repository/ISimulationRepository.py rename to monkey/monkey_island/cc/repository/i_simulation_repository.py diff --git a/monkey/monkey_island/cc/repository/IStolenCredentialsRepository.py b/monkey/monkey_island/cc/repository/i_stolen_credentials_repository.py similarity index 100% rename from monkey/monkey_island/cc/repository/IStolenCredentialsRepository.py rename to monkey/monkey_island/cc/repository/i_stolen_credentials_repository.py diff --git a/monkey/monkey_island/cc/repository/ITelemetryRepository.py b/monkey/monkey_island/cc/repository/i_telemetry_repository.py similarity index 100% rename from monkey/monkey_island/cc/repository/ITelemetryRepository.py rename to monkey/monkey_island/cc/repository/i_telemetry_repository.py diff --git a/vulture_allowlist.py b/vulture_allowlist.py index 553c9780e..edfebe4cb 100644 --- a/vulture_allowlist.py +++ b/vulture_allowlist.py @@ -8,16 +8,16 @@ from monkey_island.cc import app from monkey_island.cc.models import Report from monkey_island.cc.models.networkmap import Arc, NetworkMap from monkey_island.cc.repository.attack.IMitigationsRepository import IMitigationsRepository -from monkey_island.cc.repository.IAgentRepository import IAgentRepository -from monkey_island.cc.repository.IAttackRepository import IAttackRepository -from monkey_island.cc.repository.IConfigRepository import IConfigRepository -from monkey_island.cc.repository.ILogRepository import ILogRepository -from monkey_island.cc.repository.IMachineRepository import IMachineRepository -from monkey_island.cc.repository.INetworkMapRepository import INetworkMapRepository -from monkey_island.cc.repository.IReportRepository import IReportRepository -from monkey_island.cc.repository.ISimulationRepository import ISimulationRepository +from monkey_island.cc.repository.i_agent_repository import IAgentRepository +from monkey_island.cc.repository.i_attack_repository import IAttackRepository +from monkey_island.cc.repository.i_config_repository import IConfigRepository +from monkey_island.cc.repository.i_log_repository import ILogRepository +from monkey_island.cc.repository.i_machine_repository import IMachineRepository +from monkey_island.cc.repository.i_network_map_repository import INetworkMapRepository +from monkey_island.cc.repository.i_report_repository import IReportRepository +from monkey_island.cc.repository.i_simulation_repository import ISimulationRepository +from monkey_island.cc.repository.i_telemetry_repository import ITelemetryRepository from monkey_island.cc.repository.IStolenCredentials import IStolenCredentialsRepository -from monkey_island.cc.repository.ITelemetryRepository import ITelemetryRepository from monkey_island.cc.repository.zero_trust.IEventRepository import IEventRepository from monkey_island.cc.repository.zero_trust.IFindingRepository import IFindingRepository