You are reading the documentation of OpenCTI 7.260309 LTS · 7.260309.0-lts.8, supported until 2027-04.Latest is 7.261119.0 →
Concept

What each XTM module brings

What each module of the XTM stack brings, the services it runs, the shared services it uses and the settings it needs in .env. The whole stack is always deployed.

All modulesFor platform engineers and evaluators

The XTM stack is always deployed whole: XTM One, OpenCTI, OpenAEV, OpenCRQ, their default integrations and XTM Composer start together, with the shared services they use. No module is optional. This page says what each module adds, which services it runs, which shared services it uses and what it needs in .env.

INTEGRATIONSPLATFORMSAT THE CENTERSHARED SERVICESDefault OpenCTI connectors10 connectorsDefault OpenAEV integrations4 collectors, 2 injectorsXTM ComposerManages both platformsOpenCTIPlatform and 3 workersOpenAEVPlatformOpenCRQPlatformXTM Onextm-one and its workerElasticsearch and RabbitMQUsed by OpenCTI and OpenAEVS3 storage, PostgreSQLS3 for every platform, PostgreSQL for allbut OpenCTIRedisUsed by XTM One and OpenCTI
  1. Default OpenCTI connectors → OpenCTI: work for
  2. Default OpenAEV integrations → OpenAEV: work for
  3. XTM Composer → OpenCTI: manages integrations
  4. XTM Composer → OpenAEV: manages integrations
  5. OpenCTI → Elasticsearch and RabbitMQ: uses
  6. OpenAEV → Elasticsearch and RabbitMQ: uses
  7. OpenAEV → S3 storage, PostgreSQL: openaev database
  8. OpenCRQ → S3 storage, PostgreSQL: opencrq database and bucket
  9. XTM One → S3 storage, PostgreSQL: uses
  10. XTM One → Redis: uses
The XTM stack always starts whole: XTM One, OpenCTI, OpenAEV and OpenCRQ, the default integrations, XTM Composer and the shared services they use

The whole stack

1 · What the stack runs: every module
XTM OneThe agentic AI orchestration layer at the center of the platform, its web application and its worker.
OpenSandbox · optional, profile opensandboxRuns the code of custom tools, of the code interpreter and of the checks of a repository workspace, one container per run.
OpenCTIThe cyber threat intelligence platform and its worker.
Default connectors · 10 servicesFile imports and exports, document analysis, the OpenCTI datasets and MITRE ATT&CK.
XTM Composer Deploys and runs integrations from the interface of OpenCTI and OpenAEV.
OpenAEVThe adversarial exposure validation platform.
Default collectors and injectors · 6 servicesMITRE ATT&CK, the OpenAEV datasets, Atomic Red Team, NVD CVE, Nmap and Nuclei.
XTM Composer Deploys and runs integrations from the interface of OpenCTI and OpenAEV.
OpenCRQCyber risk quantification, fed by OpenCTI and OpenAEV, registered with XTM One.
2 · The shared services they use
ElasticsearchStores and searches the knowledge of OpenCTI and OpenAEV
S3 storageFiles, imports and exports (RustFS, S3 compatible)
PostgreSQLDatabase of OpenAEV, OpenCRQ and XTM One (pgvector)
RabbitMQQueues between platforms, workers and integrations
RedisCache, sessions and live events
3 · Download and start the whole stack
docker compose pull
docker compose up -d

No module is optional: the XTM platform is deployed whole, as the xtm-docker compose describes it.

  • XTM Onehttp://localhost:8090
  • OpenCTIhttp://localhost:8080
  • OpenAEVhttp://localhost:8081
  • OpenCRQhttp://localhost:8082
Generated from FiligranHQ/xtm-docker@24cd380 (docker-compose.yml)

What starts

In FiligranHQ/xtm-docker, docker-compose.yml includes one file per module, in modules/, and one file per shared service, in infra/. docker compose pull, then docker compose up -d, starts the 32 services of these files. No setting leaves a module out.

ModuleCompose fileServices it runsShared services it uses
XTM Onemodules/xtm-one.ymlxtm-one, xtm-one-worker, and the xtm-one-db-init jobRedis, S3 storage, PostgreSQL
OpenCTImodules/opencti.ymlopencti, worker (3 replicas), and 10 default connectorsElasticsearch, RabbitMQ, Redis, S3 storage
OpenAEVmodules/openaev.ymlopenaev, 4 default collectors and 2 default injectorsElasticsearch, RabbitMQ, S3 storage, PostgreSQL
OpenCRQmodules/opencrq.ymlopencrq, and the opencrq-db-init and opencrq-bucket-init jobsS3 storage, PostgreSQL
XTM Composermodules/xtm-composer.ymlxtm-composer, and the rsa-key-generator jobNone
Check what will start
docker compose config --services

It lists the 32 services of the stack, among them xtm-one, opencti, openaev, opencrq and xtm-composer.

XTM One

XTM One is the AI layer at the center of the platform. Its AI agents work across the platforms connected to it. It needs these values in .env:

VariableWhat to put
XTM_ONE_ADMIN_EMAILThe admin email of the platforms you connect, so that XTM One finds their user
XTM_ONE_ADMIN_PASSWORDThe password of the XTM One admin
XTM_ONE_SECRET_KEYA long random string, such as the output of openssl rand -hex 32. It signs sessions and tokens
XTM_ONE_POSTGRES_USER, XTM_ONE_POSTGRES_PASSWORDThe PostgreSQL role xtm-one-db-init creates. It must differ from POSTGRES_USER
PLATFORM_REGISTRATION_TOKENA long random string, the same for every platform connected to this XTM One

