Extract IP's from context data

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

Extract IP's from context data

L1 Bithead

Hi Team,
we want to extract and check the IP reputation of IP's from a context data value which consists of 70k IP's  from EDL and i just need 1000 IP's from that context value. Could you please assist us ..?  please find the attachment 
Cortex XSOAR 

1 accepted solution

Accepted Solutions

L3 Networker

Hi @SOAR-ADMIN – I see you already have your list of IPs stored in the ${MatchRegex.results} context key. If you only need to get the first 1000 IPs from the list, you can use the out-of-the-box GetRange transformer on that context key to only get the specified range of values.

 

When doing large-volume indicator enrichment like this, it is a good idea to break the input data into batches, as you are planning to do, to avoid overloading your server. Make sure quiet mode is turned on and indicator extraction is turned off on the enrichment task.

View solution in original post

3 REPLIES 3

L3 Networker

Hi @SOAR-ADMIN – I see you already have your list of IPs stored in the ${MatchRegex.results} context key. If you only need to get the first 1000 IPs from the list, you can use the out-of-the-box GetRange transformer on that context key to only get the specified range of values.

 

When doing large-volume indicator enrichment like this, it is a good idea to break the input data into batches, as you are planning to do, to avoid overloading your server. Make sure quiet mode is turned on and indicator extraction is turned off on the enrichment task.

L1 Bithead

Thanks  Asawyer for your Reply, Could you suggest some free Threat intel platform from marketplace to enrich those IP's additionally which command should be used to remove duplicate IP's from that list ...?

@SOAR-ADMIN You can filter the Marketplace on "Free Enricher" to find publicly available threat intel integrations.

 

Screenshot 2024-03-22 at 3.37.18 PM.png

 

To dedup a list, use the Unique transformer.

  • 1 accepted solution
  • 695 Views
  • 3 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!