Splunk SOAR (f.k.a. Phantom)

Multiple Artifacts Causing Multiple Playbook Runs

cmg
Explorer

When a container is created that contains multiple artifacts from a forwarded Splunk event, I noticed playbooks are running against every artifact that has been added, causing duplicate actions.

Reading through the boards here a bit a possible solution was adding logic to check for a container tag on run. Use a decision block to see if a tag exists, if so simply end, otherwise continue and add a tag when complete.

My problem is this appears to work when testing against existing containers (debug against existing container ID and all artifacts), but when a new container is created it seems to ignore this and run multiple times.

My guess is the playbook is being run concurrently for each of the artifacts instead of one at a time.

1. What is causing the problem?
2. What is best practice to prevent this from occurring?

Labels (1)
0 Karma

phanTom
SplunkTrust
SplunkTrust

@cmg it sounds like you are getting multiple artifacts in your container upon creation? If there are duplicate actions does that also mean there are duplicate artifact values? 

There is a setting in the Splunk App for SOAR Export that will create just 1 artifact rather than multiple duplciates where generally only 1 field is different (if there are Multi Value fields in the results). 

0 Karma

cmg
Explorer

@phanTom 

Correct, multiple artifacts in a container upon creation. It looks like there are duplicate values, however the artifact ID is different.

I do have multi-value fields configured (default). Is that where you are suggesting making the change?

0 Karma

phanTom
SplunkTrust
SplunkTrust

@cmg yes you should change the setting but be aware values, where there is an MV field,  will now come in as lists and you may need to adjust your playbook(s) to handle that. 

0 Karma
Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...