Splunk SOAR

Phantom Decision Filter

tbrown110
New Member

Hello,

I have a playbook that is currently in production and I don't want to randomly test it without asking the question first.  We have a condition that has to be met in order for our playbook to continue via an if / else  decision filter. This filter is based on whether or not an user is an Employee or Non-Employee.

However, we have other employee and non-employee types, example would be "Employee Executive".  With this, currently the operators are 

== Employee
OR

== Non-Employee

 

I'm wondering if the "in" option is more of a contains?  could I switch the operator values to just "in Employee", since the word Employee is in all string options we would want to evaluate to true on?  anything else is false and follows the else path. 

Labels (2)
0 Karma
1 Solution

phanTom
SplunkTrust
SplunkTrust

@tbrown110  the 'is in' statement is a string match. For this case it would work as you described, if you put "Employee" is in "<datapath_value(s)>" then if there is any occurrence of the word employee in the data values (single or list) it will match as true.  The problem you may have is if the Non-Employees have the word 'Employee' in the data then it will still resolve to true and pass down the Employee route.

Please add a tick below if this answers your question. Thanks.

View solution in original post

0 Karma

phanTom
SplunkTrust
SplunkTrust

@tbrown110  the 'is in' statement is a string match. For this case it would work as you described, if you put "Employee" is in "<datapath_value(s)>" then if there is any occurrence of the word employee in the data values (single or list) it will match as true.  The problem you may have is if the Non-Employees have the word 'Employee' in the data then it will still resolve to true and pass down the Employee route.

Please add a tick below if this answers your question. Thanks.

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

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...