Tanium
Export installed applications across managed endpoints from the Tanium Console (Interactivity/Export), the Tanium API or Tanium Connect, and upload them with the SIM template.
Tanium collects endpoint data through its distributed sensors. The following sources provide the relevant information for this export:
- Computer Information Sensor, Provides device names and endpoint identifiers.
- Installed Applications Sensor, Returns software names, versions, and publishers.
- Tanium Asset or Tanium Discover Modules, (Optional) Provide enriched software inventory and vendor data.
These can be accessed via the Tanium Console (Ask Question feature), Tanium Connect exports, or the Tanium API.
Prerequisites
Section titled âPrerequisitesâFor console (UI) method
Section titled âFor console (UI) methodâ- Access to the Tanium Console with permissions to use the Ask Question feature.
- Ensure all endpoints have completed recent sensor scans.
- Optional: Access to Tanium Connect for scheduled exports.
For API or Tanium Connect method
Section titled âFor API or Tanium Connect methodâ- Access to the Tanium API or Tanium Connect module.
- API credentials with at least read-only access to sensors:
Computer NameInstalled ApplicationsInstalled Application VersionsInstalled Application Publisher
- A working environment with PowerShell, curl, or Postman to interact with the API.
- Permission to export or save responses in CSV format.
Export methods
Section titled âExport methodsâOption 1: Tanium console (Ask Question method)
Section titled âOption 1: Tanium console (Ask Question method)âThis method is recommended for most users and produces fast, accurate results directly from the Tanium Console.
Step 1: Ask a question
Section titled âStep 1: Ask a questionâ- Log into the Tanium Console.
- In the Questions tab, click Ask a Question.
- Enter the following question syntax:
Get Computer Name and Installed Applications and Installed Application Version and Installed Application Publisher from all machines - Click Ask Question.
- Wait for responses to complete (ensure 100% response rate for best accuracy).
Step 2: Export results
Section titled âStep 2: Export resultsâ- Click Export Results in the top-right corner of the question response window.
- Choose CSV format.
- Save the file as
Tanium_SIM_Export.csv. - Confirm the exported columns match the following:
Field Description Device Name The hostname of the endpoint Software Name Installed software name Software Version Version number Software Publisher Vendor or publisher name
Option 2: Tanium API or Tanium Connect (advanced / automated)
Section titled âOption 2: Tanium API or Tanium Connect (advanced / automated)âFor automated or large-scale environments, use the Tanium Connect module or Tanium API to programmatically extract data.
Step 1: Create an export connection in Tanium Connect
Section titled âStep 1: Create an export connection in Tanium Connectâ- Go to Tanium Console â Connect â Sources.
- Click Add Source and choose Saved Question.
- In the question field, enter:
Get Computer Name and Installed Applications and Installed Application Version and Installed Application Publisher from all machines - Under Format, select CSV.
- Set the output destination (e.g., local path, SFTP, or email).
- Save and run the connection.
- The generated file will be named similarly to
Tanium_SIM_Export.csv.
Step 2: API method (optional scripted extraction)
Section titled âStep 2: API method (optional scripted extraction)âBelow is an example PowerShell script using Taniumâs REST API to execute the same question and export the results.
# Tanium SIM Template Export Script# Requires API credentials with permissions to ask questions
$TaniumUrl = "https://your-tanium-server"$Username = "api_user"$Password = "api_password"
# Authenticate to Tanium API$AuthBody = @{ username = $Username; password = $Password } | ConvertTo-Json$AuthResponse = Invoke-RestMethod -Uri "$TaniumUrl/api/v2/session/login" -Method POST -Body $AuthBody -ContentType "application/json"$Token = $AuthResponse.data.session
# Build question text$QuestionText = "Get Computer Name and Installed Applications and Installed Application Version and Installed Application Publisher from all machines"
# Ask question$Body = @{ text = $QuestionText } | ConvertTo-Json$Response = Invoke-RestMethod -Uri "$TaniumUrl/api/v2/questions" -Method POST -Headers @{ "session" = $Token } -Body $Body -ContentType "application/json"$QuestionId = $Response.data.id
# Wait and retrieve resultsStart-Sleep -Seconds 15$Results = Invoke-RestMethod -Uri "$TaniumUrl/api/v2/questions/$QuestionId/results" -Headers @{ "session" = $Token }
# Process and export results$ExportData = @()foreach ($Row in $Results.data.result_sets.rows) { $ExportData += [PSCustomObject]@{ "Device Name" = $Row[0].text "Software Name" = $Row[1].text "Software Version" = $Row[2].text "Software Publisher" = $Row[3].text }}
$ExportPath = "C:\Exports\Tanium_SIM_Export.csv"$ExportData | Export-Csv -Path $ExportPath -NoTypeInformation -Encoding UTF8
Write-Host "Export complete: $ExportPath"This script connects to Taniumâs REST API, runs the same âAsk Questionâ query, and exports all software inventory data in the correct SIM Template format.
Preparing for SIM import
Section titled âPreparing for SIM importâThe CSV header row must be exactly Device Name,Software Name,Software Version,Software Publisher.
- Open the Licenseware SIM Template.
- Paste or import the CSV data.
Ensure there are no extra columns or blank rows before saving.
Then upload it on the SIM - Template data source. See SIM template.
Troubleshooting
Section titled âTroubleshootingâ| Issue | Cause | Resolution |
|---|---|---|
| Partial or missing data | Sensors not deployed or incomplete endpoint responses | Re-run the question and ensure 100% response rate. |
| Unauthorized API call | Invalid credentials or expired session | Regenerate API token and retry. |
| Publisher field blank | Not all software includes publisher metadata | Fill in manually if required before SIM import. |
| Encoding issues | CSV not UTF-8 encoded | Save export as UTF-8 before import. |
| Slow responses | Too many endpoints queried simultaneously | Limit query scope or run via Tanium Connect in batches. |
Example output
Section titled âExample outputâDevice Name,Software Name,Software Version,Software PublisherPC-001,Google Chrome,129.0.6668.90,Google LLCPC-002,Microsoft Teams,1.7.00.12345,Microsoft CorporationLAPTOP-003,Slack,4.39.95,Slack TechnologiesSRV-01,Adobe Acrobat DC,24.002.20933,Adobe Inc.