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!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Event Series: Level up your SOC: Advancing with Splunk Enterprise Security

AI has fundamentally raised the stakes for security operations, and this three-part series is your guide to ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...