forked from p15670423/monkey
Island Add TODO to resources.monkey.Monkey.post()
This commit is contained in:
parent
49b72e8651
commit
0cd6f15fc1
|
@ -61,6 +61,11 @@ class Monkey(flask_restful.Resource):
|
|||
# Called on monkey wakeup to initialize local configuration
|
||||
@TestTelemStore.store_exported_telem
|
||||
def post(self, **kw):
|
||||
|
||||
# TODO: Why is it the registration of an agent coupled to exploit telemetry? It's hard to
|
||||
# understand why an agent registering itself should be so complicated. Is it because
|
||||
# agent state (dead) and config are conflated? Figure out why this thing is so
|
||||
# complicated. Then simplify it.
|
||||
with agent_killing_mutex:
|
||||
monkey_json = json.loads(request.data)
|
||||
monkey_json["dead"] = False
|
||||
|
|
Loading…
Reference in New Issue