Concept

How integrations run

How connectors, collectors, injectors and executors run next to OpenCTI and OpenAEV, how they reach their platform, and which ones xtm-docker always starts.

OpenCTIOpenAEVXTM ComposerFor platform engineers and administrators

An integration is a small program that connects OpenCTI or OpenAEV to another system: it imports or exports data, enriches it, or runs actions. Most integrations run as their own container next to the platform. This page explains how they run, how they reach their platform, and which ones the XTM stack starts by default, so you can choose how to run yours.

Four kinds of integration

KindPlatformWhat it doesHow it is built
ConnectorOpenCTIImports, enriches, streams or exports threat intelligenceConnectors
CollectorOpenAEVReads detection and prevention results, or reference data, from a security tool or a sourceCollectors
InjectorOpenAEVRuns injects: sends emails, runs scans, calls other toolsInjectors
ExecutorOpenAEVDeploys and runs OpenAEV agents on endpointsExecutors

The catalog of available integrations is the XTM Hub integrations library. Each platform also shows its own catalog: Integrations, Available tab (Data, then Ingestion, then Connector catalog before 7.260811) in OpenCTI, Integrations > Catalog in OpenAEV.

Built-in and external

Some integrations live inside the platform and need no deployment:

  • OpenAEV embeds some injectors, such as email, SMS and media pressure. You configure them in the platform configuration.
  • OpenAEV runs its own agent natively, and you configure the executors of endpoint security products, such as Tanium or CrowdStrike Falcon, in Integrations > Executors of OpenAEV.

Everything else is external: a program, usually in Python, published as a Docker image (opencti/connector-*, openaev/collector-*, openaev/injector-*), that you run yourself or let XTM Composer run for you.

How an integration reaches its platform

Every external integration needs two settings to reach its platform, plus an identity of its own:

SettingOpenCTI connectorOpenAEV collector or injector
Platform URLOPENCTI_URLOPENAEV_URL
API tokenOPENCTI_TOKENOPENAEV_TOKEN
Unique ID, a UUIDv4CONNECTOR_IDCOLLECTOR_ID or INJECTOR_ID
Display nameCONNECTOR_NAMECOLLECTOR_NAME or INJECTOR_NAME

At start, the integration registers with the platform through its API, with its token. The platform then gives it the address and credentials of RabbitMQ:

  • An OpenCTI connector pushes the STIX 2.1 bundles it produces to its RabbitMQ queue, and the OpenCTI workers write them into the platform. Enrichment and export connectors also receive their jobs from RabbitMQ.
  • An OpenAEV injector receives its work through RabbitMQ in the same way.
INTEGRATIONSPLATFORMSQUEUESConnectorOpenCTI import, enrichment, stream,exportCollector, injectorOpenAEV, external onesOpenCTIAPI at OPENCTI_URLOpenAEVAPI at OPENAEV_URLRabbitMQOne queue per integration
  1. Connector → OpenCTI: register with token
  2. Collector, injector → OpenAEV: register with token
  3. Connector → RabbitMQ: push and listen
  4. Collector, injector → RabbitMQ: injectors listen
  5. OpenCTI → RabbitMQ: workers consume
How an integration exchanges data with its platform

So an integration must reach two things on the network: the platform URL you give it, and RabbitMQ at the host name and port the platform hands out. In the XTM stack, both are on the Docker network of the deployment (xtm_default with the default COMPOSE_PROJECT_NAME=xtm), as http://opencti:8080, http://openaev:8080 and rabbitmq:5672. A connector that cannot reach RabbitMQ can talk to OpenCTI over HTTP only: see Run an integration without XTM Composer.

The token decides what the integration can do. OpenCTI recommends one user per connector, in the Connectors group. OpenAEV integrations can share an administrator token. The details are in Run an integration without XTM Composer.

Three ways to run integrations

WayWhat you doWhen to choose it
XTM ComposerDeploy, start, stop and configure integrations from the platform interface. XTM Composer runs the containersMost deployments. It requires an Enterprise Edition license
The default integrations of xtm-dockerNothing: they are part of the stackThe integrations every platform needs, always started with the stack
By handAdd a service to a Compose file, or run the Python programAn integration that is not in the catalog, or a deployment without Enterprise Edition

You can combine them: the default integrations run as Compose services while XTM Composer runs the ones you add later.

The default integrations of xtm-docker

FiligranHQ/xtm-docker always starts these integrations with the stack: they are defined next to their platform, in modules/opencti.yml and modules/openaev.yml. Each one runs as a Compose service with restart: always, starts once its platform is healthy, and uses the admin token of its platform (OPENCTI_ADMIN_TOKEN or OPENAEV_ADMIN_TOKEN in .env). Its ID is in .env too.

OpenCTI connectors
ServiceWhat it does
connector-export-file-stixExports data as STIX 2.1
connector-export-file-csvExports data as CSV
connector-export-file-txtExports data as plain text
connector-import-file-stixImports STIX 2.1 bundles
connector-import-documentImports PDF, HTML and text documents and extracts their knowledge
connector-import-file-yaraImports YARA rules
connector-analysisAnalyzes PDF, HTML and text documents
connector-import-external-referenceImports the content of external references
connector-openctiLoads the OpenCTI datasets: marking definitions, identities, locations
connector-mitreLoads MITRE ATT&CK

The import, analysis and dataset connectors (connector-import-*, connector-analysis, connector-opencti, connector-mitre) set CONNECTOR_AUTO_CREATE_SERVICE_ACCOUNT=true, with a confidence level of 100. At start, each one creates a service account named [C] <connector name> in the Connectors group, then runs with its token instead of the admin token.

The three export connectors keep a token of their own: an export connector acts as the user who asked for the export, and only an account with Bypass all capabilities can do so. Give each one the token of a service account in a group that has it, such as Administrators, in CONNECTOR_EXPORT_FILE_STIX_TOKEN, CONNECTOR_EXPORT_FILE_CSV_TOKEN and CONNECTOR_EXPORT_FILE_TXT_TOKEN of .env. Left empty, as in .env.sample, they use the admin token.

OpenAEV collectors and injectors
ServiceKindWhat it does
collector-mitre-attackCollectorLoads MITRE ATT&CK attack patterns
collector-openaevCollectorLoads the OpenAEV datasets
collector-atomic-red-teamCollectorLoads the Atomic Red Team tests
collector-nvd-nist-cveCollectorLoads CVEs from the NVD. Set COLLECTOR_NVD_NIST_CVE_API_KEY in .env: optional, recommended
injector-nmapInjectorRuns Nmap network scans
injector-nucleiInjectorRuns Nuclei vulnerability scans

See them run

Each platform lists the integrations that registered with it, managed by XTM Composer or not:

  • OpenCTI: Integrations, Deployed tab (Data, then Ingestion, then Connectors before 7.260811) shows each connector, its status and the messages waiting in its RabbitMQ queue.
  • OpenAEV: Integrations > Collectors and Integrations > Injectors show each collector and injector and its status.

From the host, the containers of the default integrations are Compose services:

docker compose ps --format '{{.Service}} {{.Status}}' | grep -E '^(connector|collector|injector)-'
Check that it worked

Each default integration is Up. A container that keeps restarting cannot reach its platform: run docker compose logs <service> to see why.

What's next

NextInstall XTM Composer
Deploy
Install, configure, secure, scale and upgrade the platform.

Published

Overview
Run the XTM platform locally
OverviewDeploy with an AI agent