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

OpenCTI configuration

Every OpenCTI configuration key of this version, with its environment variable, default and description, generated from the OpenCTI source code.

OpenCTIFor developers, platform engineers and administratorsGenerated from OpenCTI 7.260309.0-lts.8
YOU SETTHE RELEASE SHIPSOPENCTIEnvironment variableAPP__BASE_URL, in Dockerconfig/production.jsonWithout containers, or the file CONFnamesconfig/default.jsonDefaults of the releaseCode defaultKeys not in default.jsonPlatformReads app:base_url
  1. Environment variable → Platform: first
  2. config/production.json → Platform: then
  3. config/default.json → Platform: then
  4. Code default → Platform: last
The platform takes each key from its environment variable, else from production.json, else from default.json, else from the code

Every key OpenCTI reads in this version: the keys of config/default.json, and the keys the code reads without declaring them there. Each has an environment variable, the way to set it in Docker: its name is the key in upper case, with __ between the levels, so app:base_url is APP__BASE_URL. In the XTM stack, set these variables in docker-compose.override.yml; in an installation without containers, set the key in config/production.json.

A list goes in the variable as JSON: APP__ADMIN__EXTERNALLY_MANAGED_ROLES=["Administrator"]. A key marked Not in default.json works the same way; its default is the one the code applies.

356 keys in OpenCTI 7.260309.0-lts.894 read by the code without being in default.json353 describedGenerated from OpenCTI-Platform/opencti@22c7908

Basic parameters

Key and environment variableDefaultDescription
app:admin:emailAPP__ADMIN__EMAILadmin@opencti.iostringDefault login email of the admin user
app:admin:externally_managedAPP__ADMIN__EXTERNALLY_MANAGEDfalsebooleanCompletely remove the default admin user from the platform and never create it again
app:admin:passwordAPP__ADMIN__PASSWORDChangeMestringDefault password of the admin user
app:admin:tokenAPP__ADMIN__TOKENChangeMestringDefault token (must be a valid UUIDv4)
app:auth_payload_body_sizeAPP__AUTH_PAYLOAD_BODY_SIZEstringMaximum payload body size for SSO/SAML. Controls the Express body-parser `limit` setting (defaults to 100kb). See https://expressjs.com/en/resources/middleware/body-parser.htmlNot in default.json
app:base_pathAPP__BASE_PATHstringSpecific URI (ie. /opencti)
app:base_urlAPP__BASE_URLhttp://localhost:4000/stringFull URL of the platform (should include the `base_path` if any)
app:enterprise_edition_licenseAPP__ENTERPRISE_EDITION_LICENSEstringEnterprise Edition license certificate, in PEM format. When set, it replaces the license entered in the interface.
app:health_access_keyAPP__HEALTH_ACCESS_KEYChangeMestringAccess key for the `/health` endpoint. Must be changed - will not respond to default value. Access with `/health?health_access_key=ChangeMe`
app:portAPP__PORT4000numberListen port of the application
app:request_timeoutAPP__REQUEST_TIMEOUT1200000numberRequest timeout, in ms (default 20 minutes)
app:session_cookieAPP__SESSION_COOKIEfalsebooleanUse memory/session cookie instead of persistent one
app:session_idle_timeoutAPP__SESSION_IDLE_TIMEOUT0numberIdle timeout (locking the screen), in ms (default 0 minute - disabled)
app:session_managerAPP__SESSION_MANAGERsharedstringWhere user sessions are stored: `shared` stores them in Redis, shared by all the nodes; any other value keeps them in the memory of each node, so a user stays connected only to the node that opened the session.
app:session_timeoutAPP__SESSION_TIMEOUT1200000numberSession timeout, in ms (default 20 minutes)

Network and security

Key and environment variableDefaultDescription
app:crypto:master_seedAPP__CRYPTO__MASTER_SEEDstringFormer name of `app:encryption_key`, read only when `app:encryption_key` is not set. Use `app:encryption_key` instead.Not in default.json
app:encryption_keyAPP__ENCRYPTION_KEYstringEncryption key used by platform cryptographic usage. Must be securely generated with `openssl rand -base64 32`Not in default.json
app:forgot_password:otp_ttl_secondAPP__FORGOT_PASSWORD__OTP_TTL_SECOND600numberValidity, in seconds, of the one-time code sent by email to reset a forgotten password.
app:graphql:armor_protection:block_field_suggestionAPP__GRAPHQL__ARMOR_PROTECTION__BLOCK_FIELD_SUGGESTIONtruebooleanGraphQL armor protection, block the field suggestion
app:graphql:armor_protection:cost_limitAPP__GRAPHQL__ARMOR_PROTECTION__COST_LIMIT3000000numberGraphQL armor protection cost limit
app:graphql:armor_protection:disabledAPP__GRAPHQL__ARMOR_PROTECTION__DISABLEDtruebooleanDisable GraphQL armor protection (limits on depth, directives, tokens, cost and field suggestions). Unset, it is `true` (armor off), and from 7.261109 the opposite of `app:graphql:secure_by_default`.
app:graphql:armor_protection:max_depthAPP__GRAPHQL__ARMOR_PROTECTION__MAX_DEPTH20numberGraphQL armor protection max depth in queries
app:graphql:armor_protection:max_directivesAPP__GRAPHQL__ARMOR_PROTECTION__MAX_DIRECTIVES20numberGraphQL armor protection max directives in queries
app:graphql:armor_protection:max_tokensAPP__GRAPHQL__ARMOR_PROTECTION__MAX_TOKENS100000numberGraphQL armor protection max tokens
app:graphql:batching_protection:mutation_defaultAPP__GRAPHQL__BATCHING_PROTECTION__MUTATION_DEFAULT1numberMaximum number of times a GraphQL request can call the same mutation through aliases. Protects against batching attacks; the login mutation is always limited to 1.
app:graphql:batching_protection:query_defaultAPP__GRAPHQL__BATCHING_PROTECTION__QUERY_DEFAULT2numberMaximum number of times a GraphQL request can call the same query through aliases. Protects against batching attacks.
app:graphql:batching_protection:query_subtypesAPP__GRAPHQL__BATCHING_PROTECTION__QUERY_SUBTYPES4numberMaximum number of times a GraphQL request can call the `subTypes` query through aliases, higher than the default because the interface asks for it several times.
app:https_cert:caAPP__HTTPS_CERT__CA[]listCertificate authority paths or content, only if the client uses a self-signed certificate
app:https_cert:cookie_samesiteAPP__HTTPS_CERT__COOKIE_SAMESITElaxstringSameSite attribute of the session cookie: `lax`, `strict` or `none`. Browsers accept `none` only with `app:https_cert:cookie_secure` set to `true`.Not in default.json
app:https_cert:cookie_secureAPP__HTTPS_CERT__COOKIE_SECUREfalsebooleanSet the flag "secure" for session cookies
app:https_cert:crtAPP__HTTPS_CERT__CRTstringCertificate crt path or content
app:https_cert:keyAPP__HTTPS_CERT__KEYstringCertificate key path or content
app:https_cert:passphraseAPP__HTTPS_CERT__PASSPHRASEstringPassphrase of the private key given in `app:https_cert:key`, when that key is encrypted.Not in default.json
app:https_cert:reject_unauthorizedAPP__HTTPS_CERT__REJECT_UNAUTHORIZEDtruebooleanIf not false, the server certificate is verified against the list of supplied CAs
app:max_payload_body_sizeAPP__MAX_PAYLOAD_BODY_SIZE50mbstringMaximum size of a JSON request body accepted by the API, the TAXII server and the other HTTP routes, such as `50mb`. Raise it if large requests are rejected. Unset, `50mb`, and from 7.261119 `10mb` with `app:http:secure_by_default`. From 7.261119, the TAXII API root advertises this limit, in bytes, as its `max_content_length` (before, a fixed 100 MB).Not in default.json
app:public_dashboard_authorized_domainsAPP__PUBLIC_DASHBOARD_AUTHORIZED_DOMAINSstringList of domain name that can display public dashboard in an embedded iframe. Empty string means none, '*' means all
app:rate_protection:ip_skip_listAPP__RATE_PROTECTION__IP_SKIP_LISTlistJSON array of IP strings allowed to bypass the rate protectionNot in default.json
app:rate_protection:max_requestsAPP__RATE_PROTECTION__MAX_REQUESTS10000numberMaximum of request allow per IP and per window duration, 0 will deny all. Unset, `10000`, and from 7.261119 `30000` with `app:http:secure_by_default`
app:rate_protection:time_windowAPP__RATE_PROTECTION__TIME_WINDOW1numberTime window for rate protection in seconds. Unset, `1`, and from 7.261119 `60` with `app:http:secure_by_default`
aws:proxy_enabledAWS__PROXY_ENABLEDfalsebooleanWhen enabled, routes all AWS SDK traffic (STS and S3) through the HTTP/HTTPS proxy above.
http_proxyHTTP_PROXYstringProxy URL for the outgoing HTTP requests of the platform (feeds, connectors, authentication providers...). With `aws:proxy_enabled`, also used for AWS traffic.
https_proxyHTTPS_PROXYstringURL of the proxy for outgoing HTTPS requests of the platform, except hosts listed in `no_proxy`. Also used by the AWS SDK when `aws:proxy_enabled` is on, and passed to managed connectors as `HTTPS_PROXY`.
https_proxy_caHTTPS_PROXY_CA[]listList of paths of CA certificates trusted for the TLS connection to the HTTPS proxy. Set it when the proxy uses a certificate from a private CA.
https_proxy_reject_unauthorizedHTTPS_PROXY_REJECT_UNAUTHORIZEDfalsebooleanWhen `true`, the platform refuses an HTTPS proxy whose TLS certificate it cannot verify (see `https_proxy_ca`). Unset, it is `false`, and from 7.261109 it follows `tls:reject_unauthorized`. Also passed to managed connectors as `HTTPS_PROXY_REJECT_UNAUTHORIZED`.
no_proxyNO_PROXYstringComma-separated list of hosts reached without the proxy. Each entry is a hostname, a pattern with `*`, or an IP range in CIDR notation.
providers:local:strategyPROVIDERS__LOCAL__STRATEGYLocalStrategystringStrategy of the built-in `local` provider (login with email and password); its value is never read. `providers:local:config:disabled` set to `true` turns local login off once, when the platform first records its own sign-in settings (a new platform, or the first start of a version that keeps them in the platform); after that, local login is switched in the platform's settings, and this key changes nothing.
secretsSECRETSstringNamed secrets that the authentication providers configured in the interface (OIDC, SAML, LDAP) reference instead of storing a value. Each secret is set as `secrets:<name>:value` (environment variable `SECRETS__<NAME>__VALUE`) or fetched from a remote credentials provider under `secrets:<name>:credentials_provider`.Not in default.json

