Forum Discussion
Watchlist regular
- Dimitry36Aug 05, 2022Copper Contributor
GaryBushey
let CriticalGroups = (_GetWatchlist('CriticalGroup') | project Name);
workspace("").WindowsEvent
| where EventID in (4732, 4728, 4746, 4751, 4756, 4761, 4787, 4785)
| where EventData.SubjectUserSid <> "S-1-5-18"
| extend Group = tostring(EventData.MemberName)
| where Group matches regex (CriticalGroups)
| limit 100
'where' operator: Failed to resolve scalar expression named 'CriticalGroups' If the issue persists, please open a support ticket. Request id: 12cc72e8-15b0-4c17-aea3-466767b12a84I suppose a particular function cannot be used in this way. what to do? Tell me please!
- GaryBusheyAug 05, 2022Bronze Contributor
OK. I misunderstood what you were looking for. You just need to do a join on UPS (in the original posting)
| join (UPS) on $left.Group == $right.Name(or something very close to that)
- Dimitry36Aug 08, 2022Copper Contributor
test request. added the word Windows
We make a request for events and check if the required word is in the specified field
add comparison function
I understand that the value must be exact. In my task, the value is not complete.How else can you solve this problem?