---
title: "Installing and Configuring the ThreatConnect TAXII 2.1 Server (App Version 2.0)"
slug: "installing-and-configuring-the-threatconnect-taxii-21-server"
description: "This article describes how to install and configure version 2.0 of the ThreatConnect TAXII Server Service App for use in conjunction with the ThreatConnect TAXII 2.1 server, as well as how to use the ThreatConnect TAXII Server user interface."
updated: 2024-12-18T12:50:55Z
published: 2024-12-18T12:50:55Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://knowledge.threatconnect.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Installing and Configuring the ThreatConnect TAXII 2.1 Server (App Version 2.0)

NoteThis article applies to the ThreatConnect TAXII 2.1 server available with **version 2.0** of the **ThreatConnect TAXII Server**App. For instruction on using the ThreatConnect TAXII 2.1 server available with **version 1.0**of the **ThreatConnect TAXII Server**App, see [*Using the ThreatConnect TAXII 2.1 Server (App Version 1.0)*](https://knowledge.threatconnect.com/docs/taxii-21-server). For instruction on using the ThreatConnect TAXII 1.*x* server, see [*Using the ThreatConnect TAXII Server*](https://knowledge.threatconnect.com/v1/docs/using-the-threatconnect-taxii-server).

## Overview

The ThreatConnect® TAXII™ 2.1 server can be used by an external TAXII client to retrieve data from your [Organization, Communities, and Sources](https://knowledge.threatconnect.com/docs/ownership-in-threatconnect). To use the TAXII 2.1 server, you must install and configure the **ThreatConnect TAXII Server**[Service App](https://knowledge.threatconnect.com/docs/playbook-services). This App also provides access to the **ThreatConnect TAXII Server**user interface, which lets you view and configure collections, data mappings, and Indicator time-to-live (TTL) values for the ThreatConnect TAXII 2.1 server.

## Before You Start

### User Roles

- To install the **ThreatConnect TAXII Server**App, your user account must have a [System role](https://knowledge.threatconnect.com/docs/threatconnect-system-roles-and-permissions) of Administrator.
- To create and configure a Service for the **ThreatConnect TAXII Server**App, your user account must have a System role of Administrator or an Organization role of Organization Administrator.
- To access the **ThreatConnect TAXII Server**user interface, your user account must have an [Organization role](https://knowledge.threatconnect.com/docs/organization-roles) of Organization Administrator in an Organization that is allowed to use the Service for the **ThreatConnect TAXII Server** App.

### Prerequisites

- Version 2.0 of the **ThreatConnect TAXII Server**App requires a ThreatConnect instance with version 7.2.0 or newer installed.
- [Create a ThreatConnect API user account](https://knowledge.threatconnect.com/docs/creating-user-accounts#creating-an-api-user) (if you do not already have one), as the ThreatConnect TAXII 2.1 server requires access to an API user account.
- To have access to Playbook Services, turn on the **playbooksEnabled** system setting for your ThreatConnect instance on the **System Settings**screen (must be a System Administrator to perform this action). Also, edit your Organization on the **Organizations**tab of the **Account Settings**screen and select the**Enable Playbooks**checkbox on the **Permissions**tab of the**Organization Information**window (must be a System Administrator, Operations Administrator, or Accounts Administrator to perform this action).

## Installing the ThreatConnect TAXII Server Service App

Follow these steps to install the **ThreatConnect TAXII Server** [Service App](https://knowledge.threatconnect.com/v1/docs/playbook-services) on your ThreatConnect instance via TC Exchange™:

1. Log into ThreatConnect with a System Administrator account.
2. Hover over **Settings**![Settings icon](https://cdn.document360.io/dfc206c8-1c9f-4725-b74d-a66f83432320/Images/Documentation/Settings%20icon.png)on the top navigation bar and select **TC Exchange Settings**. Then select the **Catalog** tab on the **TC Exchange Settings**screen.
3. Locate the **ThreatConnect TAXII Server** App on the **Catalog**tab. Then click **Install**![Plus icon_Dark blue](https://cdn.document360.io/dfc206c8-1c9f-4725-b74d-a66f83432320/Images/Documentation/Plus%20icon_Dark%20blue.png)in the **Options**column for the **ThreatConnect TAXII Server** App with an App version number of **2.0.0**.
4. Click **INSTALL**on the **Release Notes** window for the **ThreatConnect TAXII Server** App.

NoteWhen installing a Service App, it does not matter whether you select the **Allow all organizations**checkbox on the **Release Notes**window. The Service itself, rather than the Service App, sets the permissions and access to the App, as detailed in the [“Creating and Configuring the ThreatConnect TAXII Server Service”](/docs/installing-and-configuring-the-threatconnect-taxii-21-server#creating-and-configuring-the-threatconnect-taxii-server-service) section.

## Creating and Configuring the ThreatConnect TAXII Server Service

Follow these steps to create and configure a Service for the **ThreatConnect TAXII Server**App after installing the App:

1. Log into ThreatConnect with a System Administrator or Organization Administrator account.
2. Hover over **Playbooks** on the top navigation bar and select **Services**.
3. Click **+ NEW**at the upper-left corner of the **Services**screen.
4. Fill out the fields on the **Select** step of the **Create Service**drawer (Figure 1) as follows:  
![Figure 1_Installing and Configuring the ThreatConnect TAXII 2.1 Server_App Version 2.0_7.7.3](https://cdn.document360.io/dfc206c8-1c9f-4725-b74d-a66f83432320/Images/Documentation/Figure%201_Installing%20and%20Configuring%20the%20ThreatConnect%20TAXII%202.1%20Server_App%20Version%202.0_7.7.3.png)
  - **Name**: Enter a unique name for the Service.
  - **Type**: Select **Service API**.
  - **Service**: Select **ThreatConnect TAXII Server v2.0.0**.
5. Click **NEXT**to proceed to the **Configure** step (Figure 2). Then fill out the fields on the **Configure**step as follows:  
![Figure 2_Installing and Configuring the ThreatConnect TAXII 2.1 Server_App Version 2.0_7.7.3](https://cdn.document360.io/dfc206c8-1c9f-4725-b74d-a66f83432320/Images/Documentation/Figure%202_Installing%20and%20Configuring%20the%20ThreatConnect%20TAXII%202.1%20Server_App%20Version%202.0_7.7.3.png)
  - **Launch Server**: Select **tc-job**.
  - **Permissions**: Select one or more Organizations that will be allowed to use the Service. Alternatively, select **Allow all**to allow all Organizations to use the Service.NoteIf selecting individual Organizations, make sure to select the Organization in which you will [create the TAXII user](https://knowledge.threatconnect.com/docs/creating-a-taxii-user-for-the-threatconnect-taxii-21-server) for the ThreatConnect TAXII 2.1 server.
  - **API Path**: Enter a unique API path that will be used to make the TAXII requests. The default API path is **taxii**.NoteIf you plan to run multiple copies of the Service, each Service must have a unique API path.
  - **Enable Notifications**: Select this checkbox to send an email when the Service fails to start. It is recommended to enable this setting.
  - **Email Address**: If you selected the **Enable Notifications** checkbox, enter the email address to which notifications should be sent. It is recommended to enter an email address for a ThreatConnect user with a System role of Administrator.
  - **Max restart attempts on failure**: Enter the number of times ThreatConnect should try to restart the Service if it fails. It is recommended to set this value to **3**.
6. Click **NEXT**to proceed to the **Parameters** step (Figure 3). Then fill out the fields on the **Parameters**step as follows:  
![Figure 3_Installing and Configuring the ThreatConnect TAXII 2.1 Server_App Version 2.0_7.7.3](https://cdn.document360.io/dfc206c8-1c9f-4725-b74d-a66f83432320/Images/Documentation/Figure%203_Installing%20and%20Configuring%20the%20ThreatConnect%20TAXII%202.1%20Server_App%20Version%202.0_7.7.3.png)
  - **ThreatConnect API Access ID**: The ThreatConnect TAXII 2.1 server requires access to a [ThreatConnect API user account](https://knowledge.threatconnect.com/docs/creating-user-accounts#creating-an-api-user). Enter the Access ID for the API user account that the ThreatConnect TAXII 2.1 server will use.
  - **ThreatConnect API Secret Key**: The ThreatConnect TAXII 2.1 server requires access to a ThreatConnect API user account. Enter the Secret Key for the API user account that the ThreatConnect TAXII 2.1 server will use.
7. Click **SAVE** on the **Create Service**drawer.
8. Locate the newly created Service on the **Services**screen, and then turn on the toggle to the left of the Service to activate it (Figure 4).NoteIt is recommended to set the Service’s log level to **INFO**, **WARN**, or **ERROR**.![Figure 4_Installing and Configuring the ThreatConnect TAXII 2.1 Server_App Version 2.0_7.7.3](https://cdn.document360.io/dfc206c8-1c9f-4725-b74d-a66f83432320/Images/Documentation/Figure%204_Installing%20and%20Configuring%20the%20ThreatConnect%20TAXII%202.1%20Server_App%20Version%202.0_7.7.3.png)

After the Service starts successfully, click the **API Path** link to open the [**ThreatConnect TAXII Server**user interface](/docs/installing-and-configuring-the-threatconnect-taxii-21-server#using-the-threatconnect-taxii-server-user-interface).

## Using the ThreatConnect TAXII Server User Interface

Version 2.0 of the **ThreatConnect TAXII Server**App re-envisions and enhances the ThreatConnect TAXII 2.1 server with a user interface that includes the following features:

- [**Collection management**](/docs/installing-and-configuring-the-threatconnect-taxii-21-server#collection-management) that leverages [ThreatConnect Query Language (TQL)](https://knowledge.threatconnect.com/docs/threatconnect-query-language-tql) to filter Indicators included in each collection.
- [**Configurable Indicator TTL values**](/docs/installing-and-configuring-the-threatconnect-taxii-21-server#configuring-indicator-ttl-values) at the global and collection levels, where collection-level Indicator TTL values override global Indicator TTL values.
- [**Customizable ThreatConnect-to-STIX™ data mappings**](/docs/installing-and-configuring-the-threatconnect-taxii-21-server#customizing-data-mappings) utilizing [JMESPath](https://jmespath.org/) at the global and collection levels, where collection-level mappings override global mappings.

### Collection Management

Select **Collections**in the side navigation bar on the **ThreatConnect TAXII Server**user interface to open the **Collections**screen (Figure 5). Here, you can view, create, and manage ThreatConnect TAXII 2.1 server collections.

![Figure 5_Installing and Configuring the ThreatConnect TAXII 2.1 Server_App Version 2.0_7.7.3](https://cdn.document360.io/dfc206c8-1c9f-4725-b74d-a66f83432320/Images/Documentation/Figure%205_Installing%20and%20Configuring%20the%20ThreatConnect%20TAXII%202.1%20Server_App%20Version%202.0_7.7.3.png)

NoteDepending on the size of your screen, you may need to zoom out to view the **Mappings**and **TTLs**columns on the **Collections**screen.

#### Viewing Collections

The ThreatConnect TAXII 2.1 server supports two types of collections:

- **Built-in collections** that correspond to each of your [ThreatConnect owners](https://knowledge.threatconnect.com/docs/ownership-in-threatconnect). These collections are available by default after starting the Service for the **ThreatConnect TAXII Server**App. Built-in collections are denoted by a **Built-In** label to the left of the collection name in the **Name**column.
- **Virtual collections**that are created with the [**Add Collection**button](/docs/installing-and-configuring-the-threatconnect-taxii-21-server#creating-a-virtual-collection) at the top right of the **Collections**screen.

#### Copying a Collection's UUID or URL

In some cases, you may want to view a collection directly in a web browser or while using an API tool like Postman®. Use the![Copy Link icon](https://cdn.document360.io/dfc206c8-1c9f-4725-b74d-a66f83432320/Images/Documentation/Copy%20Link%20icon.png)and![Copy icon](https://cdn.document360.io/dfc206c8-1c9f-4725-b74d-a66f83432320/Images/Documentation/Copy%20icon.png)icons to the left of a collection's universally unique identifier (UUID) in the **Collection UUID**column to copy the collection's URL or UUID, respectively, to your computer's clipboard.

HintTo copy the base API URL for the ThreatConnect TAXII 2.1 server to your computer's clipboard, click the **⋮**menu at the top right of the **ThreatConnect TAXII Server**user interface and select **TAXII Server Base API URL**.

#### Managing Collections

Click a collection’s **⋮**menu to access the following options:

- **Clone Collection**: Select this option to create a copy of the collection. If the collection to be copied includes a [TQL query](https://knowledge.threatconnect.com/docs/threatconnect-query-language-tql), you can update the query for the copy of the collection.
- [**Customize Mapping**](/docs/installing-and-configuring-the-threatconnect-taxii-21-server#adding-collectionlevel-data-mappings): Select this option to manage custom data mappings for the collection. If you add a custom data mapping to a collection, a **Custom** label will be displayed in the **Mappings** column for the collection.
- [**Customize TTL**](/docs/installing-and-configuring-the-threatconnect-taxii-21-server#adding-collectionlevel-indicator-ttl-values): Select this option to manage custom Indicator TTL values for the collection. If you add a custom Indicator TTL value to a collection, a **Custom** label will be displayed in the **TTLs** column for the collection.
- **Delete Collection**: Select this option to delete a virtual collection. Built-in collections may not be deleted.
- **Edit Collection**: Select this option to edit a virtual collection's name, TQL query, and ThreatConnect owners. Built-in collections may not be edited.
- **Preview Collection**: Select this option to preview the collection’s data (Figure 6).  
![Figure 6_Installing and Configuring the ThreatConnect TAXII 2.1 Server_App Version 2.0_7.7.3](https://cdn.document360.io/dfc206c8-1c9f-4725-b74d-a66f83432320/Images/Documentation/Figure%206_Installing%20and%20Configuring%20the%20ThreatConnect%20TAXII%202.1%20Server_App%20Version%202.0_7.7.3.png)

#### Creating a Virtual Collection

Follow these steps to create a virtual collection:

1. Select **Collections**in the side navigation bar on the **ThreatConnect TAXII Server**user interface.
2. Click **Add Collection** on the **Collections**screen.
3. Fill out the following fields on the **Add Collection**drawer:
  - **Collection Name**: Enter the collection's name.
  - **Collection TQL Query**: (Optional) Enter a [TQL query](https://knowledge.threatconnect.com/docs/threatconnect-query-language-tql) that will be used to filter Indicators included in the collection.
  - **ThreatConnect Owners**: Select one or more ThreatConnect owners whose Indicators will be included in the collection.
4. Click **Save**on the **Add Collection**drawer.

### Configuring Indicator TTL Values

You can configure Indicator TTL values (that is, the amount of time an Indicator will exist in an external source, such as a SIEM or an ISAC, before it expires) at the global and collection levels. Indicator TTL values configured at the global level are inherited at the collection level; however, Indicator TTL values configured at the collection level will override global Indicator TTL values.

TTL values are limited to Indicators only; you cannot configure TTL values for Groups. Also, TTL values are measured in hours.

ImportantA TTL value of **-1** denotes an infinite TTL that does not expire.

An Indicator TTL value in ThreatConnect is converted to the **valid_until**STIX Indicator object field . The **valid_until** field's value is automatically converted into a timestamp that is calculated based on an Indicator's **last_modified**timestamp and the TTL value for the Indicator's type.

NoteIf an Indicator's **last_modified** timestamp and TTL value are in the past, ThreatConnect still includes the Indicator object in the collection. Be aware that downstream systems (e.g., a SIEM) consuming STIX data may ignore expired Indicators.

#### Viewing and Managing Global Indicator TTL Values

Select **Global TTLs**in the side navigation bar on the **ThreatConnect TAXII Server**user interface to open the **Global TTLs**screen (Figure 7). Here, you can view, create, and manage global Indicator TTL values for the ThreatConnect TAXII 2.1 server.

![Figure 7_Installing and Configuring the ThreatConnect TAXII 2.1 Server_App Version 2.0_7.7.3](https://cdn.document360.io/dfc206c8-1c9f-4725-b74d-a66f83432320/Images/Documentation/Figure%207_Installing%20and%20Configuring%20the%20ThreatConnect%20TAXII%202.1%20Server_App%20Version%202.0_7.7.3.png)

Use the **Edit![Edit button_Details card_Details screen](https://cdn.document360.io/dfc206c8-1c9f-4725-b74d-a66f83432320/Images/Documentation/Edit%20button_Details%20card_Details%20screen.png)**and **Delete![Delete button_Details screen](https://cdn.document360.io/dfc206c8-1c9f-4725-b74d-a66f83432320/Images/Documentation/Delete%20button_Details%20screen.png)**icons for a global Indicator TTL value to edit and delete the value, respectively.

#### Adding Global Indicator TTL Values

Follow these steps to add an Indicator TTL value at the global level:

1. Select **Global TTLs**in the side navigation bar on the **ThreatConnect TAXII Server**user interface.
2. Fill out the fields on the **Global TTLs**screen as follows:
  - **Indicator Type**: Select the type of Indicator to configure the TTL value for.
  - **TTL (Hours)**: Enter the number of hours until Indicators of the selected type will exist in an external source before they expire. To set an infinite TTL and prevent Indicators of the selected type from expiring, set the TTL value to **-1**.
3. Click **Add**on the **Global TTLs**screen.

#### Adding Collection-Level Indicator TTL Values

Follow these steps to add an Indicator TTL value at the collection level:

1. Select **Collections**in the side navigation bar on the **ThreatConnect TAXII Server**user interface.
2. Click the **⋮**menu for a collection and select **Customize TTL**.
3. Fill out the fields on the **Customize TTL**drawer as follows:
  - **Indicator Type**: Select the type of Indicator to configure the TTL value for.
  - **TTL (Hours)**: Enter the number of hours until Indicators of the selected type will exist in an external source before they expire. To set an infinite TTL and prevent Indicators of the selected type from expiring, set the TTL value to **-1**.
4. Click **Add**on the **Customize TTL**drawer.

### Customizing Data Mappings

You can configure data mappings at the global and collection levels. Data mappings configured at the global level are inherited at the collection level; however, data mappings configured at the collection level will override global data mappings.

#### Viewing and Managing Global Data Mappings

Select **Global Mappings**in the side navigation bar on the **ThreatConnect TAXII Server**user interface to open the **Global Mappings**screen (Figure 8). Here, you can view, create, and manage global data mappings for the ThreatConnect TAXII 2.1 server.

![Figure 8_Installing and Configuring the ThreatConnect TAXII 2.1 Server_App Version 2.0_7.7.3](https://cdn.document360.io/dfc206c8-1c9f-4725-b74d-a66f83432320/Images/Documentation/Figure%208_Installing%20and%20Configuring%20the%20ThreatConnect%20TAXII%202.1%20Server_App%20Version%202.0_7.7.3.png)

Use the **Edit![](https://cdn.document360.io/dfc206c8-1c9f-4725-b74d-a66f83432320/Images/Documentation/Edit%20button_Details%20card_Details%20screen.png)**and **Delete![](https://cdn.document360.io/dfc206c8-1c9f-4725-b74d-a66f83432320/Images/Documentation/Delete%20button_Details%20screen.png)**icons for a global data mapping to edit and delete the mapping, respectively.

#### Adding Global Data Mappings

Follow these steps to add a data mapping at the global level:

1. Select **Global Mappings**in the side navigation bar on the **ThreatConnect TAXII Server**user interface.
2. Fill out the fields on the **Global Mappings**screen as follows:
  - **STIX Object Field**: Enter a STIX Indicator object field. When you click into the text box, a list of fields available for the [STIX 2.1 Indicator object type](https://docs.oasis-open.org/cti/stix/v2.1/csprd01/stix-v2.1-csprd01.html#_Toc16070633) will be displayed.
  - **JMESPath Expression**: Enter a [JMESPath expression](https://jmespath.org/) to extract a ThreatConnect Indicator object. The extracted object will be mapped to the specified STIX Indicator object field.
3. Click **Add**on the **Global Mappings**screen.

#### Adding Collection-Level Data Mappings

Follow these steps to add a data mapping at the collection level:

1. Select **Collections**in the side navigation bar on the **ThreatConnect TAXII Server**user interface.
2. Click the **⋮**menu for a collection and select **Customize Mapping**.
3. Fill out the fields on the **Customize Field Mapping**drawer as follows:
  - **STIX Object Field**: Enter a STIX Indicator object field. When you click into the text box, a list of fields available for the [STIX 2.1 Indicator object type](https://docs.oasis-open.org/cti/stix/v2.1/csprd01/stix-v2.1-csprd01.html#_Toc16070633) will be displayed.
  - **JMESPath Expression**: Enter a [JMESPath expression](https://jmespath.org/) to extract a ThreatConnect Indicator object. The extracted object will be mapped to the specified STIX Indicator object field.
4. Click **Add**on the **Customize Field Mapping** drawer.

---

*ThreatConnect® is a registered trademark, and TC Exchange™ is a trademark of ThreatConnect, Inc. STIX™ and TAXII™ are trademarks of The MITRE Corporation. Postman® is a registered trademark of Postman, Inc.*

20167-02 v.01.A