Errors

Key and environment variableDefaultDescription
app:app_logs:control:max_array_sizeAPP__APP_LOGS__CONTROL__MAX_ARRAY_SIZE50numberMaximum number of elements kept from an array in the metadata of an application log entry; extra elements are dropped. Limits the size of log lines.Not in default.json
app:app_logs:control:max_depth_keysAPP__APP_LOGS__CONTROL__MAX_DEPTH_KEYS100numberMaximum number of keys written in the metadata of one application log entry; keys beyond this count are dropped.Not in default.json
app:app_logs:control:max_depth_sizeAPP__APP_LOGS__CONTROL__MAX_DEPTH_SIZE10numberMaximum nesting depth of the metadata of an application log entry; deeper objects are dropped.Not in default.json
app:app_logs:control:max_string_sizeAPP__APP_LOGS__CONTROL__MAX_STRING_SIZE5000numberMaximum length, in characters, of a string in the metadata of an application log entry; longer strings are cut and end with `...`.Not in default.json
app:app_logs:extended_error_messageAPP__APP_LOGS__EXTENDED_ERROR_MESSAGEfalsebooleanAdds the input data and document bodies to error logs, and the GraphQL query and variables to API call logs. Use it to debug; logs then can contain sensitive data.
app:app_logs:logs_consoleAPP__APP_LOGS__LOGS_CONSOLEtruebooleanIf application logs is logged to console (useful for containers)
app:app_logs:logs_directoryAPP__APP_LOGS__LOGS_DIRECTORY./logsstringFile logs directory
app:app_logs:logs_filesAPP__APP_LOGS__LOGS_FILEStruebooleanIf application logs is logged into files
app:app_logs:logs_levelAPP__APP_LOGS__LOGS_LEVELinfostringThe application log level
app:app_logs:logs_max_filesAPP__APP_LOGS__LOGS_MAX_FILES7numberMaximum number of daily files in logs
app:app_logs:logs_redacted_inputsAPP__APP_LOGS__LOGS_REDACTED_INPUTS["password","secret","token","api_tokens","authentication_value","enterprise_license"]listList of GraphQL input fields to redact from logs (e.g. `password`)

Audit

Key and environment variableDefaultDescription
app:audit_logs:logs_consoleAPP__AUDIT_LOGS__LOGS_CONSOLEtruebooleanIf audit logs is logged to console (useful for containers)
app:audit_logs:logs_directoryAPP__AUDIT_LOGS__LOGS_DIRECTORY./logsstringAudit logs directory
app:audit_logs:logs_filesAPP__AUDIT_LOGS__LOGS_FILEStruebooleanIf audit logs is logged into files
app:audit_logs:logs_in_transportsAPP__AUDIT_LOGS__LOGS_IN_TRANSPORTS["administration"]listActivity access types written to the audit log transports (file and console): `administration`, `extended`, or both. All activities stay stored in the platform history whatever this list holds (Enterprise Edition).
app:audit_logs:logs_max_filesAPP__AUDIT_LOGS__LOGS_MAX_FILES7numberMaximum number of daily files in logs
app:audit_logs:trace_request_headersAPP__AUDIT_LOGS__TRACE_REQUEST_HEADERS["user-agent","x-forwarded-for"]listList of HTTP headers to include in audit logs

Telemetry

Key and environment variableDefaultDescription
app:telemetry:metrics:enabledAPP__TELEMETRY__METRICS__ENABLEDfalsebooleanEnable the metrics collection
app:telemetry:metrics:exporter_otlpAPP__TELEMETRY__METRICS__EXPORTER_OTLPstringPort to expose the OTLP endpoint
app:telemetry:metrics:exporter_prometheusAPP__TELEMETRY__METRICS__EXPORTER_PROMETHEUS14269numberPort to expose the Prometheus endpoint
app:telemetry:pyroscope:enabledAPP__TELEMETRY__PYROSCOPE__ENABLEDfalsebooleanSends continuous profiling data of the platform to a Pyroscope server.
app:telemetry:pyroscope:exporterAPP__TELEMETRY__PYROSCOPE__EXPORTERstringURL of the Pyroscope server that receives the profiling data when `app:telemetry:pyroscope:enabled` is `true`.
app:telemetry:pyroscope:identifierAPP__TELEMETRY__PYROSCOPE__IDENTIFIEROpenCTIstringApplication name under which the profiling data of this platform appears in Pyroscope.
app:telemetry:tracing:enabledAPP__TELEMETRY__TRACING__ENABLEDfalsebooleanEnables OpenTelemetry tracing of the platform operations; traces are sent to the exporters set in `app:telemetry:tracing:exporter_otlp` and `app:telemetry:tracing:exporter_zipkin`.
app:telemetry:tracing:exporter_otlpAPP__TELEMETRY__TRACING__EXPORTER_OTLPstringURL of the OTLP (HTTP) endpoint that receives the traces when tracing is enabled.
app:telemetry:tracing:exporter_zipkinAPP__TELEMETRY__TRACING__EXPORTER_ZIPKINstringURL of the Zipkin endpoint that receives the traces when tracing is enabled.

Maps & references

Key and environment variableDefaultDescription
app:reference_attachmentAPP__REFERENCE_ATTACHMENTfalsebooleanExternal reference mandatory attachment

Functional customization

