Skip to content

Commit

Permalink
Merge pull request #10857 from V1ManagedServices/master
Browse files Browse the repository at this point in the history
[BugFix] TrendMicro V1 Data Connector fix WB filters
  • Loading branch information
v-prasadboke authored Jul 25, 2024
2 parents 6f29126 + 0b1c81c commit b33d3f5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from shared_code.models.oat import RiskLevel

VERSION = '1.2.1'
VERSION = '1.2.2'
SIEM_NAME = 'SentinelAddon'
XDR_HOSTS = {
'us': 'https://api.xdr.trendmicro.com',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ def get_workbench_list_v3(
if not query_custom_workbench:
tmv1_filters.append("modelType eq 'preset'")
if not query_aggressive_workbench:
tmv1_filters.append("not (modelId eq 'e3c131c3-aba0-40de-8eeb-1549ffc02cd1') not (modelId eq '5b1dba8d-774e-43df-9a65-2c45523d4d69')")
tmv1_filters.append("not (modelId eq 'e3c131c3-aba0-40de-8eeb-1549ffc02cd1')")
tmv1_filters.append("not (modelId eq '5b1dba8d-774e-43df-9a65-2c45523d4d69')")
tmv1_filter = " and ".join(tmv1_filters)

query_params = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ver: 1.2.1
# ver: 1.2.2
import typing
import json

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ver: 1.2.1
# ver: 1.2.2
import uuid
from datetime import datetime, timedelta, timezone
from typing import List, Optional, Tuple
Expand Down

0 comments on commit b33d3f5

Please sign in to comment.