From f00268c4a18584d0a4af9f6450a4a107bf27b604 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Tue, 30 Aug 2022 07:00:43 -0400 Subject: [PATCH] Island: Add IAgentRepository.reset() --- monkey/monkey_island/cc/repository/i_agent_repository.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/monkey/monkey_island/cc/repository/i_agent_repository.py b/monkey/monkey_island/cc/repository/i_agent_repository.py index c3b25dc34..ae254f97f 100644 --- a/monkey/monkey_island/cc/repository/i_agent_repository.py +++ b/monkey/monkey_island/cc/repository/i_agent_repository.py @@ -39,3 +39,9 @@ class IAgentRepository(ABC): :return: All `Agents` that are currently running :raises RetrievalError: If an error occurred while attempting to retrieve the `Agents` """ + + @abstractmethod + def reset(self): + """ + Removes all data from the repository + """