Key and environment variableDefaultDescription
aliases_identifier_rulesALIASES_IDENTIFIER_RULESstringRules restricting which aliases count as identifiers for deduplication: an object keyed by entity type in lower case (`intrusion-set`, `malware`...), each with a list of regular expressions. Only aliases matching one expression identify the entity; without a rule for a type, every alias does.Not in default.json
app:account_statuses_defaultAPP__ACCOUNT_STATUSES_DEFAULTActivestringAccount status given to new users. Must be `Active`, `Expired` or a key of `app:locked_account_statuses`, otherwise the platform refuses to start; a user whose status is not `Active` cannot log in.
app:artifact_zip_passwordAPP__ARTIFACT_ZIP_PASSWORDinfectedstringArtifact encrypted archive default password
app:authentication:force_envAPP__AUTHENTICATION__FORCE_ENVfalsebooleanUse this variable to force the usage of variables to log in. This will prevent any edition of Authentication via UI too.Not in default.json
app:authentication:force_localAPP__AUTHENTICATION__FORCE_LOCALfalsebooleanUse this variable to force the enablement of your local authentication policy even if disabled in UINot in default.json
app:custom_catalogsAPP__CUSTOM_CATALOGSstringAdditional connector catalogs to load, as a list of local file paths or `http(s)://` URLs, next to the built-in catalog. Support may be removed in a later version.Not in default.json
app:dissemination_list:max_list_sizeAPP__DISSEMINATION_LIST__MAX_LIST_SIZE500numberMaximum number of email addresses a dissemination list can hold.
app:dissemination_list:to_emailAPP__DISSEMINATION_LIST__TO_EMAILno-reply@filigran.iostringAddress put in the To field of emails sent to a dissemination list; the list members receive the email in Bcc.
app:enforce_referencesAPP__ENFORCE_REFERENCESstringLegacy list of entity types that required an external reference on change. Only a 2023 migration reads it, to copy it into the entity settings; set it in the entity settings of the interface now.Not in default.json
app:exclusion_list:file_max_sizeAPP__EXCLUSION_LIST__FILE_MAX_SIZE10000000numberMaximum size, in bytes, of a file uploaded as an exclusion list; a larger file is rejected.
app:group_confidence_level:max_confidence_defaultAPP__GROUP_CONFIDENCE_LEVEL__MAX_CONFIDENCE_DEFAULT100numberMaximum confidence level given to a group created without one, for example a group created by an SSO provider.
app:locked_account_statuses:InactiveAPP__LOCKED_ACCOUNT_STATUSES__INACTIVEYour account has been marked inactive. If you would like to reactivate your account, please contact your administrator.stringMessage shown at login to a user whose account status is `Inactive`. Each key of `app:locked_account_statuses` defines an account status that blocks login, with its message.
app:locked_account_statuses:LockedAPP__LOCKED_ACCOUNT_STATUSES__LOCKEDYour account has been locked for security reasons. Please contact your administrator.stringMessage shown at login to a user whose account status is `Locked`. Each key of `app:locked_account_statuses` defines an account status that blocks login, with its message.
app:schema_metricsAPP__SCHEMA_METRICSstringCustom metrics that can be set on entities, as an object mapping an entity type to a list of one metric `{ attribute, name, description }`. The metrics can then be set through the API and used in filters (Enterprise Edition).Not in default.json
app:translationsAPP__TRANSLATIONS{}stringCustom labels for the web interface, as a JSON string mapping a language code (such as `en-us`) to an object of label overrides; they replace the built-in translations.
app:trash:enabledAPP__TRASH__ENABLEDtruebooleanEnable or disable the trash system. If disabled, the trash manager will also be disabled
app:validation_modeAPP__VALIDATION_MODEworkbenchstringCan either be `workbench` or `draft` depending on the validation mode to be used for automatic imports
data_sharing:max_csv_feed_resultDATA_SHARING__MAX_CSV_FEED_RESULT5000numberMaximum number of entities a CSV feed (Data sharing) returns per request. Raise it if consumers need more rows, at the cost of slower responses.
demo_modeDEMO_MODEfalsebooleanWhen `true`, the platform hides user names and email addresses (replaced by a redacted value) in the interface, the history and the activity logs. Use it for public demonstrations.
relations_deduplication:created_by_basedRELATIONS_DEDUPLICATION__CREATED_BY_BASEDfalsebooleanTake into account the author to duplicate even if `stat_time` / `stop_time` are matching
relations_deduplication:next_daysRELATIONS_DEDUPLICATION__NEXT_DAYS30numberDe-duplicate relations based on `start_time` and `stop_time` + *n* days
relations_deduplication:past_daysRELATIONS_DEDUPLICATION__PAST_DAYS30numberDe-duplicate relations based on `start_time` and `stop_time` - *n* days

Technical customization

Key and environment variableDefaultDescription
app:child_locking_process:enabledAPP__CHILD_LOCKING_PROCESS__ENABLEDtruebooleanRuns the acquisition and extension of Redis locks in a separate child Node.js process, so that a busy main event loop does not delay lock extension. Set it to `false` to handle locks in the main process.
app:child_locking_process:max_memoryAPP__CHILD_LOCKING_PROCESS__MAX_MEMORY256numberMaximum heap size, in MB, of the child process that handles locks when `app:child_locking_process:enabled` is `true`.Not in default.json
app:concurrency:extension_thresholdAPP__CONCURRENCY__EXTENSION_THRESHOLD5000numberMargin, in ms, used to extend a held lock automatically: the platform extends the lock when it is twice this value away from its expiry. Raise it if locks expire under heavy load.
app:concurrency:max_ttlAPP__CONCURRENCY__MAX_TTL60000numberGlobal maximum time for lock retry (in milliseconds)
app:concurrency:retry_countAPP__CONCURRENCY__RETRY_COUNT100numberNumber of try to get the lock to work an element (create/update/merge, ...)
app:concurrency:retry_delayAPP__CONCURRENCY__RETRY_DELAY250numberDelay between 2 lock retry (in milliseconds)
app:concurrency:retry_jitterAPP__CONCURRENCY__RETRY_JITTER100numberRandom jitter to prevent concurrent retry (in milliseconds)
app:csv_ingestion:max_bundle_sizeAPP__CSV_INGESTION__MAX_BUNDLE_SIZE1000numberMaximum number of objects in each STIX bundle that a CSV import sends to the workers. Lower it to send smaller bundles.
app:data_sharing:taxii:max_pagination_resultAPP__DATA_SHARING__TAXII__MAX_PAGINATION_RESULT500numberMaximum number of objects a TAXII collection returns per page; a larger `limit` asked by a client is capped to this value.Not in default.json
app:enabledAPP__ENABLEDtruebooleanStarts the HTTP server (API and web interface) on this node. Set it to `false` on a node that only runs managers and background processing.
app:enabled_dev_featuresAPP__ENABLED_DEV_FEATURES[]listFeature flags to enable, as a list of flag names; `*` enables them all. Flags turn on features still in development: do not use them in production.
app:enabled_uiAPP__ENABLED_UItruebooleanServes the web interface on this node. Set it to `false` to expose only the API; the GraphQL playground is then disabled too.
app:filename_to_mimes:.yarAPP__FILENAME_TO_MIMES__.YARtext/yara+plainstringMIME type given to files whose name ends with `.yar` when the type cannot be guessed from the extension.
app:filename_to_mimes:.yaraAPP__FILENAME_TO_MIMES__.YARAtext/yara+plainstringMIME type given to files whose name ends with `.yara` when the type cannot be guessed from the extension.
app:filename_to_mimes:pdf_reportAPP__FILENAME_TO_MIMES__PDF_REPORTapplication/pdfstringMIME type given to files whose name ends with `pdf_report` when the type cannot be guessed from the extension.
app:graphql:playground:enabledAPP__GRAPHQL__PLAYGROUND__ENABLEDtruebooleanEnable the playground on /public/graphql. Unset, it is `true`, and from 7.261109 the opposite of `app:graphql:secure_by_default`. When the playground is off, introspection is refused too.
app:graphql:playground:force_disabled_introspectionAPP__GRAPHQL__PLAYGROUND__FORCE_DISABLED_INTROSPECTIONtruebooleanIntrospection is allowed to auth users but can be disabled in needed
app:live_stream:cache_max_sizeAPP__LIVE_STREAM__CACHE_MAX_SIZE5000numberMaximum number of entries in the cache of elements already sent on one live stream connection, which avoids sending the same dependencies twice.
app:live_stream:cache_max_timeAPP__LIVE_STREAM__CACHE_MAX_TIME2numberTime, in hours, an element stays in the cache of elements already sent on one live stream connection.
app:live_stream:heartbeat_periodAPP__LIVE_STREAM__HEARTBEAT_PERIOD5000numberInterval, in ms, between two heartbeat events sent to the clients of a stream. Raise it if proxies do not need frequent traffic.Not in default.json
app:node_identifierAPP__NODE_IDENTIFIERstringIdentifier of this node in a cluster, used to register the node and to synchronize caches; a random UUID is generated at each start when empty. Set it to keep the same identity across restarts.Not in default.json
app:python_executionAPP__PYTHON_EXECUTIONnativestringHow the platform runs its Python scripts (indicator syntax check, STIX pattern generation): `native` runs them in an interpreter embedded in the platform process; any other value starts a `python3` child process for each call.
app:python_execution_venvAPP__PYTHON_EXECUTION_VENV../../../.python-venv/lib/python3.12/site-packagesstringPath of a Python `site-packages` directory added to the import path of the embedded Python interpreter, to use the libraries of a virtual environment.
app:script_snippetAPP__SCRIPT_SNIPPETstringHTML snippet, such as a `<script>` tag for web analytics, inserted in the page of the web interface.Not in default.json
app:token_activity_periodAPP__TOKEN_ACTIVITY_PERIOD60numberMinimum interval, in seconds, between two updates of the last use date of an API token. Raise it to reduce writes to Redis.Not in default.json
confCONFstringPath of the configuration file to load instead of `config/<env>.json` (also `-c` on the command line). `config/default.json` still applies underneath.Not in default.json
envENVstringExecution environment (also `-e` on the command line or `NODE_ENV`), which selects the configuration file `config/<env>.json`. Any value other than `production` enables development mode; keep `production`.Not in default.json

XTM Suite

Key and environment variableDefaultDescription
app:composer_token_expirationAPP__COMPOSER_TOKEN_EXPIRATION604800numberTime, in seconds, the encrypted API token of a connector managed by XTM Composer stays cached in Redis. Each use renews it; when it expires, the platform revokes the token and generates a new one.Not in default.json
xtm:openaev_reject_unauthorizedXTM__OPENAEV_REJECT_UNAUTHORIZEDfalsebooleanDeclared in default.json; no code reads it in this version.No direct read
xtm:openaev_tokenXTM__OPENAEV_TOKENstringDeclared in default.json; no code reads it in this version.No direct read
xtm:openaev_urlXTM__OPENAEV_URLstringOpenAEV URL
xtm:opengrc_tokenXTM__OPENGRC_TOKENstringDeclared in default.json; no code reads it in this version.No direct read
xtm:opengrc_urlXTM__OPENGRC_URLstringURL of the OpenCRQ platform (OpenGRC is the former name of OpenCRQ). The platform passes it to the interface in its settings, but no screen of this version uses it. A later release renames it after OpenCRQ, still reads this name as a deprecated fallback, and adds OpenCRQ to the product switcher.
xtm:xtm_one_tokenXTM__XTM_ONE_TOKENstringXTM One registration token. With the URL, the platform registers with XTM One every 5 minutes
xtm:xtm_one_urlXTM__XTM_ONE_URLhttps://common.xtm1.filigran.iostringXTM One URL, as reachable from OpenCTI (an internal address such as `http://xtm-one:4000` in Docker works)
xtm:xtmhub_api_override_urlXTM__XTMHUB_API_OVERRIDE_URLstringURL the platform uses to call the XTM Hub API (health check, registration, news feed) instead of `xtm:xtmhub_url`. Set it when the server reaches XTM Hub at another address than the one users open in their browser.Not in default.json
xtm:xtmhub_connectivity_email_enabledXTM__XTMHUB_CONNECTIVITY_EMAIL_ENABLEDtruebooleanWhen `true`, the platform emails its administrators once when the connectivity with XTM Hub has been lost for 24 hours, asking them to register the platform again. Set `false` to stop this email.
xtm:xtmhub_to_emailXTM__XTMHUB_TO_EMAILno-reply@filigran.iostringRecipient (To) address of the email sent when the connectivity with XTM Hub is lost; the administrators receive it in blind copy.
xtm:xtmhub_urlXTM__XTMHUB_URLhttps://hub.filigran.iostringXTM Hub URL. If set to an empty string, integration of XTM Hub features into OpenCTI will be removed from UI

ElasticSearch

Key and environment variableDefaultDescription
elasticsearch:api_keyELASTICSEARCH__API_KEYstringAPI key for ElasticSearch token auth. Until 7.261030, also set `engine_selector` to `elk`; from 7.261109 the client is detected with the same key.Not in default.json
elasticsearch:batch_loader_max_sizeELASTICSEARCH__BATCH_LOADER_MAX_SIZE300numberMaximum number of elements grouped into one batched load when an API request resolves related data (creators, markings, relations...). Lower it if batched queries to the search engine get too large.Not in default.json
elasticsearch:default_pagination_resultELASTICSEARCH__DEFAULT_PAGINATION_RESULT500numberNumber of results returned by a list query that does not ask for a page size (`first`), and page size of internal paginated loops.
elasticsearch:engine_checkELASTICSEARCH__ENGINE_CHECKtruebooleanDisable Search Engine compatibility matrix verification. __Caution__: OpenCTI was developed in compliance with the compatibility matrix. Setting the parameter to `false` may result in negative impacts. Until 7.261030 only: from 7.261109 the platform ignores it and logs a warning.
elasticsearch:engine_selectorELASTICSEARCH__ENGINE_SELECTORautostring`elk` or `opensearch`, default is `auto`, please put `elk` if you use token auth. Until 7.261030 only: from 7.261109 the platform ignores it, logs a warning, and reads `elasticsearch:engine_client` instead.
elasticsearch:index_creation_patternELASTICSEARCH__INDEX_CREATION_PATTERN-000001stringSuffix appended to the alias name when the platform creates an index (for example `opencti_stix_domain_objects-000001`). Rollover then increments it. Changing it only affects indices created afterwards.
elasticsearch:index_prefixELASTICSEARCH__INDEX_PREFIXopenctistringPrefix for the indices
elasticsearch:internal_init_mapping_migrationELASTICSEARCH__INTERNAL_INIT_MAPPING_MIGRATIONoffstringInternal: helper for reindex migrations (`off`, `standard` or `old`). On a new platform any value other than `off` creates the templates and indices with that mapping, then stops the process; on an existing platform it fails at start. Do not change it.Not in default.json
elasticsearch:max_bulk_operationsELASTICSEARCH__MAX_BULK_OPERATIONS5000numberMaximum number of operations sent in one bulk request to the search engine during mass updates (relation and denormalization updates, migrations). Lower it if bulk requests time out or exceed the cluster's request size.
elasticsearch:max_concurrencyELASTICSEARCH__MAX_CONCURRENCY4numberNumber of bulk requests or fetch batches the platform sends to the search engine in parallel during mass updates and migrations. Raise it on a large cluster to speed them up, lower it to reduce the load.
elasticsearch:max_container_object_resolutionsELASTICSEARCH__MAX_CONTAINER_OBJECT_RESOLUTIONS100000numberMaximum number of objects gathered from the containers of an entity when building its containers graph; once reached, the platform stops reading more containers.Not in default.json
elasticsearch:max_container_resolutionsELASTICSEARCH__MAX_CONTAINER_RESOLUTIONS1000numberMaximum number of containers (or contained elements) loaded to resolve related containers and the containers graph of an entity. Raise it to see more containers at the cost of heavier queries.Not in default.json
elasticsearch:max_docsELASTICSEARCH__MAX_DOCS75000000numberNumber of documents after which an index rolls over, written into the lifecycle policy the platform creates with its indices (ILM `max_docs` on Elasticsearch, ISM `min_doc_count` on OpenSearch).Not in default.json
elasticsearch:max_pagination_resultELASTICSEARCH__MAX_PAGINATION_RESULT5000numberMaximum number of results one search page can return; a larger requested page size is capped to this value. Also the batch size of internal loops that load elements by id.
elasticsearch:max_primary_shard_sizeELASTICSEARCH__MAX_PRIMARY_SHARD_SIZE50gbstringPrimary shard size after which an index rolls over (for example `50gb`), written into the lifecycle policy the platform creates with its indices (ILM `max_primary_shard_size` on Elasticsearch, ISM `min_primary_shard_size` on OpenSearch).Not in default.json
elasticsearch:max_result_windowELASTICSEARCH__MAX_RESULT_WINDOW100000numberIndex setting `max_result_window` (maximum offset plus size of a search), set in the platform's core settings template at each start and applied to indices created afterwards.Not in default.json
elasticsearch:max_retriesELASTICSEARCH__MAX_RETRIES3numberNumber of times the search engine client retries a failed request before returning an error.Not in default.json
elasticsearch:max_runtime_resolutionsELASTICSEARCH__MAX_RUNTIME_RESOLUTIONS5000numberMaximum number of entities (identities, countries, kill chain phases) loaded to sort lists by a computed column such as author or country. Raise it if sorting by these columns shows `Unknown` on a large dataset.
elasticsearch:number_of_replicasELASTICSEARCH__NUMBER_OF_REPLICASstringNumber of replicas of each index, set in the platform's core settings template at each start and applied to indices created afterwards. Unset, the search engine default applies.Not in default.json
elasticsearch:number_of_shardsELASTICSEARCH__NUMBER_OF_SHARDSstringNumber of primary shards of each index, set in the platform's core settings template at each start and applied to indices created afterwards. Unset, the search engine default applies.Not in default.json
elasticsearch:passwordELASTICSEARCH__PASSWORDstringPassword can be put in the URL or with this parameterNot in default.json
elasticsearch:proxyELASTICSEARCH__PROXYstringURL of an HTTP proxy the platform uses to reach Elasticsearch or OpenSearch.Not in default.json
elasticsearch:request_timeoutELASTICSEARCH__REQUEST_TIMEOUT3600000numberTimeout of a request to the search engine, in ms (default one hour).Not in default.json
elasticsearch:search_fuzzyELASTICSEARCH__SEARCH_FUZZYfalsebooleanSearch will include words not starting with the search keyword
elasticsearch:search_wildcard_prefixELASTICSEARCH__SEARCH_WILDCARD_PREFIXfalsebooleanSearch includes words with automatic fuzzy comparison
elasticsearch:sniff_on_startELASTICSEARCH__SNIFF_ON_STARTfalsebooleanWhen `true`, the search engine client discovers the cluster nodes at start and spreads requests across them, instead of using only the configured URL.Not in default.json
elasticsearch:ssl:caELASTICSEARCH__SSL__CAstringCustom certificate path or contentNot in default.json
elasticsearch:ssl:ca_plainELASTICSEARCH__SSL__CA_PLAINstringCertificate authority of the search engine as plain PEM content, used when `elasticsearch:ssl:ca` (a file path) is not set.Not in default.json
elasticsearch:ssl:reject_unauthorizedELASTICSEARCH__SSL__REJECT_UNAUTHORIZEDtruebooleanEnable TLS certificate checkNot in default.json
elasticsearch:unsecure_script_filter_enabledELASTICSEARCH__UNSECURE_SCRIPT_FILTER_ENABLEDfalsebooleanAllows the `script` filter operator, which passes a raw script to the search engine. Disabled by default because any user who can filter can run that script; enable it only if you trust every user.Not in default.json
elasticsearch:urlELASTICSEARCH__URLhttp://localhost:9200stringURL(s) of the ElasticSearch (supports http://user:pass@localhost:9200 and list of URLs)
elasticsearch:usernameELASTICSEARCH__USERNAMEstringUsername can be put in the URL or with this parameterNot in default.json
opensearch:regionOPENSEARCH__REGIONstringAWS region when using AWS OpenSearch with IAM (e.g. `us-east-1`). When set, requests are signed with SigV4 using the default credential chain (env, instance role, etc.). Omit for self‑hosted Elasticsearch/OpenSearch.Not in default.json
opensearch:serviceOPENSEARCH__SERVICEesstringAWS service name used to sign requests to OpenSearch when `opensearch:region` is set: `es` for Amazon OpenSearch Service, `aoss` for OpenSearch Serverless.Not in default.json

