Forum Discussion
agoodson
Microsoft
Dec 13, 2021Compare a watchlist of IPs to DNS Events
I am trying to compare IOCs from a watchlist in Sentinel to the DnsEvent based on a KQL query. But I am having trouble comparing the two sources. I thought about a union statement, but I can't get ar...
- Dec 13, 2021
agoodson a join would work.
_GetWatchlist('IPAddresses') | join (DnsEvents) on $left.IPAddress == $right.IPAddresses
GaryBushey
Dec 13, 2021Bronze Contributor
agoodson a join would work.
_GetWatchlist('IPAddresses')
| join (DnsEvents) on $left.IPAddress == $right.IPAddresses