From f05f247417436f8b939ce8d04075818c81fa0dee Mon Sep 17 00:00:00 2001 From: Kekoa Kaaikala Date: Fri, 30 Sep 2022 17:19:36 +0000 Subject: [PATCH] Island: Hook up the /api/machines endpoint --- monkey/monkey_island/cc/app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/monkey/monkey_island/cc/app.py b/monkey/monkey_island/cc/app.py index 5e0aaadb2..18af5f2a6 100644 --- a/monkey/monkey_island/cc/app.py +++ b/monkey/monkey_island/cc/app.py @@ -20,6 +20,7 @@ from monkey_island.cc.resources import ( ClearSimulationData, IPAddresses, IslandLog, + Machines, PBAFileDownload, PBAFileUpload, PropagationCredentials, @@ -173,6 +174,7 @@ def init_restful_endpoints(api: FlaskDIWrapper): api.add_resource(AgentBinaries) api.add_resource(NetMap) api.add_resource(Edge) + api.add_resource(Machines) api.add_resource(Node) api.add_resource(NodeStates)