diff --git a/monkey/monkey_island/cc/resources/monkey.py b/monkey/monkey_island/cc/resources/monkey.py index b32ecbb83..07e96a4b3 100644 --- a/monkey/monkey_island/cc/resources/monkey.py +++ b/monkey/monkey_island/cc/resources/monkey.py @@ -96,7 +96,7 @@ class Monkey(flask_restful.Resource): for x in mongo.db.telemetry.find( { "telem_category": {"$eq": "exploit"}, - "data.result": {"$eq": True}, + "data.exploitation_result": {"$eq": True}, "data.machine.ip_addr": {"$in": monkey_json["ip_addresses"]}, "monkey_guid": {"$eq": parent}, } @@ -117,7 +117,7 @@ class Monkey(flask_restful.Resource): for x in mongo.db.telemetry.find( { "telem_category": {"$eq": "exploit"}, - "data.result": {"$eq": True}, + "data.exploitation_result": {"$eq": True}, "data.machine.ip_addr": {"$in": monkey_json["ip_addresses"]}, } )