All Apps and Add-ons

SOAR- Splunk Notable push through splunk App soar export

harishlnu
Engager

Hi Team,

 

Could you please help me on below issue.
I am using splunk App soar export for to push notable to Splunk phantom, but it was creating 2 same artifacts in one container, can you guide how can i avoid create multiple artifact in one container

Thanks in advance

Labels (1)
Tags (1)
0 Karma

marnall
Motivator

Yeah the app is not great at deduplicating the notables it sends to SOAR. Ideally you would want this app to run a search, find result with some key field X, then create only one container with one artifact containing that result. Subsequent searches in the app will create a new artifact in the same container, but this is unwanted.

One way around this is to set up your generating search so that it appends the results to a whitelist which is used in later executions of the search to remove the results already seen.

E.g. imagine you have a unique field of "id" in your results. You want only one container+artifact per value of "id".

1. Make a lookup containing one "id" column. E.g. search_whitelist.csv

2. Change your search to append and exclude ids:

| <your search>
| search NOT [| inputlookup search_whitelist.csv | table id]
| outputlookup search_whitelist.csv append=true


3. (optional but recommended) - make another search which removes old entries from the search_whitelist.csv if it gets too big. E.g.

| inputlookup search_whitelist.csv
| sort - id
| head 10000
| outputlookup search_whitelist.csv

 

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

What Is Splunk? Here’s What You Can Do with Splunk

Hey Splunk Community, we know you know Splunk. You likely leverage its unparalleled ability to ingest, index, ...

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...