forked from p15670423/monkey
Agent: Add agent_id parameter to IIslandAPIClient.send_log()
This commit is contained in:
parent
4f3fd6987e
commit
a9e1b99f2f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue