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 3fd83daaa..d14c8deeb 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 @@ -30,10 +30,11 @@ class IIslandAPIClient(ABC): """ @abstractmethod - def send_log(self, log_contents: str): + def send_log(self, agent_id: int, log_contents: str): """ Send the contents of the agent's log to the island + :param agent_id: The ID of the agent whose logs are being sent :param log_contents: The contents of the agent's log :raises IslandAPIConnectionError: If the client cannot successfully connect to the island :raises IslandAPIRequestError: If an error occurs while attempting to connect to the