Redis

Key and environment variableDefaultDescription
redis:activity_trimmingREDIS__ACTIVITY_TRIMMING50000numberApproximate maximum number of events kept in the Redis activity (audit) stream; older events are trimmed as new ones arrive. Raise it to keep more activity history in Redis, lower it to save Redis memory. `0` falls back to 50000.Not in default.json
redis:caREDIS__CA[]listList of path(s) of the CA certificate(s)
redis:databaseREDIS__DATABASE0numberDatabase of the Redis Server (only work in single mode)Not in default.json
redis:host_ip_familyREDIS__HOST_IP_FAMILY4numberIP family used to resolve the Redis hostnames in single and cluster mode, `4` for IPv4, `6` for IPv6 or `0` for both. Set `6` or `0` when Redis is reachable only over IPv6.
redis:hostnameREDIS__HOSTNAMElocalhoststringHostname of the Redis Server
redis:hostnamesREDIS__HOSTNAMESstringHostnames definition for Redis cluster or sentinel mode: a list of host:port objects.Not in default.json
redis:modeREDIS__MODEsinglestringConnect to redis in "single", "sentinel or "cluster" mode
redis:namespaceREDIS__NAMESPACEstringNamespace (to use as prefix)
redis:nat_mapREDIS__NAT_MAPstringCluster mode only: list of address translations `HOST:PORT>HOST:PORT`, mapping each address a cluster node announces to the address the platform must use. Set it when the nodes sit behind NAT or a proxy (Docker, Kubernetes, cloud) and announce addresses the platform cannot reach.Not in default.json
redis:notification_trimmingREDIS__NOTIFICATION_TRIMMING50000numberApproximate maximum number of events kept in the Redis notification stream, which the notification manager reads for live triggers and digests. Raise it if digests over long periods miss events; `0` falls back to 50000.Not in default.json
redis:passwordREDIS__PASSWORDstringPassword of the Redis ServerNot in default.json
redis:portREDIS__PORT6379numberPort of the Redis Server
redis:scale_readsREDIS__SCALE_READSallstringCluster mode only: which nodes serve read commands, `master` (primaries only), `slave` (replicas only) or `all` (primaries and replicas). Use `master` if reads must never return data a replica has not received yet.Not in default.json
redis:sentinel_failover_detectorREDIS__SENTINEL_FAILOVER_DETECTORfalsebooleanSentinel mode only: when `true`, the platform listens to the Sentinels for master switches and reconnects to the new master as soon as a failover happens, instead of waiting for the connection to fail.Not in default.json
redis:sentinel_master_nameREDIS__SENTINEL_MASTER_NAMEstringName of your Redis Sentinel Master (mandatory in sentinel mode)Not in default.json
redis:sentinel_passwordREDIS__SENTINEL_PASSWORDstringPassword to authenticate on Redis SentinelNot in default.json
redis:sentinel_preferred_slavesREDIS__SENTINEL_PREFERRED_SLAVESstringSentinel mode only, with `redis:sentinel_role` set to `slave`: replicas to connect to first, as a list of `{ ip, port, prio }` objects (lower `prio` first).Not in default.json
redis:sentinel_roleREDIS__SENTINEL_ROLEstringSentinel mode only: role of the node the platform connects to, `master` (default) or `slave`. Keep `master`: the platform writes to Redis.Not in default.json
redis:sentinel_tlsREDIS__SENTINEL_TLSfalsebooleanSentinel mode only: use TLS for the connections to the Sentinel nodes themselves (`redis:use_ssl` covers the connection to the Redis master).Not in default.json
redis:sentinel_update_sentinelsREDIS__SENTINEL_UPDATE_SENTINELStruebooleanSentinel mode only: when `true`, the platform adds the Sentinels it discovers to its list of Sentinels. Set `false` to use only the nodes listed in `redis:hostnames`, for example when the discovered addresses are not reachable from the platform.Not in default.json
redis:sentinel_usernameREDIS__SENTINEL_USERNAMEstringUsername to authenticate on Redis SentinelNot in default.json
redis:trimmingREDIS__TRIMMING2000000numberNumber of elements to maintain in the stream. (0 = unlimited)
redis:use_sslREDIS__USE_SSLfalsebooleanIs the Redis Server has TLS enabled
redis:usernameREDIS__USERNAMEstringUsername of the Redis ServerNot in default.json

RabbitMQ

Key and environment variableDefaultDescription
rabbitmq:hostnameRABBITMQ__HOSTNAMElocalhoststringHostname of the RabbitMQ server
rabbitmq:hostname_managementRABBITMQ__HOSTNAME_MANAGEMENTstringHostname of the RabbitMQ Management PluginNot in default.json
rabbitmq:management_sslRABBITMQ__MANAGEMENT_SSLfalsebooleanIs the Management Plugin has TLS enabled
rabbitmq:management_ssl_reject_unauthorizedRABBITMQ__MANAGEMENT_SSL_REJECT_UNAUTHORIZEDfalsebooleanReject a certificate of the RabbitMQ management plugin the platform cannot verify. Unset, it is `false`, and from 7.261109 it follows `tls:reject_unauthorized`.Not in default.json
rabbitmq:passwordRABBITMQ__PASSWORDgueststringRabbitMQ password
rabbitmq:portRABBITMQ__PORT5672numberPort of the RabbitMQ server
rabbitmq:port_managementRABBITMQ__PORT_MANAGEMENT15672numberPort of the RabbitMQ Management Plugin
rabbitmq:queue_prefixRABBITMQ__QUEUE_PREFIXstringPrefix added (with `_`) to the names of the RabbitMQ exchanges and queues of the platform. Set it to share one RabbitMQ server between several platforms.
rabbitmq:queue_typeRABBITMQ__QUEUE_TYPEclassicstringRabbitMQ Queue Type ("classic" or "quorum")
rabbitmq:use_sslRABBITMQ__USE_SSLfalsebooleanUse TLS connection
rabbitmq:use_ssl_caRABBITMQ__USE_SSL_CA[]listList of path(s) of the CA certificate(s)
rabbitmq:use_ssl_certRABBITMQ__USE_SSL_CERTstringPath or cert contentNot in default.json
rabbitmq:use_ssl_keyRABBITMQ__USE_SSL_KEYstringPath or key contentNot in default.json
rabbitmq:use_ssl_passphraseRABBITMQ__USE_SSL_PASSPHRASEstringPassphrase for the key certificateNot in default.json
rabbitmq:use_ssl_pfxRABBITMQ__USE_SSL_PFXstringPath or pfx contentNot in default.json
rabbitmq:use_ssl_reject_unauthorizedRABBITMQ__USE_SSL_REJECT_UNAUTHORIZEDfalsebooleanReject a RabbitMQ certificate the platform cannot verify (a self-signed one, for example). Unset, it is `false`, and from 7.261109 it follows `tls:reject_unauthorized`.Not in default.json
rabbitmq:usernameRABBITMQ__USERNAMEgueststringRabbitMQ user
rabbitmq:vhostRABBITMQ__VHOST/stringRabbitMQ virtual host

