You are reading the documentation of OpenCTI 7.260811 LTS · 7.260811.0-lts.1, supported until 2027-09.Latest is 7.261119.0 →
How-to guide

Migrate to XTM Composer

Move connectors, collectors and injectors you deployed by hand under the management of XTM Composer.

OpenCTIOpenAEVXTM ComposerEnterprise EditionFor platform engineers and administrators

This page moves an integration you run yourself, as a Compose service or a Python program, under XTM Composer, so you start, stop, update and read its logs from the platform interface. OpenCTI replaces the connector with a new managed instance; OpenAEV takes over the existing collector or injector. Read XTM Composer first if you are new to it.

The default integrations of xtm-docker are part of the stack and always start with it, so this page does not apply to them: XTM Composer would run a second copy next to them.

BEFOREPLATFORMSXTM COMPOSERAFTERIntegration you runCompose service or Python program,removed afterOpenCTIDeploy: a new instance, from thebeginningOpenAEVMigrate: keeps its identifierXTM ComposerRegistered with the platformManaged instanceStart, stop, update, logs
  1. Integration you run → OpenCTI: its settings
  2. Integration you run → OpenAEV: its settings
  3. OpenCTI → XTM Composer: new instance
  4. OpenAEV → XTM Composer: takeover
  5. XTM Composer → Managed instance: runs
Moving an integration under XTM Composer gives it a new managed instance in OpenCTI, or a takeover that keeps its identifier in OpenAEV, then you remove the old container

Before you start

  • XTM Composer running and registered with the platform: see Deploy a first integration with XTM Composer.
  • An Enterprise Edition license on the platform.
  • In OpenCTI, the Manage ingestion capability. In OpenAEV, the permission to manage the platform settings.
  • The current configuration of the integration: its environment variables in your Compose file, or its config.yml. You need its settings and credentials again.

Move the integration

OpenCTI
Warning

OpenCTI creates a new connector instance. The state of the old one, such as its last run and its work in progress, is not carried over: the new instance starts from the beginning.

  1. Open Integrations, Available tab (Data, then Ingestion, then Connector catalog before 7.260811) and find the connector. A connector that is not in the catalog, or that the catalog shows without Deploy, cannot be managed by XTM Composer: keep running it by hand.

  2. Find the settings the connector needs. The connector page links to its code: its __metadata__ folder has a CONNECTOR_CONFIG_DOC.md file that lists them. Match them with the values of your current configuration.

  3. Click Deploy, fill the form with those values and a new Display name, which gives the Instance name, then click Create.

  4. Click Start and wait for the status to change.

    Check that it worked

    The new instance appears in Integrations, Deployed tab (Data, then Ingestion, then Connectors before 7.260811) and its Logs tab fills.

  5. Stop and remove the old connector, as described in Remove the old container, so it does not run twice.

OpenAEV

OpenAEV registers the collector or injector again under XTM Composer, and keeps its identifier.

  1. Open Integrations > Collectors or Injectors, or the detail page of the collector or injector. A Migrate button shows when the integration is external, has no managed instance yet, has an entry in the catalog, and XTM Composer runs. On the detail page, it also needs the permission to manage the platform settings. Without Enterprise Edition, the button asks for a license.

  2. Click Migrate. A drawer opens with the same form as a new deployment.

  3. Fill the settings with the values of your current configuration, then click Migrate.

    Check that it worked

    OpenAEV opens the new managed instance. You can start and stop it and read its logs like any deployed instance.

  4. Stop and remove the old container, as described in Remove the old container. If a service provider runs your OpenAEV, ask them to do it.

Remove the old container

Remove the integration where you declared it, or it starts again at the next docker compose up -d.

Your own Compose file

Delete the service of the integration from your Compose file, your own docker-compose.yml or the docker-compose.override.yml of xtm-docker, then remove its container:

docker compose up -d --remove-orphans
A Python program

Stop the process and remove it from whatever starts it, such as a systemd unit.

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

The integrations you moved are no longer listed. The default integrations of xtm-docker still are.

What's next

NextPull integrations from a private registry
Deploy
Install, configure, secure, scale and upgrade the platform.

Published

Overview
Run the XTM platform locally
OverviewDeploy with an AI agent