forked from p15670423/monkey
Island: Fix mongo query in report generation for exploits
This commit is contained in:
parent
453dc21074
commit
11f48a95be
|
@ -142,7 +142,7 @@ class ReportService:
|
|||
@staticmethod
|
||||
def get_exploits() -> List[dict]:
|
||||
query = [
|
||||
{"$match": {"telem_category": "exploit", "data.result": True}},
|
||||
{"$match": {"telem_category": "exploit", "data.exploitation_result": True}},
|
||||
{
|
||||
"$group": {
|
||||
"_id": {"ip_address": "$data.machine.ip_addr"},
|
||||
|
|
Loading…
Reference in New Issue