> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/adapters/t/tanium-asset.md).

# Tanium Asset

Tanium Asset keeps an inventory of endpoints and their attributes. OctoXLabs reads the assets of one Asset view. The fields that the view returns decide what OctoXLabs receives.

## Use cases

* List the assets of the Tanium Asset view.

```
Adapters = tanium-asset
```

* Find Tanium assets that no other inventory source reports.

```
Adapters = tanium-asset AND NOT Adapters = active-directory
```

## Before you begin

### Network

| Source              | Destination                                    | Port | Protocol |
| ------------------- | ---------------------------------------------- | ---- | -------- |
| OctoXLabs connector | Tanium server (for example tanium.example.com) | 443  | HTTPS    |

The connector uses HTTPS when Is Secure is on, and HTTP otherwise. It does not set a port. An optional HTTP proxy can be set.

### Required permissions

| Scope or role            | Permission | Needed for                         |
| ------------------------ | ---------- | ---------------------------------- |
| Asset Report Reader role | Read       | Asset views and assets             |
| Asset API User account   | Read       | Signing in to view the Asset views |

The source instructions ask you to check that the account can see the view in Modules > Asset > Views. If the Views page is not available, assign the Asset Report Reader role.

## Create credentials in Tanium Asset

{% stepper %}
{% step %}

### Check the view access

Sign in to the Tanium Console as the **Asset API User**. From the Main menu, go to **Modules** > **Asset** > **Views** and check that you can see the view you want to use.
{% endstep %}

{% step %}

### Assign the role if needed

If the Views page is not available, assign the **Asset Report Reader** role to the account.
{% endstep %}

{% step %}

### Create the token

From the Main menu, go to **Administration** > **Permissions** > **API Tokens** and click **New API Token**.
{% endstep %}

{% step %}

### Set the details

Enter a note, for example Service Graph Connector, and set an expiration time. Leave **Persona** on **Default**.
{% endstep %}

{% step %}

### Add the source IP addresses

Enter the external IP addresses of the systems that will use the token to authenticate with Tanium Cloud.
{% endstep %}

{% step %}

### Save and copy

Click **Save**. In the **View API Token** dialog, click **Copy API Token**, then click **Close**.
{% endstep %}

{% step %}

### Find the View ID

In Tanium Asset, open the **Views** page and click the **Edit** icon of the view. The number at the end of the browser URL is the View ID. For example, in `taniumaio.tam.rd/ui/asset/views/edit/2` the View ID is 2.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter     | Required | Type     | Default | Description                                                                                                                                                                                                          |
| ------------- | -------- | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Domain        | Yes      | Text     |         | Host name or domain of the Tanium server, for example tanium.example.com.                                                                                                                                            |
| API Token     | Yes      | Password |         | API token, sent in the session header.                                                                                                                                                                               |
| View ID       | Yes      | Integer  |         | Numeric ID of the Tanium Asset view. The view decides which fields are returned.                                                                                                                                     |
| Primary Field | Yes      | Text     |         | Field of the view response that holds the host name or computer name, for example computer\_name, hostname or name. It must match the API field name exactly, which can differ from the label in the Tanium console. |
| Is Secure?    | No       | Boolean  | True    | Use HTTPS.                                                                                                                                                                                                           |
| Proxy         | No       | Text     |         | Proxy address.                                                                                                                                                                                                       |
| Timeout       | No       | Integer  | 30      | Seconds to wait for API responses.                                                                                                                                                                                   |

## Troubleshooting

| Error message                             | Cause                                                    | Fix                                          |
| ----------------------------------------- | -------------------------------------------------------- | -------------------------------------------- |
| Tanium Asset API returned 500: {response} | Tanium returned HTTP 500 without a next asset ID.        | Check the View ID and the token permissions. |
| Max retries exceeded for {url}            | The API kept returning HTTP 429 or 500 after 5 attempts. | Wait and run the discovery again.            |

## Change history

{% hint style="info" %}
Available starting from version 6.5.2.
{% endhint %}
