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

OpenCTI integration settings

The settings connectors (through pycti), the worker and XTM Composer read, with their environment variable, configuration key, type and default, generated from their source code.

OpenCTIFor developers, platform engineers and administratorsGenerated from OpenCTI 7.260811.0-lts.1
INTEGRATIONSOPENCTISERVICESORCHESTRATORConnectorSettings read through pyctiWorkerWrites queued bundlesXTM ComposerDeploys managed connectorsPlatformURL and tokenRabbitMQMessage queueS3 storageBundle storageOrchestratorDocker, Podman, Swarm, Kubernetes,Portainer
  1. Connector → Platform: OpenCTI connection
  2. Worker → Platform: OpenCTI connection
  3. XTM Composer → Platform: OpenCTI connection
  4. Connector → RabbitMQ: message queue
  5. Worker → RabbitMQ: message queue
  6. Connector → S3 storage: uploads bundles
  7. XTM Composer → Orchestrator: starts connectors
Integration settings tell connectors, the worker and XTM Composer how to reach the platform, RabbitMQ, S3 and the orchestrator

The settings OpenCTI 7.260811.0-lts.1's integrations read: the 66 every connector shares through pycti, the 22 of the worker, pycti's own environment variables for both (1), and the 100 of XTM Composer. Run an integration without XTM Composer and Configure XTM Composer explain how to set them.

189 entries in OpenCTI 7.260811.0-lts.1Generated from OpenCTI-Platform/opencti@c9f5ea5 (client-python/pycti/api/opencti_api_client.py, client-python/pycti/connector/opencti_connector_helper.py, opencti-worker/src/worker.py); FiligranHQ/xtm-composer@832c5b1 (config/default.yaml, src/config/settings.rs, src/orchestrator/podman/mod.rs)

Connectors: OpenCTI connection

Every connector built on pycti reads these settings through its connector helper: the environment variable first, then the key of the configuration the connector gives it (its config.yml, usually), then the default; a variable set but empty gives the default. A connector adds its own settings, listed in its README.

