> 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-comply.md).

# Tanium Comply

Tanium Comply reports vulnerability and compliance findings for endpoints. OctoXLabs reads the endpoints through the Tanium Gateway GraphQL API and adds their CVE findings to the Vulnerabilities field of each device. CIS and DISA compliance findings can be stored as raw data.

## Use cases

* List the endpoints that Tanium Comply reports.

```
Adapters = tanium-comply
```

* Find Tanium Comply endpoints that no endpoint detection tool reports.

```
Adapters = tanium-comply AND NOT Adapters = falcon-crowdstrike
```

## Before you begin

### Network

| Source              | Destination                                                                                      | Port | Protocol |
| ------------------- | ------------------------------------------------------------------------------------------------ | ---- | -------- |
| OctoXLabs connector | Tanium Gateway host (Tanium Cloud: -api.cloud.tanium.com; on premises: Tanium Server FQDN or IP) | 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                            |
| ----------------------------------------------------- | ------------------- | ------------------------------------- |
| Comply read role (for example Comply Report Reviewer) | Read                | Compliance and vulnerability findings |
| API Gateway User account                              | Use the Gateway API | Signing in with the token             |

The permissions come from the source instructions.

## Create credentials in Tanium Comply

{% stepper %}
{% step %}

### Sign in

Sign in to the Tanium Console as an **API Gateway User**.
{% endstep %}

{% step %}

### Check the role

Make sure the account has a Comply read role, for example **Comply Report Reviewer**, so it can read compliance and vulnerability findings.
{% 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 and set an expiration time.
{% endstep %}

{% step %}

### Add the source IP addresses

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

{% step %}

### Save and copy

Click **Save**, then **Copy API Token**. The token starts with `token-`.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter                    | Required | Type     | Default | Description                                                                                                                         |
| ---------------------------- | -------- | -------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| Domain                       | Yes      | Text     |         | Tanium host that serves the Gateway API. For Tanium Cloud use the -api subdomain. For on premises use the Tanium Server FQDN or IP. |
| API Token                    | Yes      | Password |         | Gateway API token (prefix token-), sent in the session header.                                                                      |
| Is Secure                    | No       | Boolean  | True    | Use HTTPS. Turn it off only for on premises servers without TLS.                                                                    |
| Page Size                    | No       | Integer  | 200     | Endpoints per Gateway page. Findings are returned inline for each endpoint, so keep this modest.                                    |
| Fetch Vulnerability Findings | No       | Boolean  | True    | Request CVE findings for each endpoint. They fill the Vulnerabilities field.                                                        |
| Fetch Compliance Findings    | No       | Boolean  | False   | Also request CIS and DISA benchmark compliance findings. They can be very large and are stored as raw data only.                    |
| Proxy                        | No       | Text     |         | Proxy address.                                                                                                                      |
| Timeout                      | No       | Integer  | 30      | Seconds to wait for API responses.                                                                                                  |

## Troubleshooting

| Error message                          | Cause                                                                                                  | Fix                                                                   |
| -------------------------------------- | ------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------- |
| Tanium Gateway GraphQL error: {errors} | Tanium answered HTTP 200 with a GraphQL errors array, for example for a wrong token or a missing role. | Read the error text. Check the token, its expiry and the Comply role. |

## Change history

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