# Import with connectors

> Choose a connector in the OpenCTI catalog, deploy it, check what it imports in its works and errors, and reset, stop or remove it.

- URL: https://filigran.io/docs/lts/7.260309-lts/opencti/use/ingest/connectors/
- Products: OpenCTI 7.260309.0-lts.8
- OpenCTI line: 7.260309 LTS · 7.260309.0-lts.8
- For: CTI team leads, administrators, CTI analysts
- Type: How-to guide

Connectors bring intelligence into OpenCTI from vendors, open source projects and security tools, each through its own integration. As a team lead, you decide which sources feed your team, check that each one delivers, and act when one stops. This page follows a connector from the catalog to its daily follow-up: what its screens tell you, what its state and its works are, and what each action changes. An administrator usually deploys the connectors and owns their accounts. For how imported data reaches the knowledge base, read [How intelligence gets into OpenCTI](https://filigran.io/docs/lts/7.260309-lts/opencti/use/ingest/) first.

## Before you start {#before-you-start}

| To | You need |
| --- | --- |
| See the connectors, their state and their works | The **Access connectors** capability |
| Deploy a connector from the catalog | The **Manage ingestion** and **Connectors API usage: register, ping, export push ...** capabilities, an Enterprise Edition license, and XTM Composer running beside the platform. See [Deploy integrations with XTM Composer](https://filigran.io/docs/lts/7.260309-lts/deploy/integrations/composer/) |
| Start, stop, reset or delete a connector, clear or delete its works | The **Manage connector state** capability |
| Update the options of a connector deployed with XTM Composer | The **Manage connector state** and **Connectors API usage: register, ping, export push ...** capabilities |
| See the [forms](https://filigran.io/docs/lts/7.260309-lts/opencti/use/ingest/forms/) listed with the integrations, and open one to fill it in | The **Create / Update knowledge** capability |
| See the roles, groups and organizations of the account a connector writes as | The **Manage credentials** capability |

Without XTM Composer, a banner says that deploying requires the **Integration Manager**, and the deployment form is read-only. Without an Enterprise Edition license, **Deploy** carries the Enterprise Edition badge.

## What each kind of connector does {#what-each-kind-of-connector-does}

The **Type** of a connector says when it runs and what it does to your knowledge.

| Type | What it does for your team |
| --- | --- |
| **External import** | Fetches a source on its own schedule, such as a vendor feed or the MITRE ATT&CK matrices, and imports what is new |
| **Internal enrichment** | Adds context to an entity, on request or automatically. See [Enrich with connectors](https://filigran.io/docs/lts/7.260309-lts/opencti/use/enrich/connectors/) |
| **Internal import file** | Reads the files you upload, such as a PDF report or a STIX bundle. See [Import from files](https://filigran.io/docs/lts/7.260309-lts/opencti/use/ingest/files/) |
| **Internal export file** | Writes the exports you generate, such as a PDF or a STIX file |
| **Internal analysis** | Reads the content of a container or a file and suggests the entities it mentions |
| **Stream** | Listens to the platform's changes and sends them to another tool, such as a SIEM |
| **Internal ingestion** | Built into the platform, such as **[DRAFT] Draft validation**, which writes approved drafts |

This page is mostly about external import connectors, but every connector has the same screens.

Each connector writes as one account, usually a service account. That account's confidence level, markings and organizations apply to everything the connector creates: a connector cannot create what its account may not, and cannot overwrite knowledge of a higher confidence. Its objects show that account as **Creator**. See [Reliability and confidence](https://filigran.io/docs/lts/7.260309-lts/opencti/concepts/reliability-confidence/).

## Choose a connector in the catalog {#choose-a-connector-in-the-catalog}

*(OpenCTI before 7.260811)*

1. Open **Data > Ingestion > Connector catalog**.
2. Search by name or description, or filter by connector type or use case.
3. Click **Details** on a card to read what the connector does and how to configure it.

A badge on **Deploy** shows that the connector is already deployed.

A connector that XTM Composer cannot deploy can still run: an administrator starts it beside the platform, as [Run an integration manually](https://filigran.io/docs/lts/7.260309-lts/deploy/integrations/manual/) describes. It appears with the others once it registers.

## Deploy a connector {#deploy-a-connector}

1. On the connector's card or page, click **Deploy**. For a community connector, **Deploy a Community Connector** first asks you to acknowledge that Filigran does not support it.
2. In **Deploy a new connector**, enter a **Display name** that says what the connector brings, such as the source and its scope. The **Instance name** follows from it.
3. Choose the account the connector writes as. Keep **Automatically create a service account** to get a new account named after the connector, with the prefix `[C]`, and set its confidence level: the form proposes the level the catalog recommends for this connector. Otherwise, choose an existing account in **Service account responsible for data creation**.
4. Fill in the required options under **Configuration**, such as an API key. Open **Advanced options** for the others, such as how often the connector runs or the date from which it imports.
5. Click **Create**. The connector is created stopped.
6. Open it from the **Deployed** tab and click **Start**.

Automatic service accounts need a default group. If the form says that no default group has been defined, ask an administrator to set **Default group for Service accounts**. See [Create accounts for integrations](https://filigran.io/docs/lts/7.260309-lts/opencti/administer/service-accounts/).

A connector that is not compatible with your platform version cannot be deployed: the tooltip of **Deploy** gives the version it needs. The full deployment path, including XTM Composer, is in [Deploy a first integration with XTM Composer](https://filigran.io/docs/lts/7.260309-lts/deploy/integrations/quick-start/).

## Follow what connectors import {#follow-what-connectors-import}

*(OpenCTI before 7.260811)*

Open **Data > Ingestion > Connectors**. Each connector shows its status, when it was last seen and the messages waiting in its queue.

A large number of queued messages means the workers cannot keep up. The connector itself is fine: the data will arrive.

## Read a connector's page {#read-a-connector-s-page}

Click a connector to open its page. It answers three questions: who it writes as, where it stands, and what each import did.

### Who it writes as and what it handles {#who-it-writes-as-and-what-it-handles}

**Basic information** describes the connector:

- **Type**, and **Last seen**, the time of its last heartbeat.
- **Scope**: the types of data it handles, such as `IPv4-Addr` for an enrichment connector or `text/csv` for a file import connector.
- **Automatic trigger** and **Only contextual**, for enrichment and file import connectors: whether it runs on its own, and whether it only processes data related to the entity it runs on. Other types show **Not applicable**.
- **Trigger filters**, for enrichment connectors: the entities it enriches automatically. See [Enrich with connectors](https://filigran.io/docs/lts/7.260309-lts/opencti/use/enrich/connectors/).
- **Associated user**, the account the connector writes as, with its **Max confidence level**, **User's roles**, **User's groups** and **User's organizations**. You need **Manage credentials** to see them.

A connector deployed with XTM Composer also shows **About this connector**: its use cases, and links to **View in catalog**, **Source code** and **Vendor contact**.

### Where it stands: its state {#where-it-stands-its-state}

A connector keeps a **State**: a small record it saves after each run, such as the date of the last object it imported. At its next run, it reads the state and fetches only what is newer. **Details** shows the state and what follows from it:

- **Last run**, read from the state when the connector saves it there, as **Last run (from State)**.
- **Next run**, or **External schedule** when another tool starts the connector.
- **Server capacity**: the size of the messages waiting in the connector's queue, against the limit it accepts. Above the limit, the connector shows **Buffering** and waits for the workers before it fetches more.
- For a connector deployed with XTM Composer: its **Instance name** and, while it runs, its **Uptime**.

A value the connector does not report shows **Not provided**.

### What each import did: its works {#what-each-import-did-its-works}

Each run, or each file processed, is a work.

*(OpenCTI before 7.260811)*

Below the details, the page lists the **In progress works** and the **Completed works**.

Each work shows its **Status**, its **Work start time** and **Work end time**, the **Operations completed** out of the **Total number of operations**, and its **Progress**. The button with the number of errors opens them, sorted in tabs:

- **Critical**: the object was not written, for example because of a database error or two objects claiming the same identifier.
- **Warning**: the object was refused for a reason you can act on, for example an indicator with a wrong pattern, a missing reference, or a confidence level too low to change an existing object.
- **All**: every error, including those the platform does not classify.

Each line gives the **Timestamp**, the **Code**, the **Message** and the **Source** object; **Details** shows the object and, for a relationship, its **From** and **To**. Only the first 100 errors of a work are listed. The [error reference](https://filigran.io/docs/lts/7.260309-lts/reference/opencti/errors/) explains the messages.

A work that never ends usually means the connector stopped in the middle of a run. Many warnings about confidence mean the connector's account has a lower confidence level than the knowledge it tries to update: ask an administrator whether to raise it.

### Logs {#logs}

A connector deployed with XTM Composer also has a **Logs** tab with its recent output. Other connectors write their logs where they run: ask the administrator who runs them.

## Act on a connector {#act-on-a-connector}

Open the connector page. A connector deployed with XTM Composer has a **Start** or **Stop** button; the other actions are in the actions menu (⋮).

| Action | What it does | Available for |
| --- | --- | --- |
| **Start**, **Stop** | Starts or stops the connector | Connectors deployed with XTM Composer |
| **Update** | Opens **Update a connector**, to change its **Display name** and its options. The change takes a few minutes to apply | Connectors deployed with XTM Composer |
| **Reset the connector state** | Forgets the state, so the connector imports again from its start date, and purges its queue. The confirmation shows the number of messages that will be lost | All connectors |
| **Clear all works** | Removes the history of imports from the works. The imported data stays | All connectors |
| **Delete** | Removes the connector from the platform. A connector deployed with XTM Composer must be stopped first | All but built-in connectors |

**Delete** on a single work removes that work from the list, not its data.

Reset a connector when you want to replay its source, for example after you change its start date, or when its queue holds outdated messages you do not want to process. Purging the queue avoids importing data twice. When your platform protects sensitive changes, the action shows as **Reset** with a danger zone mark, and only the people allowed can use it. See [Sensitive configuration](https://filigran.io/docs/lts/7.260309-lts/opencti/administer/sensitive-configuration/).

When the options of a connector change in a new version, its page warns that deprecated configuration fields are still set. Click **Edit configuration** to review and remove them.

**Example: Keep MITRE ATT&CK current for the Velvet Harbor analysis**

Your analysts map the techniques of Velvet Harbor, such as T1566 Phishing, to MITRE ATT&CK, so the platform needs the ATT&CK matrices and their updates. Your platform runs XTM Composer.

1. In **Integrations**, tab **Available**, search `MITRE` and open **MITRE ATT&CK**. It is an **External import** connector, **Supported by Filigran**.
2. Click **Deploy**. Set **Display name** to `MITRE ATT&CK` and keep **Automatically create a service account** with the confidence level the form proposes, 80. The connector will write as `[C] MITRE ATT&CK`.
3. Open **Advanced options**. Keep the polling interval of 7 days, and turn on the option that removes the statement markings MITRE puts on its data, so that they do not show on every technique. Click **Create**.
4. In the **Deployed** tab, open **MITRE ATT&CK** and click **Start**. Within a few minutes, it shows **Started** and a recent **Last seen**.
5. Open **Works**: the first work imports the matrices with thousands of operations, and the techniques appear in **Techniques > Attack patterns**. In **Overview**, **Next run** shows the next check, seven days later.
6. A week later, an analyst reports that a technique is missing. **Works** shows that the first run never completed: the platform restarted during the import. Choose **Reset the connector state** in the actions menu: the connector forgets its last run and imports the matrices again at its next check.

The team now finds every ATT&CK technique to link to Velvet Harbor, and the matrices stay current without anyone asking.

## Check that it works {#check-that-it-works}

A connector that runs shows a recent **Last seen** and new lines in its works, with few errors.

The objects it imports carry its account as **Creator**: filter any list by **Creator** to see them.

## Settings an administrator controls {#settings-an-administrator-controls}

Two platform settings shape how connectors run. An administrator sets them in the platform configuration.

| Setting | Effect | Default |
| --- | --- | --- |
| `app:composer_token_expiration` (`APP__COMPOSER_TOKEN_EXPIRATION`) | How long, in seconds, the API token of a connector deployed with XTM Composer stays valid between two reads of the connector's configuration by XTM Composer. Each read renews it. When it lapses, the platform revokes the token, named **Composer managed token** on the connector's account, and issues a new one at the next read | `604800` (7 days) |
| `app:task_scheduler:max_queues_breakdown` (`APP__TASK_SCHEDULER__MAX_QUEUES_BREAKDOWN`) | Number of queues that background tasks, such as bulk edits from a list, are spread over for the workers | `4` |

The other settings of the queues and workers are in the [engines, schedules and managers settings](https://filigran.io/docs/lts/7.260309-lts/reference/opencti/configuration/#engines-schedules-and-managers), and those of XTM Composer in the [XTM Suite settings](https://filigran.io/docs/lts/7.260309-lts/reference/opencti/configuration/#xtm-suite).

## What's next {#what-s-next}

- [Enrich with connectors](https://filigran.io/docs/lts/7.260309-lts/opencti/use/enrich/connectors/), for connectors that add context to existing entities.
- [Troubleshoot integrations](https://filigran.io/docs/lts/7.260309-lts/deploy/integrations/troubleshoot/), when a connector stops reporting.
- [How integrations run](https://filigran.io/docs/lts/7.260309-lts/deploy/integrations/how-they-run/), for the platform side of connectors.
- [How intelligence gets into OpenCTI](https://filigran.io/docs/lts/7.260309-lts/opencti/use/ingest/), for the built-in feeds that need no connector.
