Reference
Reference

XTM Composer configuration keys

Every setting XTM Composer reads, with its environment variable, type, default and effect, block by block, generated from the XTM Composer source code.

XTM ComposerFor platform engineers and developersGenerated from XTM Composer 3.261121.0
SOURCES, IN ORDERXTM COMPOSERCONTAINER ENGINEconfig/default.yamlShipped in the imageconfig/<COMPOSER_ENV>.yamlWhen it existsEnvironment variablesOPENCTI__URL, MANAGER__ID...XTM Composermanager, opencti, openaevContainer engineKubernetes, Docker, Podman, Swarm,Portainer
  1. config/default.yaml → XTM Composer: first
  2. config/<COMPOSER_ENV>.yaml → XTM Composer: overrides
  3. Environment variables → XTM Composer: override last
  4. XTM Composer → Container engine: deploys integrations
XTM Composer reads its default file, an optional file for its environment, then its environment variables

XTM Composer deploys and runs the integrations of OpenCTI and OpenAEV on a container engine. It reads config/default.yaml, shipped in its image, then config/<COMPOSER_ENV>.yaml when that file exists (COMPOSER_ENV is production by default), then its environment: a variable sets the key of the same path, in upper case with __ between levels, such as OPENCTI__DAEMON__SELECTOR for opencti.daemon.selector. The openaev block takes the same keys as the opencti block, with variables that start with OPENAEV__. This reference is built from the code of the XTM Composer release it names, the one the documentation describes. Install XTM Composer and Configure XTM Composer show the settings in use.

The 100 settings XTM Composer 3.261121.0 reads, block by block: its own (manager), the connection to each platform and the container engine it deploys the integrations on. Each key is also an environment variable: the key in upper case, with __ between its levels. Configure XTM Composer explains how to set them.

100 entries in XTM Composer 3.261121.0Generated from FiligranHQ/xtm-composer@832c5b1 (config/default.yaml, src/config/settings.rs, src/orchestrator/podman/mod.rs)

Manager

XTM Composer reads config/default.yaml, then config/<COMPOSER_ENV>.yaml (or .toml; COMPOSER_ENV is production when unset) when it exists, then the environment: a variable is the key in upper case with __ between levels. The openaev block takes the same keys as the opencti block below (variables OPENAEV__...).

SettingEnvironment variableTypeDefaultDescription
manager.credentials_key_filepathMANAGER__CREDENTIALS_KEY_FILEPATHStringNot setPath of the file holding the RSA private key; takes priority over manager.credentials_key when both are set.
manager.credentials_keyMANAGER__CREDENTIALS_KEYStringNot setRSA private key (PEM, 4096 bits) that decrypts the connectors' secret settings the platform sends; set it, or manager.credentials_key_filepath, from a secret.
manager.debug.show_env_varsMANAGER__DEBUG__SHOW_ENV_VARSBooleanfalseWhether Composer logs the environment variables of each connector it deploys, with the secret values masked, to check what a connector receives.
manager.debug.show_sensitive_env_varsMANAGER__DEBUG__SHOW_SENSITIVE_ENV_VARSBooleanfalseWith manager.debug.show_env_vars, whether the logs show the secret values too; only for a short investigation.
manager.execute_scheduleMANAGER__EXECUTE_SCHEDULEInteger10Seconds between two passes of Composer over the connectors (deploy, start, stop, update to match the platform); also the wait between two attempts to reach Docker or Podman at start.
manager.idMANAGER__IDStringdefault-manager-idUnique identifier of this XTM Composer: the platform lists it under this id and assigns it the connectors it manages. Give each Composer its own id.
manager.image_tag_suffixMANAGER__IMAGE_TAG_SUFFIXStringNot setSuffix Composer adds to the tag of every connector image it deploys, -fips or -ubi9, for the FIPS or Red Hat UBI builds of the connectors (6.9.0 becomes 6.9.0-fips, an image without a tag latest-fips). Any other value stops Composer at start. The FIPS image of Composer sets -fips.
manager.logger.consoleMANAGER__LOGGER__CONSOLEBooleantrueIn this version, turns on the daily log files of the logs folder next to the binary (the code swaps it with manager.logger.directory).
manager.logger.directoryMANAGER__LOGGER__DIRECTORYBooleantrueIn this version, turns on the logs on the standard output (the code swaps it with manager.logger.console).
manager.logger.formatMANAGER__LOGGER__FORMATStringjsonFormat of the logs on the standard output: json or pretty; the log files are always JSON.
manager.logger.levelMANAGER__LOGGER__LEVELStringinfoLevel of Composer's logs: trace, debug, info, warn or error.
manager.nameMANAGER__NAMEStringFiligran connector managerName the platform shows for this XTM Composer.
manager.ping_alive_scheduleMANAGER__PING_ALIVE_SCHEDULEInteger60Seconds between two signals of life Composer sends to the platform.

OpenCTI connection

SettingEnvironment variableTypeDefaultDescription
opencti.connect_timeoutOPENCTI__CONNECT_TIMEOUTInteger10Seconds Composer waits to open a connection to the platform.
opencti.enableOPENCTI__ENABLEBooleantrueWhether Composer manages the connectors of an OpenCTI platform.
opencti.http_proxyOPENCTI__HTTP_PROXYStringNot setHTTP proxy URL, with opencti.with_proxy; unset, Composer takes HTTP_PROXY from its environment.
opencti.https_proxy_caOPENCTI__HTTPS_PROXY_CAList of stringsNot setCA certificates of an intercepting proxy, each a file path or an inline PEM: Composer mounts them in each connector and points SSL_CERT_FILE, REQUESTS_CA_BUNDLE, NODE_EXTRA_CA_CERTS and CURL_CA_BUNDLE to them.
opencti.https_proxy_reject_unauthorizedOPENCTI__HTTPS_PROXY_REJECT_UNAUTHORIZEDBooleantrueWhether the connectors reject a proxy certificate they cannot verify; false passes NODE_TLS_REJECT_UNAUTHORIZED=0 to them.
opencti.https_proxyOPENCTI__HTTPS_PROXYStringNot setHTTPS proxy URL, with opencti.with_proxy; unset, Composer takes HTTPS_PROXY from its environment.
opencti.logs_scheduleOPENCTI__LOGS_SCHEDULEInteger10Seconds between two reports of the connectors' logs to the platform, at most.
opencti.no_proxyOPENCTI__NO_PROXYStringNot setHosts reached without the proxy, comma-separated, passed to the connectors; unset, Composer takes NO_PROXY from its environment.
opencti.request_timeoutOPENCTI__REQUEST_TIMEOUTInteger30Seconds Composer waits for an answer of the platform API.
opencti.tokenOPENCTI__TOKENStringChangeMeAPI token of the user Composer authenticates with on the platform.
opencti.unsecured_certificateOPENCTI__UNSECURED_CERTIFICATEBooleanfalseWhether Composer accepts a platform TLS certificate it cannot verify; only for a test platform.
opencti.urlOPENCTI__URLStringhttp://host.docker.internal:4000URL of the OpenCTI platform, as Composer reaches it.
opencti.with_proxyOPENCTI__WITH_PROXYBooleanfalseWhether Composer goes through a proxy to reach the platform and passes the proxy settings (HTTP_PROXY, HTTPS_PROXY, NO_PROXY and the CA) to the connectors it deploys; off, it ignores every proxy, even the system's.

Orchestrator

SettingEnvironment variableTypeDefaultDescription
opencti.daemon.selectorOPENCTI__DAEMON__SELECTORStringkubernetesOrchestrator Composer deploys the connectors on: kubernetes, docker, podman, swarm or portainer; its block configures it.

Image registry

SettingEnvironment variableTypeDefaultDescription
opencti.daemon.registry.emailOPENCTI__DAEMON__REGISTRY__EMAILStringNot setEmail of the private registry account, when the registry asks for one.
opencti.daemon.registry.passwordOPENCTI__DAEMON__REGISTRY__PASSWORDStringNot setPassword of the private registry.
opencti.daemon.registry.serverOPENCTI__DAEMON__REGISTRY__SERVERStringNot setRegistry the connector images are pulled from, instead of Docker Hub (a mirror or a private registry).
opencti.daemon.registry.usernameOPENCTI__DAEMON__REGISTRY__USERNAMEStringNot setUser of the private registry.

Kubernetes

