From ea2435dd2c8af55a411a6077cc6a7e402e43d7d6 Mon Sep 17 00:00:00 2001 From: Cathia Archidoit Date: Mon, 23 Nov 2026 10:57:05 +0100 Subject: [PATCH 1/4] fix(compose): run the connectors with service accounts Since the "User is not a service account" ingestion health check, the connectors running with the admin token show as degraded. - Import and analysis connectors create their own service account (CONNECTOR_AUTO_CREATE_SERVICE_ACCOUNT=true). - Export connectors impersonate the user requesting the export and need a service account with bypass: they take a dedicated token (CONNECTOR_EXPORT_FILE_*_TOKEN), and fall back to the admin token when it is not set. Co-Authored-By: Claude Opus 5.5 --- .env.sample | 11 +++++++++++ docker-compose.opensearch.yml | 17 ++++++++++++++--- docker-compose.yml | 17 ++++++++++++++--- 3 files changed, 39 insertions(+), 6 deletions(-) diff --git a/.env.sample b/.env.sample index 302c1481..587ef7c6 100644 --- a/.env.sample +++ b/.env.sample @@ -49,6 +49,17 @@ CONNECTOR_IMPORT_FILE_YARA_ID=7eb45b60-069b-4f7f-83a2-df4d6891d5ec CONNECTOR_IMPORT_EXTERNAL_REFERENCE_ID=d52dcbc8-fa06-42c7-bbc2-044948c87024 CONNECTOR_ANALYSIS_ID=4dffd77c-ec11-4abe-bca7-fd997f79fa36 +# Tokens of the export connectors. An export connector impersonates the user requesting the export, +# so it needs a service account in a group with the "Bypass all capabilities" capability. +# Once OpenCTI is up, for each export connector: +# 1. in Settings > Security > Users, create a service account (such as `[C] ExportFileStix2`) in the Administrators group; +# 2. generate a token for it, set it below, and run `docker compose up -d`. +# When not set, the connector runs with OPENCTI_ADMIN_TOKEN: exports work, but the ingestion health +# of the connector shows "User is not a service account". The other connectors create their own service account. +CONNECTOR_EXPORT_FILE_STIX_TOKEN= +CONNECTOR_EXPORT_FILE_CSV_TOKEN= +CONNECTOR_EXPORT_FILE_TXT_TOKEN= + ########################### # OPENCTI DEFAULT DATA # ########################### diff --git a/docker-compose.opensearch.yml b/docker-compose.opensearch.yml index 87d5ae81..ac907659 100644 --- a/docker-compose.opensearch.yml +++ b/docker-compose.opensearch.yml @@ -191,7 +191,9 @@ services: image: opencti/connector-export-file-stix:latest environment: - OPENCTI_URL=http://opencti:8080 - - OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN} + # Token of a service account in a group with the "Bypass all capabilities" capability, such as Administrators: + # an export connector impersonates the user requesting the export. Falls back to the admin token when not set + - OPENCTI_TOKEN=${CONNECTOR_EXPORT_FILE_STIX_TOKEN:-${OPENCTI_ADMIN_TOKEN}} - CONNECTOR_ID=${CONNECTOR_EXPORT_FILE_STIX_ID} # Valid UUIDv4 - CONNECTOR_TYPE=INTERNAL_EXPORT_FILE - CONNECTOR_NAME=ExportFileStix2 @@ -204,7 +206,9 @@ services: image: opencti/connector-export-file-csv:latest environment: - OPENCTI_URL=http://opencti:8080 - - OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN} + # Token of a service account in a group with the "Bypass all capabilities" capability, such as Administrators: + # an export connector impersonates the user requesting the export. Falls back to the admin token when not set + - OPENCTI_TOKEN=${CONNECTOR_EXPORT_FILE_CSV_TOKEN:-${OPENCTI_ADMIN_TOKEN}} - CONNECTOR_ID=${CONNECTOR_EXPORT_FILE_CSV_ID} # Valid UUIDv4 - CONNECTOR_TYPE=INTERNAL_EXPORT_FILE - CONNECTOR_NAME=ExportFileCsv @@ -217,7 +221,9 @@ services: image: opencti/connector-export-file-txt:latest environment: - OPENCTI_URL=http://opencti:8080 - - OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN} + # Token of a service account in a group with the "Bypass all capabilities" capability, such as Administrators: + # an export connector impersonates the user requesting the export. Falls back to the admin token when not set + - OPENCTI_TOKEN=${CONNECTOR_EXPORT_FILE_TXT_TOKEN:-${OPENCTI_ADMIN_TOKEN}} - CONNECTOR_ID=${CONNECTOR_EXPORT_FILE_TXT_ID} # Valid UUIDv4 - CONNECTOR_TYPE=INTERNAL_EXPORT_FILE - CONNECTOR_NAME=ExportFileTxt @@ -231,6 +237,7 @@ services: environment: - OPENCTI_URL=http://opencti:8080 - OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN} + - CONNECTOR_AUTO_CREATE_SERVICE_ACCOUNT=true # Runs with its own service account, created with the token above - CONNECTOR_ID=${CONNECTOR_IMPORT_FILE_STIX_ID} # Valid UUIDv4 - CONNECTOR_TYPE=INTERNAL_IMPORT_FILE - CONNECTOR_NAME=ImportFileStix @@ -246,6 +253,7 @@ services: environment: - OPENCTI_URL=http://opencti:8080 - OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN} + - CONNECTOR_AUTO_CREATE_SERVICE_ACCOUNT=true # Runs with its own service account, created with the token above - CONNECTOR_ID=${CONNECTOR_IMPORT_DOCUMENT_ID} # Valid UUIDv4 - CONNECTOR_TYPE=INTERNAL_IMPORT_FILE - CONNECTOR_NAME=ImportDocument @@ -263,6 +271,7 @@ services: environment: - OPENCTI_URL=http://opencti:8080 - OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN} + - CONNECTOR_AUTO_CREATE_SERVICE_ACCOUNT=true # Runs with its own service account, created with the token above - CONNECTOR_ID=${CONNECTOR_IMPORT_FILE_YARA_ID} # Valid UUIDv4 - CONNECTOR_NAME=ImportFileYARA - CONNECTOR_VALIDATE_BEFORE_IMPORT=true # Validate any bundle before import @@ -278,6 +287,7 @@ services: environment: - OPENCTI_URL=http://opencti:8080 - OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN} + - CONNECTOR_AUTO_CREATE_SERVICE_ACCOUNT=true # Runs with its own service account, created with the token above - CONNECTOR_ID=${CONNECTOR_ANALYSIS_ID} # Valid UUIDv4 - CONNECTOR_TYPE=INTERNAL_ANALYSIS - CONNECTOR_NAME=ImportDocumentAnalysis @@ -294,6 +304,7 @@ services: environment: - OPENCTI_URL=http://opencti:8080 - OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN} + - CONNECTOR_AUTO_CREATE_SERVICE_ACCOUNT=true # Runs with its own service account, created with the token above - CONNECTOR_ID=${CONNECTOR_IMPORT_EXTERNAL_REFERENCE_ID} - CONNECTOR_NAME=ImportExternalReference restart: always diff --git a/docker-compose.yml b/docker-compose.yml index d055f43c..dfeae095 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -205,7 +205,9 @@ services: image: opencti/connector-export-file-stix:latest environment: - OPENCTI_URL=http://opencti:8080 - - OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN} + # Token of a service account in a group with the "Bypass all capabilities" capability, such as Administrators: + # an export connector impersonates the user requesting the export. Falls back to the admin token when not set + - OPENCTI_TOKEN=${CONNECTOR_EXPORT_FILE_STIX_TOKEN:-${OPENCTI_ADMIN_TOKEN}} - CONNECTOR_ID=${CONNECTOR_EXPORT_FILE_STIX_ID} # Valid UUIDv4 - CONNECTOR_TYPE=INTERNAL_EXPORT_FILE - CONNECTOR_NAME=ExportFileStix2 @@ -218,7 +220,9 @@ services: image: opencti/connector-export-file-csv:latest environment: - OPENCTI_URL=http://opencti:8080 - - OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN} + # Token of a service account in a group with the "Bypass all capabilities" capability, such as Administrators: + # an export connector impersonates the user requesting the export. Falls back to the admin token when not set + - OPENCTI_TOKEN=${CONNECTOR_EXPORT_FILE_CSV_TOKEN:-${OPENCTI_ADMIN_TOKEN}} - CONNECTOR_ID=${CONNECTOR_EXPORT_FILE_CSV_ID} # Valid UUIDv4 - CONNECTOR_TYPE=INTERNAL_EXPORT_FILE - CONNECTOR_NAME=ExportFileCsv @@ -231,7 +235,9 @@ services: image: opencti/connector-export-file-txt:latest environment: - OPENCTI_URL=http://opencti:8080 - - OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN} + # Token of a service account in a group with the "Bypass all capabilities" capability, such as Administrators: + # an export connector impersonates the user requesting the export. Falls back to the admin token when not set + - OPENCTI_TOKEN=${CONNECTOR_EXPORT_FILE_TXT_TOKEN:-${OPENCTI_ADMIN_TOKEN}} - CONNECTOR_ID=${CONNECTOR_EXPORT_FILE_TXT_ID} # Valid UUIDv4 - CONNECTOR_TYPE=INTERNAL_EXPORT_FILE - CONNECTOR_NAME=ExportFileTxt @@ -245,6 +251,7 @@ services: environment: - OPENCTI_URL=http://opencti:8080 - OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN} + - CONNECTOR_AUTO_CREATE_SERVICE_ACCOUNT=true # Runs with its own service account, created with the token above - CONNECTOR_ID=${CONNECTOR_IMPORT_FILE_STIX_ID} # Valid UUIDv4 - CONNECTOR_TYPE=INTERNAL_IMPORT_FILE - CONNECTOR_NAME=ImportFileStix @@ -260,6 +267,7 @@ services: environment: - OPENCTI_URL=http://opencti:8080 - OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN} + - CONNECTOR_AUTO_CREATE_SERVICE_ACCOUNT=true # Runs with its own service account, created with the token above - CONNECTOR_ID=${CONNECTOR_IMPORT_DOCUMENT_ID} # Valid UUIDv4 - CONNECTOR_TYPE=INTERNAL_IMPORT_FILE - CONNECTOR_NAME=ImportDocument @@ -277,6 +285,7 @@ services: environment: - OPENCTI_URL=http://opencti:8080 - OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN} + - CONNECTOR_AUTO_CREATE_SERVICE_ACCOUNT=true # Runs with its own service account, created with the token above - CONNECTOR_ID=${CONNECTOR_IMPORT_FILE_YARA_ID} # Valid UUIDv4 - CONNECTOR_NAME=ImportFileYARA - CONNECTOR_VALIDATE_BEFORE_IMPORT=true # Validate any bundle before import @@ -292,6 +301,7 @@ services: environment: - OPENCTI_URL=http://opencti:8080 - OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN} + - CONNECTOR_AUTO_CREATE_SERVICE_ACCOUNT=true # Runs with its own service account, created with the token above - CONNECTOR_ID=${CONNECTOR_ANALYSIS_ID} # Valid UUIDv4 - CONNECTOR_TYPE=INTERNAL_ANALYSIS - CONNECTOR_NAME=ImportDocumentAnalysis @@ -308,6 +318,7 @@ services: environment: - OPENCTI_URL=http://opencti:8080 - OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN} + - CONNECTOR_AUTO_CREATE_SERVICE_ACCOUNT=true # Runs with its own service account, created with the token above - CONNECTOR_ID=${CONNECTOR_IMPORT_EXTERNAL_REFERENCE_ID} - CONNECTOR_NAME=ImportExternalReference restart: always From 1625857cf95ac0df7034d21036afe38e1d0686e5 Mon Sep 17 00:00:00 2001 From: Cathia Archidoit Date: Tue, 24 Nov 2026 11:49:29 +0100 Subject: [PATCH 2/4] fix(compose): set the confidence level of the import and analysis connectors The import and analysis connectors create their own service account, with the pycti default max_confidence of 50 when the level is not set. They ran with the admin token before, so at 100: set 100 explicitly, as connector-opencti does. The level applies when no user asks for the work, such as enrichment (ImportExternalReference) and analysis (ImportDocumentAnalysis): a file import started by a user still runs with that user's confidence. Co-Authored-By: Claude Opus 5.5 --- docker-compose.opensearch.yml | 5 +++++ docker-compose.yml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/docker-compose.opensearch.yml b/docker-compose.opensearch.yml index ac907659..8023926e 100644 --- a/docker-compose.opensearch.yml +++ b/docker-compose.opensearch.yml @@ -238,6 +238,7 @@ services: - OPENCTI_URL=http://opencti:8080 - OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN} - CONNECTOR_AUTO_CREATE_SERVICE_ACCOUNT=true # Runs with its own service account, created with the token above + - CONNECTOR_AUTO_CREATE_SERVICE_ACCOUNT_CONFIDENCE_LEVEL=100 - CONNECTOR_ID=${CONNECTOR_IMPORT_FILE_STIX_ID} # Valid UUIDv4 - CONNECTOR_TYPE=INTERNAL_IMPORT_FILE - CONNECTOR_NAME=ImportFileStix @@ -254,6 +255,7 @@ services: - OPENCTI_URL=http://opencti:8080 - OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN} - CONNECTOR_AUTO_CREATE_SERVICE_ACCOUNT=true # Runs with its own service account, created with the token above + - CONNECTOR_AUTO_CREATE_SERVICE_ACCOUNT_CONFIDENCE_LEVEL=100 - CONNECTOR_ID=${CONNECTOR_IMPORT_DOCUMENT_ID} # Valid UUIDv4 - CONNECTOR_TYPE=INTERNAL_IMPORT_FILE - CONNECTOR_NAME=ImportDocument @@ -272,6 +274,7 @@ services: - OPENCTI_URL=http://opencti:8080 - OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN} - CONNECTOR_AUTO_CREATE_SERVICE_ACCOUNT=true # Runs with its own service account, created with the token above + - CONNECTOR_AUTO_CREATE_SERVICE_ACCOUNT_CONFIDENCE_LEVEL=100 - CONNECTOR_ID=${CONNECTOR_IMPORT_FILE_YARA_ID} # Valid UUIDv4 - CONNECTOR_NAME=ImportFileYARA - CONNECTOR_VALIDATE_BEFORE_IMPORT=true # Validate any bundle before import @@ -288,6 +291,7 @@ services: - OPENCTI_URL=http://opencti:8080 - OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN} - CONNECTOR_AUTO_CREATE_SERVICE_ACCOUNT=true # Runs with its own service account, created with the token above + - CONNECTOR_AUTO_CREATE_SERVICE_ACCOUNT_CONFIDENCE_LEVEL=100 - CONNECTOR_ID=${CONNECTOR_ANALYSIS_ID} # Valid UUIDv4 - CONNECTOR_TYPE=INTERNAL_ANALYSIS - CONNECTOR_NAME=ImportDocumentAnalysis @@ -305,6 +309,7 @@ services: - OPENCTI_URL=http://opencti:8080 - OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN} - CONNECTOR_AUTO_CREATE_SERVICE_ACCOUNT=true # Runs with its own service account, created with the token above + - CONNECTOR_AUTO_CREATE_SERVICE_ACCOUNT_CONFIDENCE_LEVEL=100 - CONNECTOR_ID=${CONNECTOR_IMPORT_EXTERNAL_REFERENCE_ID} - CONNECTOR_NAME=ImportExternalReference restart: always diff --git a/docker-compose.yml b/docker-compose.yml index dfeae095..f876cab4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -252,6 +252,7 @@ services: - OPENCTI_URL=http://opencti:8080 - OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN} - CONNECTOR_AUTO_CREATE_SERVICE_ACCOUNT=true # Runs with its own service account, created with the token above + - CONNECTOR_AUTO_CREATE_SERVICE_ACCOUNT_CONFIDENCE_LEVEL=100 - CONNECTOR_ID=${CONNECTOR_IMPORT_FILE_STIX_ID} # Valid UUIDv4 - CONNECTOR_TYPE=INTERNAL_IMPORT_FILE - CONNECTOR_NAME=ImportFileStix @@ -268,6 +269,7 @@ services: - OPENCTI_URL=http://opencti:8080 - OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN} - CONNECTOR_AUTO_CREATE_SERVICE_ACCOUNT=true # Runs with its own service account, created with the token above + - CONNECTOR_AUTO_CREATE_SERVICE_ACCOUNT_CONFIDENCE_LEVEL=100 - CONNECTOR_ID=${CONNECTOR_IMPORT_DOCUMENT_ID} # Valid UUIDv4 - CONNECTOR_TYPE=INTERNAL_IMPORT_FILE - CONNECTOR_NAME=ImportDocument @@ -286,6 +288,7 @@ services: - OPENCTI_URL=http://opencti:8080 - OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN} - CONNECTOR_AUTO_CREATE_SERVICE_ACCOUNT=true # Runs with its own service account, created with the token above + - CONNECTOR_AUTO_CREATE_SERVICE_ACCOUNT_CONFIDENCE_LEVEL=100 - CONNECTOR_ID=${CONNECTOR_IMPORT_FILE_YARA_ID} # Valid UUIDv4 - CONNECTOR_NAME=ImportFileYARA - CONNECTOR_VALIDATE_BEFORE_IMPORT=true # Validate any bundle before import @@ -302,6 +305,7 @@ services: - OPENCTI_URL=http://opencti:8080 - OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN} - CONNECTOR_AUTO_CREATE_SERVICE_ACCOUNT=true # Runs with its own service account, created with the token above + - CONNECTOR_AUTO_CREATE_SERVICE_ACCOUNT_CONFIDENCE_LEVEL=100 - CONNECTOR_ID=${CONNECTOR_ANALYSIS_ID} # Valid UUIDv4 - CONNECTOR_TYPE=INTERNAL_ANALYSIS - CONNECTOR_NAME=ImportDocumentAnalysis @@ -319,6 +323,7 @@ services: - OPENCTI_URL=http://opencti:8080 - OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN} - CONNECTOR_AUTO_CREATE_SERVICE_ACCOUNT=true # Runs with its own service account, created with the token above + - CONNECTOR_AUTO_CREATE_SERVICE_ACCOUNT_CONFIDENCE_LEVEL=100 - CONNECTOR_ID=${CONNECTOR_IMPORT_EXTERNAL_REFERENCE_ID} - CONNECTOR_NAME=ImportExternalReference restart: always From 8e701e42861c15431380e75bdd80648ce8c23671 Mon Sep 17 00:00:00 2001 From: Cathia Archidoit Date: Tue, 24 Nov 2026 11:59:56 +0100 Subject: [PATCH 3/4] docs(env): note the Connectors group the service accounts depend on pycti creates the service account of a connector only when a group named exactly "Connectors" exists. When it was renamed or deleted, the connector silently keeps OPENCTI_ADMIN_TOKEN and its ingestion health shows "User is not a service account" again. Co-Authored-By: Claude Opus 5.5 --- .env.sample | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.env.sample b/.env.sample index 587ef7c6..fb9037d4 100644 --- a/.env.sample +++ b/.env.sample @@ -55,7 +55,9 @@ CONNECTOR_ANALYSIS_ID=4dffd77c-ec11-4abe-bca7-fd997f79fa36 # 1. in Settings > Security > Users, create a service account (such as `[C] ExportFileStix2`) in the Administrators group; # 2. generate a token for it, set it below, and run `docker compose up -d`. # When not set, the connector runs with OPENCTI_ADMIN_TOKEN: exports work, but the ingestion health -# of the connector shows "User is not a service account". The other connectors create their own service account. +# of the connector shows "User is not a service account". The other connectors create their own service account +# in the `Connectors` group: if this group is renamed or deleted, they silently run with OPENCTI_ADMIN_TOKEN +# and show the same status. CONNECTOR_EXPORT_FILE_STIX_TOKEN= CONNECTOR_EXPORT_FILE_CSV_TOKEN= CONNECTOR_EXPORT_FILE_TXT_TOKEN= From 60d8727d1de38b4693599dc0d25ca095ce5d271d Mon Sep 17 00:00:00 2001 From: Cathia Archidoit Date: Tue, 24 Nov 2026 12:12:56 +0100 Subject: [PATCH 4/4] docs(compose): address review comments on the export connector tokens Co-Authored-By: Claude Opus 5.5 --- .env.sample | 2 +- docker-compose.opensearch.yml | 6 +++--- docker-compose.yml | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.env.sample b/.env.sample index fb9037d4..642f487d 100644 --- a/.env.sample +++ b/.env.sample @@ -52,7 +52,7 @@ CONNECTOR_ANALYSIS_ID=4dffd77c-ec11-4abe-bca7-fd997f79fa36 # Tokens of the export connectors. An export connector impersonates the user requesting the export, # so it needs a service account in a group with the "Bypass all capabilities" capability. # Once OpenCTI is up, for each export connector: -# 1. in Settings > Security > Users, create a service account (such as `[C] ExportFileStix2`) in the Administrators group; +# 1. in Settings > Security > Users, create a service account (such as `[C] ExportFileStix2`) in a group with the "Bypass all capabilities" capability (such as Administrators); # 2. generate a token for it, set it below, and run `docker compose up -d`. # When not set, the connector runs with OPENCTI_ADMIN_TOKEN: exports work, but the ingestion health # of the connector shows "User is not a service account". The other connectors create their own service account diff --git a/docker-compose.opensearch.yml b/docker-compose.opensearch.yml index 8023926e..5937d9ff 100644 --- a/docker-compose.opensearch.yml +++ b/docker-compose.opensearch.yml @@ -192,7 +192,7 @@ services: environment: - OPENCTI_URL=http://opencti:8080 # Token of a service account in a group with the "Bypass all capabilities" capability, such as Administrators: - # an export connector impersonates the user requesting the export. Falls back to the admin token when not set + # an export connector impersonates the user requesting the export. Falls back to the admin token when not set. - OPENCTI_TOKEN=${CONNECTOR_EXPORT_FILE_STIX_TOKEN:-${OPENCTI_ADMIN_TOKEN}} - CONNECTOR_ID=${CONNECTOR_EXPORT_FILE_STIX_ID} # Valid UUIDv4 - CONNECTOR_TYPE=INTERNAL_EXPORT_FILE @@ -207,7 +207,7 @@ services: environment: - OPENCTI_URL=http://opencti:8080 # Token of a service account in a group with the "Bypass all capabilities" capability, such as Administrators: - # an export connector impersonates the user requesting the export. Falls back to the admin token when not set + # an export connector impersonates the user requesting the export. Falls back to the admin token when not set. - OPENCTI_TOKEN=${CONNECTOR_EXPORT_FILE_CSV_TOKEN:-${OPENCTI_ADMIN_TOKEN}} - CONNECTOR_ID=${CONNECTOR_EXPORT_FILE_CSV_ID} # Valid UUIDv4 - CONNECTOR_TYPE=INTERNAL_EXPORT_FILE @@ -222,7 +222,7 @@ services: environment: - OPENCTI_URL=http://opencti:8080 # Token of a service account in a group with the "Bypass all capabilities" capability, such as Administrators: - # an export connector impersonates the user requesting the export. Falls back to the admin token when not set + # an export connector impersonates the user requesting the export. Falls back to the admin token when not set. - OPENCTI_TOKEN=${CONNECTOR_EXPORT_FILE_TXT_TOKEN:-${OPENCTI_ADMIN_TOKEN}} - CONNECTOR_ID=${CONNECTOR_EXPORT_FILE_TXT_ID} # Valid UUIDv4 - CONNECTOR_TYPE=INTERNAL_EXPORT_FILE diff --git a/docker-compose.yml b/docker-compose.yml index f876cab4..90367439 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -206,7 +206,7 @@ services: environment: - OPENCTI_URL=http://opencti:8080 # Token of a service account in a group with the "Bypass all capabilities" capability, such as Administrators: - # an export connector impersonates the user requesting the export. Falls back to the admin token when not set + # an export connector impersonates the user requesting the export. Falls back to the admin token when not set. - OPENCTI_TOKEN=${CONNECTOR_EXPORT_FILE_STIX_TOKEN:-${OPENCTI_ADMIN_TOKEN}} - CONNECTOR_ID=${CONNECTOR_EXPORT_FILE_STIX_ID} # Valid UUIDv4 - CONNECTOR_TYPE=INTERNAL_EXPORT_FILE @@ -221,7 +221,7 @@ services: environment: - OPENCTI_URL=http://opencti:8080 # Token of a service account in a group with the "Bypass all capabilities" capability, such as Administrators: - # an export connector impersonates the user requesting the export. Falls back to the admin token when not set + # an export connector impersonates the user requesting the export. Falls back to the admin token when not set. - OPENCTI_TOKEN=${CONNECTOR_EXPORT_FILE_CSV_TOKEN:-${OPENCTI_ADMIN_TOKEN}} - CONNECTOR_ID=${CONNECTOR_EXPORT_FILE_CSV_ID} # Valid UUIDv4 - CONNECTOR_TYPE=INTERNAL_EXPORT_FILE @@ -236,7 +236,7 @@ services: environment: - OPENCTI_URL=http://opencti:8080 # Token of a service account in a group with the "Bypass all capabilities" capability, such as Administrators: - # an export connector impersonates the user requesting the export. Falls back to the admin token when not set + # an export connector impersonates the user requesting the export. Falls back to the admin token when not set. - OPENCTI_TOKEN=${CONNECTOR_EXPORT_FILE_TXT_TOKEN:-${OPENCTI_ADMIN_TOKEN}} - CONNECTOR_ID=${CONNECTOR_EXPORT_FILE_TXT_ID} # Valid UUIDv4 - CONNECTOR_TYPE=INTERNAL_EXPORT_FILE