All Apps and Add-ons

Phantom Tanium: 'Variables' in query action

ng87
Path Finder

Trying to use the "Run Query" action from the Tanium app.

The problem I am having is specifying the hostname to be searched.

For example, this should be the search that gets sent to the server :

Get Trace Executed Processes from all machines with Computer Name equals MyHostname1

Obviously, as this is part of the playbook I want the hostname to be filled in from the CEF|Artifacts field.
Does anyone know if this is possible?

Tried the below that didn't work:

  Get Trace ..................  equals artifact.*.cef.sourceHostName 
0 Karma

ansusabu
Communicator

You can use format block for defining the query. like,

Get Trace Executed Processes from all machines with Computer Name equals {0}

and define parameter of the format block as 'artifact.*.cef.sourceHostName'

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Build the Future of Agentic AI: Join the Splunk Agentic Ops Hackathon

AI is changing how teams investigate incidents, detect threats, automate workflows, and build intelligent ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...