Island: Rename mongo query variable in T1082.py

This commit is contained in:
Shreya Malviya 2022-02-17 16:58:41 +05:30
parent f243e4a722
commit 83f544c9f2
1 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ class T1082(AttackTechnique):
{"$replaceRoot": {"newRoot": "$_id"}},
]
query_for_pbas = [
query_for_running_processes_list = [
{
"$match": {
"$and": [
@ -93,7 +93,7 @@ class T1082(AttackTechnique):
ScanStatus.USED.value if system_info_data else ScanStatus.UNSCANNED.value
)
pba_data = list(mongo.db.telemetry.aggregate(T1082.query_for_pbas))
pba_data = list(mongo.db.telemetry.aggregate(T1082.query_for_running_processes_list))
successful_PBAs = mongo.db.telemetry.count(
{
"$and": [