XTM One images are published for linux/amd64 only. On an ARM machine, such as a Mac with an Apple chip, they run through emulation: see Requirements.

OpenCTI

The threat intelligence platform: it collects, structures and shares knowledge about threats. modules/opencti.yml runs the platform and three worker replicas.

VariableWhat to put
OPENCTI_ADMIN_EMAIL, OPENCTI_ADMIN_PASSWORDThe first admin account
OPENCTI_ADMIN_TOKENA UUIDv4, such as the output of uuidgen. The platform does not start with another format
OPENCTI_ENCRYPTION_KEYA 32-byte base64 key, the output of openssl rand -base64 32, not a UUID
OPENCTI_HEALTHCHECK_ACCESS_KEYA random string that protects the health endpoint
OPENCTI_EXTERNAL_SCHEME, OPENCTI_HOST, OPENCTI_PORTThe public URL of OpenCTI: http, localhost and 8080 by default

Default OpenCTI connectors

Ten connectors run with OpenCTI. Each one reads its ID from a CONNECTOR_*_ID variable, a UUIDv4 that .env.sample already sets.

ConnectorServiceWhat it does
Export File STIXconnector-export-file-stixExports data as STIX 2.1
Export File CSVconnector-export-file-csvExports data as CSV
Export File TXTconnector-export-file-txtExports data as plain text
Import File STIXconnector-import-file-stixImports STIX 2.1 bundles
Import Documentconnector-import-documentImports PDF, HTML and text documents
Import File YARAconnector-import-file-yaraImports YARA rules
Analysisconnector-analysisAnalyzes PDF, HTML and text documents
Import External Referenceconnector-import-external-referenceImports external references
OpenCTI Datasetsconnector-openctiLoads the default marking definitions, identities and locations
MITRE ATT&CKconnector-mitreLoads the MITRE ATT&CK framework

OpenAEV

The exposure validation platform: it runs scenarios and simulations to test how your defenses respond. modules/openaev.yml runs the platform. It stores its data in the openaev database of the shared PostgreSQL.

VariableWhat to put
OPENAEV_ADMIN_EMAIL, OPENAEV_ADMIN_PASSWORDThe first admin account
OPENAEV_ADMIN_TOKENA UUIDv4, such as the output of uuidgen
OPENAEV_HEALTHCHECK_KEYA random string that protects the health endpoint
OPENAEV_ADMIN_ENCRYPTION_KEY, OPENAEV_ADMIN_ENCRYPTION_SALTA random key and a salt of at least 8 bytes
OPENAEV_EXTERNAL_SCHEME, OPENAEV_HOST, OPENAEV_PORTThe public URL of OpenAEV: http, localhost and 8081 by default
SMTP_*The mail server OpenAEV sends emails through
OPENAEV_MAIL_IMAP_ENABLED and IMAP_*true and the IMAP mailbox OpenAEV reads, or false (the default in .env.sample)

The host port of OpenAEV is written in modules/openaev.yml ("8081:8080"), not in .env: to move it, replace the mapping in docker-compose.override.yml and change OPENAEV_PORT together. See Network and ports.

Default OpenAEV collectors and injectors

Four collectors and two injectors run with OpenAEV. Each one reads its ID from a COLLECTOR_*_ID or INJECTOR_*_ID variable that .env.sample already sets.

IntegrationKindServiceWhat it brings
MITRE ATT&CKCollectorcollector-mitre-attackAttack techniques and procedures
OpenAEV DatasetsCollectorcollector-openaevDefault datasets
Atomic Red TeamCollectorcollector-atomic-red-teamAtomic Red Team tests
CVE by NVD NISTCollectorcollector-nvd-nist-cveCVE data from the National Vulnerability Database (NVD)
NmapInjectorinjector-nmapNetwork scans
NucleiInjectorinjector-nucleiVulnerability scans

The NVD collector reads an NVD API key from COLLECTOR_NVD_NIST_CVE_API_KEY. .env.sample leaves it empty and marks it as recommended.

XTM Composer

XTM Composer deploys and runs integrations from the interface of OpenCTI and OpenAEV, instead of declaring each one in the Compose files. One XTM Composer manages both platforms: it starts once OpenCTI and OpenAEV are healthy.

VariableWhat to put
XTM_COMPOSER_IDIts ID, a UUIDv4 that .env.sample already sets

XTM Composer mounts the Docker socket of the host (/var/run/docker.sock) to start the integration containers. See XTM Composer.

OpenCRQ

OpenCRQ quantifies cyber risk in money, from the threats of OpenCTI and the validation results of OpenAEV, and registers with XTM One, without which it does not start. It connects to the shared PostgreSQL as POSTGRES_USER, like OpenAEV, and needs these values in .env:

VariableWhat to put
OPENCRQ_EXTERNAL_SCHEME, OPENCRQ_HOST, OPENCRQ_PORTThe public URL of OpenCRQ, also its identity towards XTM One. The host publishes it on port 8082 whatever OPENCRQ_PORT says

See Finish the setup of OpenCRQ for the first start and its first administrator.

What's next

NextRequirements
Deploy
Install, configure, secure, scale and upgrade the platform.

Published

Overview
Run the XTM platform locally
OverviewDeploy with an AI agent