S3 Bucket

Key and environment variableDefaultDescription
minio:access_keyMINIO__ACCESS_KEYChangeMestringAccess key for the S3 Service.
minio:bucket_nameMINIO__BUCKET_NAMEopencti-bucketstringS3 bucket name. Useful to change if you use AWS.
minio:bucket_regionMINIO__BUCKET_REGIONus-east-1stringRegion of the S3 bucket if you are using AWS. This parameter value can be omitted if you use Silo as an S3 Bucket Service.
minio:disable_checksum_validationMINIO__DISABLE_CHECKSUM_VALIDATIONfalsebooleanWhen `true`, the S3 client computes and validates checksums only when the operation requires them, instead of whenever supported. Enable it for S3-compatible storage that rejects the newer checksum headers of the AWS SDK.
minio:endpointMINIO__ENDPOINTlocalhoststringHostname of the S3 Service. Example if you use AWS Bucket S3: __s3.us-east-1.amazonaws.com__ (if `minio:bucket_region` value is _us-east-1_). This parameter value can be omitted if you use Silo as an S3 Bucket Service.
minio:excluded_filesMINIO__EXCLUDED_FILES[".DS_Store"]listFile names (case-insensitive) hidden when the platform lists files from the bucket.
minio:portMINIO__PORT9000numberPort of the S3 Service. For AWS Bucket S3 over HTTPS, this value can be changed (usually __443__).
minio:secret_keyMINIO__SECRET_KEYChangeMestringSecret key for the S3 Service.
minio:session_tokenMINIO__SESSION_TOKENstringSession token sent with `minio:access_key` and `minio:secret_key`, for temporary credentials (AWS STS).Not in default.json
minio:use_aws_logsMINIO__USE_AWS_LOGSfalsebooleanWhen `true`, the debug messages of the AWS S3 client are written to the application log at `info` level. Use it to diagnose bucket connection issues.Not in default.json
minio:use_aws_roleMINIO__USE_AWS_ROLEfalsebooleanIndicates whether to use AWS role auto credentials. When this parameter is configured, the `minio:access_key` and `minio:secret_key` parameters are not necessary.
minio:use_sslMINIO__USE_SSLfalsebooleanIndicates whether the S3 Service has TLS enabled. For AWS Bucket S3 over HTTPS, this value could be `true`.

SMTP Service

Key and environment variableDefaultDescription
smtp:email_max_cc_sizeSMTP__EMAIL_MAX_CC_SIZE500numberMaximum number of administrators put in blind copy of the email sent when the connectivity with XTM Hub is lost; beyond it, only the first ones receive it.
smtp:enabledSMTP__ENABLEDtruebooleanEnable or disable SMTP email sendingNot in default.json
smtp:forced_sender_emailSMTP__FORCED_SENDER_EMAILstringWhen set, forces all emails to use this address as sender and disables the UI-based SMTP configuration
smtp:hostnameSMTP__HOSTNAMElocalhoststringSMTP Server hostname
smtp:passwordSMTP__PASSWORDstringSMTP password (Basic Auth only)
smtp:portSMTP__PORT25numberSMTP Port (25 or 465 for TLS)
smtp:reject_unauthorizedSMTP__REJECT_UNAUTHORIZEDfalsebooleanEnable TLS certificate check of the SMTP server. Unset, it is `false`, and from 7.261109 it follows `tls:reject_unauthorized`.
smtp:tls_ciphersSMTP__TLS_CIPHERSstringTLS cipher suites allowed for the connection to the SMTP server, in OpenSSL format. Applies when SMTP is configured in the configuration file, not in the interface.Not in default.json
smtp:tls_max_versionSMTP__TLS_MAX_VERSIONstringHighest TLS version allowed for the connection to the SMTP server (for example `TLSv1.3`). Applies when SMTP is configured in the configuration file, not in the interface.Not in default.json
smtp:tls_min_versionSMTP__TLS_MIN_VERSIONstringLowest TLS version allowed for the connection to the SMTP server (for example `TLSv1.2`). Set it to refuse older protocols, or lower it for a legacy server. Applies when SMTP is configured in the configuration file, not in the interface.Not in default.json
smtp:use_sslSMTP__USE_SSLfalsebooleanSMTP over TLS
smtp:usernameSMTP__USERNAMEstringSMTP username (Basic Auth only)

AI Service

