Island: Hook up the /api/machines endpoint

This commit is contained in:
Kekoa Kaaikala 2022-09-30 17:19:36 +00:00
parent eeca5fbea2
commit f05f247417
1 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,7 @@ from monkey_island.cc.resources import (
ClearSimulationData, ClearSimulationData,
IPAddresses, IPAddresses,
IslandLog, IslandLog,
Machines,
PBAFileDownload, PBAFileDownload,
PBAFileUpload, PBAFileUpload,
PropagationCredentials, PropagationCredentials,
@ -173,6 +174,7 @@ def init_restful_endpoints(api: FlaskDIWrapper):
api.add_resource(AgentBinaries) api.add_resource(AgentBinaries)
api.add_resource(NetMap) api.add_resource(NetMap)
api.add_resource(Edge) api.add_resource(Edge)
api.add_resource(Machines)
api.add_resource(Node) api.add_resource(Node)
api.add_resource(NodeStates) api.add_resource(NodeStates)