SearchIncidentsV2 not returning results

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

SearchIncidentsV2 not returning results

L2 Linker

Hi, I am using SearchIncidentsV2 automation to loop through 2 IP addresses previously saved to IP incident key, to see if these IPs are showing in FireEye NX alerts. When I try to loop I receive empty foundIncidents key:  

MMagdic_0-1689670794647.png

 

 

 

When I hardcode the IP addresses everything works as it should. 
What I am missing?
Cortex XSOAR 

 

 

 

1 accepted solution

Accepted Solutions

L4 Transporter

Hi again, you need to use join transformer for that task. Before searching the incidents Set another field as below and then use it in the search incidents task.

gyldz_3-1689685291576.png

 

 

gyldz_2-1689685246360.png

 

View solution in original post

8 REPLIES 8

L4 Transporter

Hi @MMagdic ,

 

Do you see any results when you use the same query in the incidents page search box?

Yes, of course with hardcoded IP values.

L4 Transporter

But when I check your query, the IP is the same for the victim and target which does not sound right. Could you please copy and paste the same query in incidents search box to see if there is any alerts.

Yes, the reason to have both (victim and target) is because sometimes FireEye NX is parsing incident fields not correctly, putting external (attacker IP) in target ip. But the query is working:

MMagdic_0-1689683575150.png

So the question is how to loop through a couple of IP addresses, e.g. at least 2 IP addresses in SearchIncidentsV2 automation using query as a filter.

 

See here results when I try with 2 IP addresses:
query_results.pngquery_results_foundIncidents.png

L4 Transporter

Hi again, you need to use join transformer for that task. Before searching the incidents Set another field as below and then use it in the search incidents task.

gyldz_3-1689685291576.png

 

 

gyldz_2-1689685246360.png

 

Thanks, but this should work only by adding space before&after "or" to " or " (in Join Transformer) as in cli:

!SearchIncidentsV2 query="type:FireEye NX Alert and fireeyenxalertvictimip:11.11.11.11 or 134.122.90.162"

L4 Transporter

Yes there was a space in the screenshot I shared 🙂

  • 1 accepted solution
  • 2250 Views
  • 8 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!