Key and environment variableDefaultDescription
ai:ai_azure_deploymentAI__AI_AZURE_DEPLOYMENTstringThe Azure deployment (often equal to the model used)
ai:ai_azure_instanceAI__AI_AZURE_INSTANCEstringThe Azure instance name you use (https://<ai_azure_instance>.openai.azure.ai)
ai:enabledAI__ENABLEDstringEnable AI capabilitiesNot in default.json
ai:endpointAI__ENDPOINTstringEndpoint URL (empty means default cloud service)
ai:insights_refresh_timeoutAI__INSIGHTS_REFRESH_TIMEOUT60numberTime an AI insight generated by the platform's LLM (activity, forecast, history, summary of an entity or container) stays cached in the memory of each node, in minutes. A user can still force a refresh.
ai:max_tokensAI__MAX_TOKENS30000numberMaximum length of the prompt sent to the LLM; despite its name, the prompt is truncated to this number of characters, not tokens.
ai:modelAI__MODELstringModel to be used for text generation (depending on type)
ai:model_imagesAI__MODEL_IMAGESstringDeclared in default.json; no code reads it in this version.No direct read
ai:timeoutAI__TIMEOUT60000numberDeclared in default.json; no code reads it in this version. The natural language query timeout reads `app:ai:timeout`.No direct read
ai:tokenAI__TOKENstringToken for endpoint credentials
ai:typeAI__TYPEmistralaistringAI type (`openai`, `mistralai` or `azureopenai`)
ai:versionAI__VERSIONstringThe version of the deployment server (used for AzureAI)
app:ai:timeoutAPP__AI__TIMEOUT60000numberTime, in ms, the platform waits for the AI model to answer a natural language query (NLQ) before failing with an error. Raise it for a slow or remote model.Not in default.json

Protect Sensitive Configurations

Key and environment variableDefaultDescription
protected_sensitive_config:ce_ee_toggle:enabledPROTECTED_SENSITIVE_CONFIG__CE_EE_TOGGLE__ENABLEDtruebooleanEnabled Enterpise/Community Editon toggle protection
protected_sensitive_config:connector_reset:enabledPROTECTED_SENSITIVE_CONFIG__CONNECTOR_RESET__ENABLEDtruebooleanProtect the reset of a connector's state, which then requires the capability to manage sensitive configurations.
protected_sensitive_config:enabledPROTECTED_SENSITIVE_CONFIG__ENABLEDtruebooleanEnable Protect Sensitive Configurations
protected_sensitive_config:file_indexing:enabledPROTECTED_SENSITIVE_CONFIG__FILE_INDEXING__ENABLEDtruebooleanEnabled File Indexing protection
protected_sensitive_config:groups:enabledPROTECTED_SENSITIVE_CONFIG__GROUPS__ENABLEDtruebooleanEnabled Groups protection
protected_sensitive_config:groups:protected_namesPROTECTED_SENSITIVE_CONFIG__GROUPS__PROTECTED_NAMES["Administrators","Connectors","Default"]listList of protected Groups
protected_sensitive_config:markings:enabledPROTECTED_SENSITIVE_CONFIG__MARKINGS__ENABLEDtruebooleanProtect Markings
protected_sensitive_config:markings:protected_definitionsPROTECTED_SENSITIVE_CONFIG__MARKINGS__PROTECTED_DEFINITIONS["TLP:CLEAR","TLP:GREEN","TLP:AMBER","TLP:AMBER+STRICT","TLP:RED","PAP:CLEAR","PAP:GREEN","PAP:AMBER","PAP:RED"]listList of protected Markings definitions
protected_sensitive_config:platform_organization:enabledPROTECTED_SENSITIVE_CONFIG__PLATFORM_ORGANIZATION__ENABLEDtruebooleanEnabled main Platform Organization protection
protected_sensitive_config:roles:enabledPROTECTED_SENSITIVE_CONFIG__ROLES__ENABLEDtruebooleanEnabled Roles protection
protected_sensitive_config:roles:protected_namesPROTECTED_SENSITIVE_CONFIG__ROLES__PROTECTED_NAMES["Administrator","Connector","Default"]listList of protected Roles
protected_sensitive_config:rules:enabledPROTECTED_SENSITIVE_CONFIG__RULES__ENABLEDtruebooleanEnabled Rules protection

Engines, Schedules and Managers

Key and environment variableDefaultDescription
activity_manager:enabledACTIVITY_MANAGER__ENABLEDtruebooleanEnable/disable the activity manager
activity_manager:lock_keyACTIVITY_MANAGER__LOCK_KEYactivity_manager_lockstringLock key for the manager in Redis
app:task_scheduler:max_queues_breakdownAPP__TASK_SCHEDULER__MAX_QUEUES_BREAKDOWN4numberNumber of RabbitMQ queues that background tasks are spread over for processing by the workers.Not in default.json
connector_manager:batch_sizeCONNECTOR_MANAGER__BATCH_SIZE10000numberMaximum number of works the connector manager processes per connector at each run, both when forcing stale works to complete and when deleting the completed works older than `connector_manager:works_day_range`.
connector_manager:enabledCONNECTOR_MANAGER__ENABLEDtruebooleanEnable/disable the connector manager
connector_manager:intervalCONNECTOR_MANAGER__INTERVAL60000numberInterval to check the state of the works
connector_manager:lock_keyCONNECTOR_MANAGER__LOCK_KEYconnector_manager_lockstringLock key for the manager in Redis
connector_manager:works_day_rangeCONNECTOR_MANAGER__WORKS_DAY_RANGE7numberDays range before considering the works as too old
exclusion_list_cache_build_manager:enabledEXCLUSION_LIST_CACHE_BUILD_MANAGER__ENABLEDtruebooleanEnable/disable the exclusion list cache build manager, which rebuilds the cache of exclusion lists after they change.
exclusion_list_cache_build_manager:intervalEXCLUSION_LIST_CACHE_BUILD_MANAGER__INTERVAL10000numberInterval, in ms, at which the manager checks whether the exclusion list cache must be rebuilt.
exclusion_list_cache_build_manager:lock_keyEXCLUSION_LIST_CACHE_BUILD_MANAGER__LOCK_KEYexclusion_list_cache_build_manager_lockstringLock key for the manager in Redis
exclusion_list_cache_sync_manager:intervalEXCLUSION_LIST_CACHE_SYNC_MANAGER__INTERVAL10000numberInterval at which a node checks whether its local cache of the exclusion lists is outdated and rebuilds it, in ms.
exclusion_list_cache_sync_manager:lock_keyEXCLUSION_LIST_CACHE_SYNC_MANAGER__LOCK_KEYexclusion_list_cache_sync_manager_lockstringLock key for the manager in Redis, taken during each run.
expiration_scheduler:enabledEXPIRATION_SCHEDULER__ENABLEDtruebooleanEnable/disable the scheduler
expiration_scheduler:intervalEXPIRATION_SCHEDULER__INTERVAL300000numberInterval to check expired indicators (in ms)
expiration_scheduler:lock_keyEXPIRATION_SCHEDULER__LOCK_KEYexpired_manager_lockstringLock key for the scheduler in Redis
file_index_manager:enabledFILE_INDEX_MANAGER__ENABLEDtruebooleanEnable/disable the file indexing manager
file_index_manager:intervalFILE_INDEX_MANAGER__INTERVAL60000numberInterval to check for new files
file_index_manager:lock_keyFILE_INDEX_MANAGER__LOCK_KEYfile_index_manager_lockstringLock key for the manager in Redis, so that only one platform node indexes the imported files at a time.
file_index_manager:stream_lock_keyFILE_INDEX_MANAGER__STREAM_LOCK_KEYfile_index_manager_stream_lockstringStream lock key for the manager in Redis
garbage_collection_manager:batch_sizeGARBAGE_COLLECTION_MANAGER__BATCH_SIZE10000numberNumber of trash elements to delete at once
garbage_collection_manager:deleted_retention_daysGARBAGE_COLLECTION_MANAGER__DELETED_RETENTION_DAYS7numberDays after which elements in trash are deleted
garbage_collection_manager:enabledGARBAGE_COLLECTION_MANAGER__ENABLEDtruebooleanEnable/disable the trash manager
garbage_collection_manager:intervalGARBAGE_COLLECTION_MANAGER__INTERVAL60000numberInterval to check for trash elements to delete
garbage_collection_manager:lock_keyGARBAGE_COLLECTION_MANAGER__LOCK_KEYgarbage_collection_manager_lockstringLock key for the manager in Redis
history_manager:enabledHISTORY_MANAGER__ENABLEDtruebooleanEnable/disable the history manager
history_manager:include_inferencesHISTORY_MANAGER__INCLUDE_INFERENCEStruebooleanWhen `true`, the history manager also records the events of inferred knowledge (created by the rule engine) in the history.
history_manager:lock_keyHISTORY_MANAGER__LOCK_KEYhistory_manager_lockstringLock key for the manager in Redis
hub_registration_manager:enabledHUB_REGISTRATION_MANAGER__ENABLEDtruebooleanEnable/disable the XTM Hub registration manager, which checks the registration of the platform with XTM Hub, fetches the XTM Hub news feed and cleans old news feed items.
hub_registration_manager:intervalHUB_REGISTRATION_MANAGER__INTERVAL3600000numberInterval, in ms, between two runs of the XTM Hub registration manager (connectivity check, news feed fetch and cleanup).
hub_registration_manager:lock_keyHUB_REGISTRATION_MANAGER__LOCK_KEYhub_registration_manager_lockstringLock key for the manager in Redis
import_csv_built_in_connector:bulk_creation_sizeIMPORT_CSV_BUILT_IN_CONNECTOR__BULK_CREATION_SIZE5000numberNumber of CSV lines the built-in CSV import connector reads and converts per batch. Lower it to reduce memory use on large files.
import_csv_built_in_connector:enabledIMPORT_CSV_BUILT_IN_CONNECTOR__ENABLEDtruebooleanEnable/disable the csv import connector
import_csv_built_in_connector:intervalIMPORT_CSV_BUILT_IN_CONNECTOR__INTERVAL10000numberDeclared in default.json; no code reads it in this version.No direct read
import_csv_built_in_connector:validate_before_importIMPORT_CSV_BUILT_IN_CONNECTOR__VALIDATE_BEFORE_IMPORTfalsebooleanValidates the bundle before importing
indicator_decay_manager:batch_sizeINDICATOR_DECAY_MANAGER__BATCH_SIZE10000numberNumber of indicators handled by the manager
indicator_decay_manager:enabledINDICATOR_DECAY_MANAGER__ENABLEDtruebooleanEnable/disable the indicator decay manager
indicator_decay_manager:intervalINDICATOR_DECAY_MANAGER__INTERVAL60000numberInterval to check for indicators to update
indicator_decay_manager:lock_keyINDICATOR_DECAY_MANAGER__LOCK_KEYindicator_decay_manager_lockstringLock key for the manager in Redis
ingestion_manager:csv_feed:min_interval_minutesINGESTION_MANAGER__CSV_FEED__MIN_INTERVAL_MINUTES5numberMinimum interval before requesting again same CSV Feed
ingestion_manager:enabledINGESTION_MANAGER__ENABLEDtruebooleanEnable/disable the ingestion manager
ingestion_manager:intervalINGESTION_MANAGER__INTERVAL30000numberInterval to check for new data in remote feeds
ingestion_manager:lock_keyINGESTION_MANAGER__LOCK_KEYingestion_manager_lockstringLock key for the manager in Redis
ingestion_manager:rss_feed:min_interval_minutesINGESTION_MANAGER__RSS_FEED__MIN_INTERVAL_MINUTES5numberMinimum interval before requesting again same RSS Feed
ingestion_manager:rss_feed:user_agentINGESTION_MANAGER__RSS_FEED__USER_AGENTMozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0stringUser agent to use for RSS Feed requests
ingestion_manager:taxii_feed:limit_per_requestINGESTION_MANAGER__TAXII_FEED__LIMIT_PER_REQUEST0numberNumber of objects asked per request to a TAXII collection (`limit` parameter). `0` sends no limit and lets the server decide; set it when a server returns pages too large or too small.
notification_manager:enabledNOTIFICATION_MANAGER__ENABLEDtruebooleanEnable/disable the notification manager
notification_manager:intervalNOTIFICATION_MANAGER__INTERVAL10000numberInterval to push notificationsNo direct read
notification_manager:lock_digest_keyNOTIFICATION_MANAGER__LOCK_DIGEST_KEYnotification_digest_manager_lockstringLock digest key for the manager in Redis
notification_manager:lock_live_keyNOTIFICATION_MANAGER__LOCK_LIVE_KEYnotification_live_manager_lockstringLock live key for the manager in Redis
pir_manager:enabledPIR_MANAGER__ENABLEDtruebooleanEnable/disable the PIR manager, which reads the event stream and flags the entities whose relationships match a Priority Intelligence Requirement. Requires an Enterprise Edition licence.
pir_manager:intervalPIR_MANAGER__INTERVAL30000numberInterval between two runs of the PIR manager over the new stream events, in ms.
pir_manager:lock_keyPIR_MANAGER__LOCK_KEYpir_manager_lockstringLock key for the manager in Redis, so that only one platform node runs it at a time. An empty value disables the manager.
pir_manager:max_concurrencyPIR_MANAGER__MAX_CONCURRENCY5numberNumber of PIRs the PIR manager processes in parallel at each run.
pir_manager:stream_batch_sizePIR_MANAGER__STREAM_BATCH_SIZE7500numberNumber of stream events the PIR manager reads in one batch for each PIR. Lower it to reduce memory use, raise it to catch up faster on a busy stream.
playbook_manager:cron_max_sizePLAYBOOK_MANAGER__CRON_MAX_SIZE500numberMaximum number of entities a scheduled playbook processes per run, one at a time, when its trigger does not send all results in a single bundle. Raise it if a scheduled playbook must cover more entities per run.
playbook_manager:enabledPLAYBOOK_MANAGER__ENABLEDtruebooleanEnable/disable the playbook manager
playbook_manager:intervalPLAYBOOK_MANAGER__INTERVAL60000numberInterval to check new playbooksNo direct read
playbook_manager:lock_cron_keyPLAYBOOK_MANAGER__LOCK_CRON_KEYplaybook_cron_manager_lockstringLock key in Redis for the part of the playbook manager that runs scheduled playbooks.
playbook_manager:lock_keyPLAYBOOK_MANAGER__LOCK_KEYplaybook_manager_lockstringLock key for the manager in Redis
playbook_manager:log_max_sizePLAYBOOK_MANAGER__LOG_MAX_SIZE10000numberMaximum number of characters of a step's bundle or patch shown in the execution logs of a playbook; longer content is truncated.
playbook_manager:realtime_priorityPLAYBOOK_MANAGER__REALTIME_PRIORITYfalsebooleanWhen `true`, the workers consume the playbook queues in the realtime priority group instead of the default group, like forms and drafts.
publisher_manager:buffering_secondsPUBLISHER_MANAGER__BUFFERING_SECONDS60numberBuffering windows used (in seconds)
publisher_manager:enable_bufferingPUBLISHER_MANAGER__ENABLE_BUFFERINGtruebooleanEnable/disable buffering of messages
publisher_manager:enabledPUBLISHER_MANAGER__ENABLEDtruebooleanEnable/disable the publisher manager
publisher_manager:intervalPUBLISHER_MANAGER__INTERVAL10000numberInterval to send notifications / digests (in ms)No direct read
publisher_manager:lock_keyPUBLISHER_MANAGER__LOCK_KEYpublisher_manager_lockstringLock key for the manager in Redis
retention_manager:batch_sizeRETENTION_MANAGER__BATCH_SIZE1500numberMaximum number of elements a retention rule deletes at each run of the retention manager. The rest is deleted at the next runs.Not in default.json
retention_manager:enabledRETENTION_MANAGER__ENABLEDtruebooleanEnable/disable the retention manager
retention_manager:intervalRETENTION_MANAGER__INTERVAL30000numberInterval to check items to be deleted (in ms)
retention_manager:lock_keyRETENTION_MANAGER__LOCK_KEYretention_manager_lockstringLock key for the manager in Redis
retention_manager:max_deletion_concurrencyRETENTION_MANAGER__MAX_DELETION_CONCURRENCY2numberNumber of elements the retention manager deletes in parallel.Not in default.json
rule_engine:enabledRULE_ENGINE__ENABLEDtruebooleanEnable/disable the rule engine
rule_engine:lock_keyRULE_ENGINE__LOCK_KEYrule_engine_lockstringLock key of the engine in Redis
rule_engine:max_explanations_per_ruleRULE_ENGINE__MAX_EXPLANATIONS_PER_RULE100numberMaximum number of explanations a rule records on one inferred entity or relationship; once reached, new explanations from that rule are not added. Limits the size of heavily inferred elements.Not in default.json
sync_manager:enabledSYNC_MANAGER__ENABLEDtruebooleanEnable/disable the sync manager
sync_manager:intervalSYNC_MANAGER__INTERVAL10000numberInterval to check new sync feeds to consume (in ms)
sync_manager:lock_keySYNC_MANAGER__LOCK_KEYsync_manager_lockstringLock key for the manager in Redis
task_scheduler:enabledTASK_SCHEDULER__ENABLEDtruebooleanEnable/disable the task scheduler
task_scheduler:intervalTASK_SCHEDULER__INTERVAL10000numberInterval to check new task to do (in ms)
task_scheduler:lock_keyTASK_SCHEDULER__LOCK_KEYtask_manager_lockstringLock key for the scheduler in Redis
task_scheduler:max_concurrencyTASK_SCHEDULER__MAX_CONCURRENCY4numberNumber of background tasks the task manager processes in parallel.Not in default.json
telemetry_manager:console_debugTELEMETRY_MANAGER__CONSOLE_DEBUGfalsebooleanWhen `true`, the telemetry manager also prints each telemetry export to the console, so you can see what the platform collects.Not in default.json
telemetry_manager:intervalTELEMETRY_MANAGER__INTERVAL60000numberInterval between two attempts of a node to take the telemetry lock and start the manager, in ms. Once started, the manager computes its metrics every 30 minutes and exports them every 6 hours, whatever this value.Not in default.json
telemetry_manager:lock_keyTELEMETRY_MANAGER__LOCK_KEYtelemetry_manager_lockstringLock key for the manager in Redis

Logging

Key and environment variableDefaultDescription
app:event_loop_logs:enabledAPP__EVENT_LOOP_LOGS__ENABLEDfalsebooleanDeclared in default.json; no code reads it in this version.No direct read
app:event_loop_logs:max_timeAPP__EVENT_LOOP_LOGS__MAX_TIME1000numberDeclared in default.json; no code reads it in this version.No direct read
app:performance_loggerAPP__PERFORMANCE_LOGGERfalsebooleanLogs every API call, with its duration, size and memory usage, at info level. Use it to analyze performance; it produces a lot of logs.

Technical

Key and environment variableDefaultDescription
migrations:reindex_targets_rel:bulk_timeoutMIGRATIONS__REINDEX_TARGETS_REL__BULK_TIMEOUT30mstringTimeout of each bulk request of the migration that re-indexes the `targets` relationships of regions, countries and sectors (for example `30m`). Read only when that migration runs during an upgrade.Not in default.json
migrations:reindex_targets_rel:max_bulk_operationsMIGRATIONS__REINDEX_TARGETS_REL__MAX_BULK_OPERATIONS1000numberNumber of operations per bulk request of the migration that re-indexes the `targets` relationships of regions, countries and sectors. Lower it if that migration fails on timeouts.Not in default.json
migrations:reindex_targets_rel:max_concurrencyMIGRATIONS__REINDEX_TARGETS_REL__MAX_CONCURRENCY2numberNumber of bulk requests sent in parallel by the migration that re-indexes the `targets` relationships of regions, countries and sectors.Not in default.json
node_envNODE_ENVstringExecution environment of the platform. It selects the configuration file `config/<env>.json` loaded over default.json, and any value other than `production` turns on development mode. Keep `production`.Not in default.json
platform_idPLATFORM_IDstringForces the identifier of the platform (a UUID). A new platform is created with it; on an existing platform, the identifier is switched to it at start if different.Not in default.json

Other app settings

Key and environment variableDefaultDescription
app:map_tile_server_darkAPP__MAP_TILE_SERVER_DARKhttps://map.opencti.io/styles/filigran-dark3/{z}/{x}/{y}.pngstringNo description yet.
app:map_tile_server_lightAPP__MAP_TILE_SERVER_LIGHThttps://map.opencti.io/styles/filigran-light3/{z}/{x}/{y}.pngstringNo description yet.
app:session_secretAPP__SESSION_SECRETstringNo description yet.Not in default.json

Keys built at run time

The code builds these names from another setting, such as the name of a secret or of a credentials provider: replace each <name> with yours.

  • <name>:credentials_provider:<name>:app_id
  • <name>:credentials_provider:<name>:default_splitter
  • <name>:credentials_provider:<name>:field_targets
  • <name>:credentials_provider:<name>:object
  • <name>:credentials_provider:<name>:safe
  • <name>:credentials_provider:<name>:uri
  • <name>:credentials_provider:field_targets
  • <name>:credentials_provider:https_cert:ca
  • <name>:credentials_provider:https_cert:crt
  • <name>:credentials_provider:https_cert:key
  • <name>:credentials_provider:https_cert:reject_unauthorized
  • <name>:credentials_provider:selector
  • <name>:value
  • providers:<name>
  • secrets:<name>:value
NextData model
Reference
Every setting and component, generated from each release's code.

Published

Overview
XTM Composer
Configuration