SettingEnvironment variableTypeDefaultDescription
opencti.custom_headersOPENCTI_CUSTOM_HEADERSStringNot setExtra HTTP headers sent with every API call, as name:value pairs separated by ;, for a reverse proxy or gateway in front of the platform that requires them.
opencti.json_loggingOPENCTI_JSON_LOGGINGBooleantrueWhether the connector writes its logs as JSON lines (true) or as plain text.
opencti.ssl_verifyOPENCTI_SSL_VERIFYBooleanfalseWhether the connector checks the platform's TLS certificate; turn it on when the platform URL is HTTPS with a certificate the connector trusts.
opencti.tokenOPENCTI_TOKENStringRequiredAPI token of the user the connector acts as; with CONNECTOR_AUTO_CREATE_SERVICE_ACCOUNT, only used to create that account. Give each connector its own user, so that its confidence level and markings apply to what it imports.
opencti.urlOPENCTI_URLStringRequiredURL of the OpenCTI platform the connector registers with and sends its data to, as the connector reaches it (for example http://opencti:8080 inside a Docker network).

Connectors: connector settings

SettingEnvironment variableTypeDefaultDescription
connector.auto_create_service_account_confidence_levelCONNECTOR_AUTO_CREATE_SERVICE_ACCOUNT_CONFIDENCE_LEVELInteger50Maximum confidence level (0 to 100) of the service account the connector creates for itself.
connector.auto_create_service_accountCONNECTOR_AUTO_CREATE_SERVICE_ACCOUNTBooleanfalseWhether the connector creates its own service account at start ([C] <name>, in the Connectors group) and uses a fresh token of it; OPENCTI_TOKEN must then belong to a user allowed to manage users.
connector.auto_updateCONNECTOR_AUTO_UPDATEBooleanfalseFor an enrichment connector, whether the platform also sends it the entities in its scope when they are updated, not only when they are created.
connector.autoCONNECTOR_AUTOBooleanfalseFor an enrichment connector, whether the platform sends it every new entity in its scope automatically (true) or only when a user asks for an enrichment.
connector.duration_periodCONNECTOR_DURATION_PERIODStringNot setInterval between two runs of a scheduled connector, as an ISO 8601 duration (PT1H runs every hour); 0 runs once and stops.
connector.enrichment_resolutionCONNECTOR_ENRICHMENT_RESOLUTIONStringnoneFor an enrichment connector, what the platform sends with the entity to enrich: none sends the entity alone, stix_bundle also sends the bundle of the objects around it.
connector.expose_metricsCONNECTOR_EXPOSE_METRICSBooleanfalseWhether the connector exposes Prometheus metrics of its activity on CONNECTOR_METRICS_PORT.
connector.idCONNECTOR_IDStringRequiredUnique identifier of the connector (a UUIDv4): the platform keeps the connector's state, works and queue under it. Generate one per connector instance and keep it across restarts.
connector.listen_protocol_api_pathCONNECTOR_LISTEN_PROTOCOL_API_PATHString/api/callbackPath of the HTTP endpoint the connector listens on with the API listen protocol.
connector.listen_protocol_api_portCONNECTOR_LISTEN_PROTOCOL_API_PORTInteger7070Port of the HTTP endpoint the connector listens on with the API listen protocol.
connector.listen_protocol_api_ssl_certLISTEN_PROTOCOL_API_SSL_CERTStringEmptyCertificate (PEM) of the HTTPS endpoint of the API listen protocol.
connector.listen_protocol_api_ssl_keyLISTEN_PROTOCOL_API_SSL_KEYStringEmptyPrivate key (PEM) of the HTTPS endpoint of the API listen protocol.
connector.listen_protocol_api_ssl_passphraseLISTEN_PROTOCOL_API_SSL_PASSPHRASEStringEmptyPassphrase of the private key of the HTTPS endpoint, when the key is encrypted.
connector.listen_protocol_api_sslCONNECTOR_LISTEN_PROTOCOL_API_SSLBooleanfalseWhether the HTTP endpoint of the API listen protocol serves HTTPS, with the key and certificate of LISTEN_PROTOCOL_API_SSL_KEY and LISTEN_PROTOCOL_API_SSL_CERT.
connector.listen_protocol_api_uriCONNECTOR_LISTEN_PROTOCOL_API_URIStringhttp://127.0.0.1:7070, https://127.0.0.1:7070 with SSLBase URL at which the workers reach the connector's HTTP endpoint with the API listen protocol; the connector registers this URL followed by the path. Set it to an address the workers can reach.
connector.listen_protocolCONNECTOR_LISTEN_PROTOCOLStringAMQPHow the connector receives the work the platform sends it (enrichments, file imports, exports): AMQP from its RabbitMQ queue, or API on an HTTP endpoint the worker calls, for a connector that cannot reach RabbitMQ.
connector.live_stream_idCONNECTOR_LIVE_STREAM_IDStringNot setFor a stream connector, the live stream it reads (its id in the data sharing settings); unset, it reads the raw stream of all events.
connector.live_stream_listen_deleteCONNECTOR_LIVE_STREAM_LISTEN_DELETEBooleantrueFor a stream connector, whether it also receives deletion events.
connector.live_stream_no_dependenciesCONNECTOR_LIVE_STREAM_NO_DEPENDENCIESBooleantrueFor a stream connector, whether the stream sends the events alone (true) or also the objects they depend on.
connector.live_stream_recover_iso_dateCONNECTOR_LIVE_STREAM_RECOVER_ISO_DATEStringNot setFor a stream connector's first run, the date (ISO 8601) until which the stream replays the existing data before sending live events; unset, the date of the first run.
connector.live_stream_start_timestampCONNECTOR_LIVE_STREAM_START_TIMESTAMPStringNot setFor a stream connector's first run, the point of the stream to start from, as a stream event timestamp in milliseconds; unset, it starts from the beginning. Ignored once the connector has a saved state.
connector.live_stream_with_inferencesCONNECTOR_LIVE_STREAM_WITH_INFERENCESBooleanfalseFor a stream connector, whether the stream also sends what the inference rules created.
connector.log_levelCONNECTOR_LOG_LEVELStringERRORLevel of the connector's logs: debug, info, warning or error. Set it to debug to investigate a connector, then set it back.
connector.metrics_namespaceCONNECTOR_METRICS_NAMESPACEStringEmptyPrefix (Prometheus namespace) of the connector's metric names.
connector.metrics_portCONNECTOR_METRICS_PORTInteger9095Port of the connector's Prometheus metrics endpoint.
connector.metrics_subsystemCONNECTOR_METRICS_SUBSYSTEMStringEmptySecond prefix (Prometheus subsystem) of the connector's metric names, after the namespace.
connector.nameCONNECTOR_NAMEStringRequiredName the platform shows for the connector; also the base of its auto-created service account and of its S3 bundle file names.
connector.only_contextualCONNECTOR_ONLY_CONTEXTUALBooleanfalseFor a file import connector, whether it only runs on files attached to an entity (true), never on files imported on their own.
connector.queue_protocolCONNECTOR_QUEUE_PROTOCOLStringamqpHow the connector sends its bundles to the platform: amqp through the message queue, or api through the platform API when the connector cannot reach RabbitMQ.
connector.queue_protocolQUEUE_PROTOCOLStringNot setFormer name of CONNECTOR_QUEUE_PROTOCOL, read only when that one is not set; the connector logs that it is deprecated.
connector.queue_thresholdCONNECTOR_QUEUE_THRESHOLDInteger500Size of the connector's queue on the platform, in megabytes, above which a scheduled connector skips its runs until the workers have caught up; raise it for a connector that sends large batches.
connector.run_and_terminateCONNECTOR_RUN_AND_TERMINATEBooleanfalseWhether the connector runs once and stops, for a connector started by an external scheduler (cron, Kubernetes job) instead of keeping its own schedule.
connector.scopeCONNECTOR_SCOPEStringnot-applicableWhat the connector handles, comma-separated: entity types for an enrichment connector (Report,IPv4-Addr), MIME types for a file import or export connector; the platform offers the connector only for what its scope lists.
connector.send_to_directory_pathCONNECTOR_SEND_TO_DIRECTORY_PATHStringNot setDirectory the connector writes its bundles to with CONNECTOR_SEND_TO_DIRECTORY.
connector.send_to_directory_retentionCONNECTOR_SEND_TO_DIRECTORY_RETENTIONInteger7Days the bundle files stay in the directory before the connector deletes them; 0 keeps them.
connector.send_to_directoryCONNECTOR_SEND_TO_DIRECTORYBooleanfalseWhether the connector also writes each bundle as a JSON file to CONNECTOR_SEND_TO_DIRECTORY_PATH, to keep the data or move it by other means.
connector.send_to_queueCONNECTOR_SEND_TO_QUEUEBooleantrueWhether the connector sends its bundles to the platform; turn it off to only write them to a directory or to S3.
connector.send_to_s3_bucketCONNECTOR_SEND_TO_S3_BUCKETStringNot setBucket the connector uploads its bundles to; unset, the bucket the platform sends at registration.
connector.send_to_s3_folderCONNECTOR_SEND_TO_S3_FOLDERStringconnectorsFolder (key prefix) of the bucket the connector uploads its bundles to.
connector.send_to_s3_retentionCONNECTOR_SEND_TO_S3_RETENTIONInteger7Days the connector's bundles stay in the bucket before the connector deletes them.
connector.send_to_s3CONNECTOR_SEND_TO_S3BooleanfalseWhether the connector also uploads each bundle to an S3 bucket, by default the platform's own.
connector.typeCONNECTOR_TYPEStringRequiredKind of connector: EXTERNAL_IMPORT, INTERNAL_IMPORT_FILE, INTERNAL_ENRICHMENT, INTERNAL_ANALYSIS, INTERNAL_EXPORT_FILE or STREAM. Set by the connector's own configuration: do not change it.
connector.validate_before_importCONNECTOR_VALIDATE_BEFORE_IMPORTBooleanfalseWhether what the connector sends waits in a workbench or a draft for a user to validate it, instead of being imported directly.
connector.xtm_one_intent New after 7.260309.0-lts.8CONNECTOR_XTM_ONE_INTENTStringNot setFor a file import connector, the XTM One intent it serves: on an automatic import, the platform picks an XTM One agent for this intent when XTM One is configured.

Connectors: message queue

SettingEnvironment variableTypeDefaultDescription
mq.hostMQ_HOSTStringSent by the platformHost of RabbitMQ as the connector reaches it, when it differs from the address the platform sends at registration (a connector outside the platform's network).
mq.passMQ_PASSStringSent by the platformRabbitMQ password, to replace the one the platform sends.
mq.portMQ_PORTIntegerSent by the platformPort of RabbitMQ as the connector reaches it, to replace the one the platform sends.
mq.use_ssl_caMQ_USE_SSL_CAStringNot setCA certificate (path) that signs RabbitMQ's certificate, for a TLS connection.
mq.use_ssl_certMQ_USE_SSL_CERTStringNot setClient certificate (path) for a TLS connection to RabbitMQ that requires one.
mq.use_ssl_keyMQ_USE_SSL_KEYStringNot setPrivate key (path) of the client certificate.
mq.use_ssl_passphraseMQ_USE_SSL_PASSPHRASEStringNot setPassphrase of the client certificate's private key.
mq.use_ssl_reject_unauthorizedMQ_USE_SSL_REJECT_UNAUTHORIZEDBooleanfalseWhether the TLS connection to RabbitMQ rejects a certificate it cannot verify; turn it on in production.
mq.use_sslMQ_USE_SSLStringSent by the platformWhether the connection to RabbitMQ uses TLS, to replace what the platform sends.
mq.userMQ_USERStringSent by the platformRabbitMQ user, to replace the one the platform sends.
mq.vhostMQ_VHOSTStringSent by the platformRabbitMQ virtual host, to replace the one the platform sends.

Connectors: S3 bundle storage

SettingEnvironment variableTypeDefaultDescription
s3.access_keyS3_ACCESS_KEYStringNot setAccess key for the S3 service, to replace the one the platform sends.
s3.bucket_regionS3_BUCKET_REGIONStringNot setRegion of the S3 bucket, to replace the one the platform sends.
s3.endpointS3_ENDPOINTStringNot setHost of the S3 service the connector uploads its bundles to, to replace the one the platform sends.
s3.portS3_PORTIntegerNot setPort of the S3 service, to replace the one the platform sends.
s3.secret_keyS3_SECRET_KEYStringNot setSecret key for the S3 service, to replace the one the platform sends.
s3.use_sslS3_USE_SSLStringNot setWhether the connector reaches the S3 service over HTTPS, to replace what the platform sends.

Worker: OpenCTI connection

The worker reads these settings from its environment first, then from the config.yml next to worker.py, then the default; a variable set but empty gives the default.

SettingEnvironment variableTypeDefaultDescription
opencti.custom_headersOPENCTI_CUSTOM_HEADERSStringNot setExtra HTTP headers sent with every API call, as name:value pairs separated by ;.
opencti.execution_pool_sizeOPENCTI_EXECUTION_POOL_SIZEInteger2Threads that import bundles in parallel in one worker; raise it, or run more workers, when the queues grow and the platform has capacity left.
opencti.json_loggingOPENCTI_JSON_LOGGINGBooleantrueWhether the worker writes its logs as JSON lines (true) or as plain text.
opencti.realtime_execution_pool_sizeOPENCTI_REALTIME_EXECUTION_POOL_SIZEInteger3Threads kept for the connectors of the REALTIME priority group, so that their work does not wait behind the others.
opencti.requests_timeoutOPENCTI_REQUESTS_TIMEOUTInteger300Seconds the worker waits for an answer of the platform API before it gives up on a call.
opencti.ssl_verifyOPENCTI_SSL_VERIFYBooleanfalseWhether the worker checks the platform's TLS certificate.
opencti.tokenOPENCTI_TOKENStringRequiredAPI token of the user the worker authenticates with.
opencti.urlOPENCTI_URLStringRequiredURL of the OpenCTI platform the worker writes to, as the worker reaches it.

Worker: worker settings

SettingEnvironment variableTypeDefaultDescription
worker.listen_api_http_proxyWORKER_LISTEN_API_HTTP_PROXYStringEmptyHTTP proxy the worker goes through to call the connectors' HTTP endpoints (API listen protocol).
worker.listen_api_https_proxyWORKER_LISTEN_API_HTTPS_PROXYStringEmptyHTTPS proxy the worker goes through to call the connectors' HTTPS endpoints (API listen protocol).
worker.listen_api_ssl_verifyWORKER_LISTEN_API_SSL_VERIFYBooleanfalseWhether the worker checks the TLS certificate of a connector's HTTP endpoint (API listen protocol).
worker.listen_pool_sizeWORKER_LISTEN_POOL_SIZEInteger5Threads that deliver work to the connectors using the API listen protocol, by calling their HTTP endpoint.
worker.log_levelWORKER_LOG_LEVELStringinfoLevel of the worker's logs: debug, info, warning or error.
worker.objects_max_refsWORKER_OBJECTS_MAX_REFSInteger0Maximum number of references an object of a bundle may carry; the worker sends an object above it to the dead letter queue instead of importing it. 0 sets no limit; set one to keep huge containers from slowing the import down.
worker.telemetry_enabledWORKER_TELEMETRY_ENABLEDBooleanfalseWhether the worker exposes Prometheus metrics (bundles processed, processing time, ingestion units) on WORKER_PROMETHEUS_TELEMETRY_PORT.
worker.telemetry_prometheus_hostWORKER_PROMETHEUS_TELEMETRY_HOSTString0.0.0.0Address the worker's Prometheus metrics endpoint listens on.
worker.telemetry_prometheus_portWORKER_PROMETHEUS_TELEMETRY_PORTInteger14270Port of the worker's Prometheus metrics endpoint.

Worker: message queue

SettingEnvironment variableTypeDefaultDescription
mq.use_ssl_caMQ_USE_SSL_CAStringNot setCA certificate (path) that signs RabbitMQ's certificate, for a TLS connection.
mq.use_ssl_certMQ_USE_SSL_CERTStringNot setClient certificate (path) for a TLS connection to RabbitMQ that requires one.
mq.use_ssl_keyMQ_USE_SSL_KEYStringNot setPrivate key (path) of the client certificate.
mq.use_ssl_passphraseMQ_USE_SSL_PASSPHRASEStringNot setPassphrase of the client certificate's private key.
mq.use_ssl_reject_unauthorizedMQ_USE_SSL_REJECT_UNAUTHORIZEDBooleanfalseWhether the TLS connection to RabbitMQ rejects a certificate it cannot verify; turn it on in production.

Connectors and worker: pycti environment

pycti reads these variables from the environment only, in connectors and the worker alike.

SettingEnvironment variableTypeDefaultDescription
Environment onlyHTTPS_CA_CERTIFICATESStringNot setCA certificate of an HTTPS proxy that intercepts traffic, as a PEM content or a file path: pycti adds it to the system certificates and trusts the bundle for its calls to the platform.

XTM Composer: 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.

XTM Composer: 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.

XTM Composer: orchestrator

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

XTM Composer: 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.

XTM Composer: 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.

XTM Composer: 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.

XTM Composer: 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.

XTM Composer: 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).

XTM Composer: 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.

XTM Composer: 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).
NextManagers
Reference
Every setting and component, generated from each release's code.

Published

Overview
XTM Composer
Configuration