SettingEnvironment variableTypeDefaultDescription
opencti.daemon.kubernetes.base_deployment_jsonOPENCTI__DAEMON__KUBERNETES__BASE_DEPLOYMENT_JSONStringNot setThe same base Deployment as a JSON string, read when base_deployment is not set (convenient in an environment variable).
opencti.daemon.kubernetes.base_deploymentOPENCTI__DAEMON__KUBERNETES__BASE_DEPLOYMENTDeployment objectNot setKubernetes Deployment every connector's deployment starts from (labels, node selectors, security context...), merged under what Composer sets.
opencti.daemon.kubernetes.image_pull_policyOPENCTI__DAEMON__KUBERNETES__IMAGE_PULL_POLICYStringIfNotPresentWhen Kubernetes pulls a connector image: Always, IfNotPresent or Never; another value falls back to IfNotPresent.
opencti.daemon.kubernetes.image_resourcesOPENCTI__DAEMON__KUBERNETES__IMAGE_RESOURCESResourceRequirements objectNot setCPU and memory requests and limits of each connector container.

Docker

SettingEnvironment variableTypeDefaultDescription
opencti.daemon.docker.cap_addOPENCTI__DAEMON__DOCKER__CAP_ADDList of stringsNot setLinux capabilities added to the connector containers.
opencti.daemon.docker.cap_dropOPENCTI__DAEMON__DOCKER__CAP_DROPList of stringsNot setLinux capabilities removed from the connector containers (ALL to harden them).
opencti.daemon.docker.dns_searchOPENCTI__DAEMON__DOCKER__DNS_SEARCHList of stringsNot setDNS search domains of the connector containers.
opencti.daemon.docker.dnsOPENCTI__DAEMON__DOCKER__DNSList of stringsNot setDNS servers of the connector containers.
opencti.daemon.docker.extra_hostsOPENCTI__DAEMON__DOCKER__EXTRA_HOSTSList of stringsNot setExtra host:ip entries of the connector containers' hosts file.
opencti.daemon.docker.ipc_modeOPENCTI__DAEMON__DOCKER__IPC_MODEStringNot setIPC namespace mode of the connector containers.
opencti.daemon.docker.network_modeOPENCTI__DAEMON__DOCKER__NETWORK_MODEStringNot setNetwork the connector containers join, usually the network of the OpenCTI stack so that they reach the platform and RabbitMQ.
opencti.daemon.docker.pid_modeOPENCTI__DAEMON__DOCKER__PID_MODEStringNot setPID namespace mode of the connector containers.
opencti.daemon.docker.privilegedOPENCTI__DAEMON__DOCKER__PRIVILEGEDBooleanNot setWhether the connector containers run privileged; leave it off unless a connector needs it.
opencti.daemon.docker.runtimeOPENCTI__DAEMON__DOCKER__RUNTIMEStringNot setContainer runtime of the connector containers (for example runsc for gVisor).
opencti.daemon.docker.security_optOPENCTI__DAEMON__DOCKER__SECURITY_OPTList of stringsNot setSecurity options of the connector containers (SELinux labels, seccomp or AppArmor profiles).
opencti.daemon.docker.shm_sizeOPENCTI__DAEMON__DOCKER__SHM_SIZEIntegerNot setSize of the connector containers' /dev/shm, in bytes.
opencti.daemon.docker.socket_pathOPENCTI__DAEMON__DOCKER__SOCKET_PATHStringNot setDocker API socket (path or unix:// URL); unset, /var/run/docker.sock.
opencti.daemon.docker.sysctlsOPENCTI__DAEMON__DOCKER__SYSCTLSMapNot setKernel parameters of the connector containers.
opencti.daemon.docker.ulimitsOPENCTI__DAEMON__DOCKER__ULIMITSList of mapsNot setResource limits of the connector containers, each with a name, a soft and a hard value.
opencti.daemon.docker.userns_modeOPENCTI__DAEMON__DOCKER__USERNS_MODEStringNot setUser namespace mode of the connector containers.
opencti.daemon.docker.uts_modeOPENCTI__DAEMON__DOCKER__UTS_MODEStringNot setUTS namespace mode of the connector containers.

Podman

SettingEnvironment variableTypeDefaultDescription
opencti.daemon.podman.cap_addOPENCTI__DAEMON__PODMAN__CAP_ADDList of stringsNot setLinux capabilities added to the connector containers.
opencti.daemon.podman.cap_dropOPENCTI__DAEMON__PODMAN__CAP_DROPList of stringsNot setLinux capabilities removed from the connector containers (ALL to harden them).
opencti.daemon.podman.dns_searchOPENCTI__DAEMON__PODMAN__DNS_SEARCHList of stringsNot setDNS search domains of the connector containers.
opencti.daemon.podman.dnsOPENCTI__DAEMON__PODMAN__DNSList of stringsNot setDNS servers of the connector containers.
opencti.daemon.podman.extra_hostsOPENCTI__DAEMON__PODMAN__EXTRA_HOSTSList of stringsNot setExtra host:ip entries of the connector containers' hosts file.
opencti.daemon.podman.ipc_modeOPENCTI__DAEMON__PODMAN__IPC_MODEStringNot setIPC namespace mode of the connector containers.
opencti.daemon.podman.network_modeOPENCTI__DAEMON__PODMAN__NETWORK_MODEStringNot setNetwork the connector containers join, usually the network of the OpenCTI stack so that they reach the platform and RabbitMQ.
opencti.daemon.podman.pid_modeOPENCTI__DAEMON__PODMAN__PID_MODEStringNot setPID namespace mode of the connector containers.
opencti.daemon.podman.privilegedOPENCTI__DAEMON__PODMAN__PRIVILEGEDBooleanNot setWhether the connector containers run privileged; leave it off unless a connector needs it.
opencti.daemon.podman.runtimeOPENCTI__DAEMON__PODMAN__RUNTIMEStringNot setContainer runtime of the connector containers (for example runsc for gVisor).
opencti.daemon.podman.security_optOPENCTI__DAEMON__PODMAN__SECURITY_OPTList of stringsNot setSecurity options of the connector containers (SELinux labels, seccomp or AppArmor profiles).
opencti.daemon.podman.shm_sizeOPENCTI__DAEMON__PODMAN__SHM_SIZEIntegerNot setSize of the connector containers' /dev/shm, in bytes.
opencti.daemon.podman.socket_pathOPENCTI__DAEMON__PODMAN__SOCKET_PATHStringNot setPodman API socket (path or unix:// URL); unset, Composer looks for the rootless socket ($XDG_RUNTIME_DIR/podman/podman.sock), then the rootful one.
opencti.daemon.podman.sysctlsOPENCTI__DAEMON__PODMAN__SYSCTLSMapNot setKernel parameters of the connector containers.
opencti.daemon.podman.ulimitsOPENCTI__DAEMON__PODMAN__ULIMITSList of mapsNot setResource limits of the connector containers, each with a name, a soft and a hard value.
opencti.daemon.podman.userns_modeOPENCTI__DAEMON__PODMAN__USERNS_MODEStringNot setUser namespace mode of the connector containers.
opencti.daemon.podman.uts_modeOPENCTI__DAEMON__PODMAN__UTS_MODEStringNot setUTS namespace mode of the connector containers.

Docker Swarm

SettingEnvironment variableTypeDefaultDescription
opencti.daemon.swarm.cap_addOPENCTI__DAEMON__SWARM__CAP_ADDList of stringsNot setLinux capabilities added to the connector containers.
opencti.daemon.swarm.cap_dropOPENCTI__DAEMON__SWARM__CAP_DROPList of stringsNot setLinux capabilities removed from the connector containers.
opencti.daemon.swarm.dns_searchOPENCTI__DAEMON__SWARM__DNS_SEARCHList of stringsNot setDNS search domains of the connector containers.
opencti.daemon.swarm.dnsOPENCTI__DAEMON__SWARM__DNSList of stringsNot setDNS servers of the connector containers.
opencti.daemon.swarm.extra_hostsOPENCTI__DAEMON__SWARM__EXTRA_HOSTSList of stringsNot setExtra lines of the connector containers' hosts file, in its own format (ip host), unlike the host:ip of Docker and Podman.
opencti.daemon.swarm.hostnameOPENCTI__DAEMON__SWARM__HOSTNAMEStringNot setHostname of the connector containers.
opencti.daemon.swarm.initOPENCTI__DAEMON__SWARM__INITBooleanNot setWhether the connector containers run an init process that reaps child processes.
opencti.daemon.swarm.networkOPENCTI__DAEMON__SWARM__NETWORKStringNot setOverlay network the connector services attach to.
opencti.daemon.swarm.placement_constraintsOPENCTI__DAEMON__SWARM__PLACEMENT_CONSTRAINTSList of stringsNot setPlacement constraints of the connector services (node.role==worker).
opencti.daemon.swarm.placement_preferencesOPENCTI__DAEMON__SWARM__PLACEMENT_PREFERENCESList of stringsNot setSpread preferences of the connector services across nodes (node.labels.zone).
opencti.daemon.swarm.read_onlyOPENCTI__DAEMON__SWARM__READ_ONLYBooleanNot setWhether the connector containers' root filesystem is read-only.
opencti.daemon.swarm.resources.cpu_limitOPENCTI__DAEMON__SWARM__RESOURCES__CPU_LIMITIntegerNot setCPU limit of each connector service, in nano CPUs (1000000000 is one CPU).
opencti.daemon.swarm.resources.cpu_reservationOPENCTI__DAEMON__SWARM__RESOURCES__CPU_RESERVATIONIntegerNot setCPU reserved for each connector service, in nano CPUs.
opencti.daemon.swarm.resources.memory_limitOPENCTI__DAEMON__SWARM__RESOURCES__MEMORY_LIMITIntegerNot setMemory limit of each connector service, in bytes.
opencti.daemon.swarm.resources.memory_reservationOPENCTI__DAEMON__SWARM__RESOURCES__MEMORY_RESERVATIONIntegerNot setMemory reserved for each connector service, in bytes.
opencti.daemon.swarm.restart_conditionOPENCTI__DAEMON__SWARM__RESTART_CONDITIONStringNot setWhen Swarm restarts a connector task: none, on-failure or any.
opencti.daemon.swarm.restart_delayOPENCTI__DAEMON__SWARM__RESTART_DELAYIntegerNot setWait between two restarts of a connector task, in nanoseconds.
opencti.daemon.swarm.restart_max_attemptsOPENCTI__DAEMON__SWARM__RESTART_MAX_ATTEMPTSIntegerNot setMaximum restarts of a connector task; 0 sets no limit.
opencti.daemon.swarm.stop_grace_periodOPENCTI__DAEMON__SWARM__STOP_GRACE_PERIODIntegerNot setTime a connector container gets to stop before it is killed, in nanoseconds (10000000000 is 10 seconds).
opencti.daemon.swarm.sysctlsOPENCTI__DAEMON__SWARM__SYSCTLSMapNot setKernel parameters of the connector containers.
opencti.daemon.swarm.ulimitsOPENCTI__DAEMON__SWARM__ULIMITSList of mapsNot setResource limits of the connector containers, each with a name, a soft and a hard value.
opencti.daemon.swarm.userOPENCTI__DAEMON__SWARM__USERStringNot setUser the connector containers run as (uid:gid).

Portainer

SettingEnvironment variableTypeDefaultDescription
opencti.daemon.portainer.api_keyOPENCTI__DAEMON__PORTAINER__API_KEYStringChangeMePortainer access token Composer authenticates with.
opencti.daemon.portainer.api_versionOPENCTI__DAEMON__PORTAINER__API_VERSIONStringv1.44Docker API version Composer calls through Portainer.
opencti.daemon.portainer.apiOPENCTI__DAEMON__PORTAINER__APIStringhttps://host.docker.internal:9443URL of the Portainer API.
opencti.daemon.portainer.env_idOPENCTI__DAEMON__PORTAINER__ENV_IDString3Id of the Portainer environment the connectors run in.
opencti.daemon.portainer.env_typeOPENCTI__DAEMON__PORTAINER__ENV_TYPEStringdockerType of the Portainer environment; only docker is supported.
opencti.daemon.portainer.network_modeOPENCTI__DAEMON__PORTAINER__NETWORK_MODEStringNot setNetwork the connector containers join, usually the network of the OpenCTI stack.
opencti.daemon.portainer.stackOPENCTI__DAEMON__PORTAINER__STACKStringNot setCompose project the connector containers are labelled with, to group them with a stack in Portainer.

Environment

SettingEnvironment variableTypeDefaultDescription
Environment onlyCOMPOSER_ENVStringproductionName of a second configuration file Composer reads after config/default.yaml: config/<COMPOSER_ENV>.yaml, when it exists.
Environment onlyXDG_RUNTIME_DIRStringNot setWith the podman orchestrator and no socket_path, where Composer looks for the rootless Podman socket first ($XDG_RUNTIME_DIR/podman/podman.sock).
Reference
Every setting and component, generated from each release's code.

Published

Overview
XTM Composer
Configuration