From 4741151f22c83b23aad7190f964465be4fb47664 Mon Sep 17 00:00:00 2001 From: Shay Nehmad Date: Tue, 16 Apr 2019 20:57:51 +0300 Subject: [PATCH] Try to remote run even if not auth Since auth == keys, but now it works with roles as well --- monkey/monkey_island/cc/resources/remote_run.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/monkey/monkey_island/cc/resources/remote_run.py b/monkey/monkey_island/cc/resources/remote_run.py index b1b2d5f7b..eb21bcadd 100644 --- a/monkey/monkey_island/cc/resources/remote_run.py +++ b/monkey/monkey_island/cc/resources/remote_run.py @@ -50,6 +50,9 @@ class RemoteRun(flask_restful.Resource): if is_auth: result = self.run_aws_monkeys(body) resp['result'] = result + else: + result = self.run_aws_monkeys(body) + resp['result'] = result return jsonify(resp) # default action