Forum Discussion

akshay250692's avatar
akshay250692
Brass Contributor
Mar 22, 2023

call all watchlist column entity in incident.

We have created watchlist which is having 3 column. So if any incident is triggered from watchlist, we should get all entities in incident. We have created watchlist based on ThreatIntel. It have 3 column like IPAddress, MalwareName, Provider. So we have projected in watchlist only "IPAddress" in analytical rule. but we want IPAddress along with MalwareName, Provider in incident.

 

Can someone help to regarding KQL for above situation ?

  • You will not be able to have anything in the incident that is not part of the analytic rule unless you add it as a comment later. I would suggest having all that information added as entities (or at least one entity that is a JSON array) so you can access it in the Incident itself.
    • akshay250692's avatar
      akshay250692
      Brass Contributor

      GBushey 

       

      This is below query .

       

      let Watchlist = (_GetWatchlist('xyz')
      | project SearchKey);
      DeviceNetworkEvents
      | where LocalIP in (Watchlist) or RemoteIP in (Watchlist)

       

      below is watchlist column which are IPAddress,Provider and MalwareName. how all column included to above query.

       

      • GBushey's avatar
        GBushey
        Icon for Microsoft rankMicrosoft
        Get rid of the "project" statement if you want to see all the columns. The "project" statement will only show those columns that are included as part of the statement ("SearchKey" in this case)

Resources