From a314efb8d963d5c617fb844ead64d138ba1f33e4 Mon Sep 17 00:00:00 2001 From: Ilija Lazoroski Date: Fri, 23 Sep 2022 15:55:12 +0200 Subject: [PATCH] Agent: Reword get_agent_signals docstring --- .../island_api_client/i_island_api_client.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/monkey/infection_monkey/island_api_client/i_island_api_client.py b/monkey/infection_monkey/island_api_client/i_island_api_client.py index 34348aeef..c2a4dc899 100644 --- a/monkey/infection_monkey/island_api_client/i_island_api_client.py +++ b/monkey/infection_monkey/island_api_client/i_island_api_client.py @@ -135,11 +135,12 @@ class IIslandAPIClient(ABC): @abstractmethod def get_agent_signals(self, agent_id: str) -> Optional[datetime]: """ - Get agent signals from the island + Gets an agent's signals from the island + :param agent_id: ID of the agent whose signals should be retrieved :raises IslandAPIConnectionError: If the client could not connect to the island :raises IslandAPIRequestError: If there was a problem with the client request :raises IslandAPIRequestFailedError: If the server experienced an error :raises IslandAPITimeoutError: If the command timed out - :return: Terminate datetime + :return: The relevant agent's terminate signal's timestamp """