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

Tune feeds and streams

The platform settings that control OpenCTI feeds and streams, such as the polling interval, the URI deny list, request timeouts and per-feed limits.

OpenCTIFor platform engineers, administrators and CTI team leads

This page lists the platform settings that change how the built-in feeds, TAXII push collections and OpenCTI streams run: which URLs they may call, how often they poll, how long they wait and how much they accept. They are configuration keys of the platform, not settings of a feed, so an administrator sets them for every feed at once. Each key has an environment variable, its name in upper case with __ between levels: set it in Docker, or set the key in config/production.json. The configuration reference lists every key of your version.

SOURCESMANAGERSPROCESSINGSTORAGETAXII serversPaged by a request limitRSS sitesFetched with a user agentCSV and JSONAt least 5 minutes apartRemote OpenCTIOpenCTI streamsIngestion managerRefuses denied URIsSync managerFollows remote streamsWorkersWrite the bundlesKnowledgeElasticsearch
  1. TAXII servers → Ingestion manager: poll
  2. RSS sites → Ingestion manager: fetch
  3. CSV and JSON → Ingestion manager: fetch
  4. Remote OpenCTI → Sync manager: stream
  5. Ingestion manager → Workers: bundles
  6. Sync manager → Workers: bundles
  7. Workers → Knowledge: write
Which manager fetches each kind of feed, and where the data goes

URI deny list

New in 7.260811 LTS The deny list stops feeds from calling hosts you do not want the platform to reach, such as internal services. It applies to OpenCTI streams and to TAXII, RSS, CSV and JSON feeds. Creating a feed, changing its URL or testing it with a denied URL fails with This URI is not allowed for ingestion. The same list also restricts the URL of webhook notifiers.

KeyEnvironment variableDefault
app:uri_deny_listAPP__URI_DENY_LIST[]
ingestion_manager:uri_deny_listINGESTION_MANAGER__URI_DENY_LISTnone

The platform combines both lists. Each holds host patterns, as a JSON array in the environment variable:

APP__URI_DENY_LIST='["internal-service.local","*.corp.internal","localhost:4200"]'
PatternDenies
mydomain.comAny URL on that host, whatever its port
*.mydomain.comEvery subdomain of mydomain.com, and mydomain.com itself
localhost:4200That host on that port only

Matching ignores case. A JSON feed also checks the URL after it puts its variables in, and each next link it follows, so a variable cannot hide a denied host.

Ingestion manager

The ingestion manager polls the TAXII, RSS, CSV and JSON feeds.

KeyEnvironment variableDefaultEffect
ingestion_manager:enabledINGESTION_MANAGER__ENABLEDtrueTurns the polling of every feed on or off
ingestion_manager:intervalINGESTION_MANAGER__INTERVAL30000Time between two checks of the running feeds, in milliseconds. A feed's Schedule period can only make it run less often
ingestion_manager:lock_keyINGESTION_MANAGER__LOCK_KEYingestion_manager_lockRedis lock that lets only one platform node poll at a time
New in 7.260811 LTS
KeyEnvironment variableDefaultEffect
ingestion_manager:feed:request_timeoutINGESTION_MANAGER__FEED__REQUEST_TIMEOUT300000Time a feed waits for the source to answer, in milliseconds

TAXII feeds

KeyEnvironment variableDefaultEffect
ingestion_manager:taxii_feed:limit_per_requestINGESTION_MANAGER__TAXII_FEED__LIMIT_PER_REQUEST0Maximum number of objects asked for in one poll. 0 sends no limit, so the server decides

Set a limit when a server times out or sends answers too large to process. The feed then pages through the collection, one poll at a time.

TAXII push

KeyEnvironment variableDefaultEffect
app:max_payload_body_sizeAPP__MAX_PAYLOAD_BODY_SIZE50mbLargest request body the platform accepts, on its API and on the TAXII push collections. A larger push is refused

Raise it when partners push large bundles in one request, and check that your reverse proxy accepts the same size.

RSS feeds

KeyEnvironment variableDefaultEffect
ingestion_manager:rss_feed:min_interval_minutesINGESTION_MANAGER__RSS_FEED__MIN_INTERVAL_MINUTES5Minimum time between two fetches of the same RSS feed, in minutes, also after a failure
ingestion_manager:rss_feed:user_agentINGESTION_MANAGER__RSS_FEED__USER_AGENTA Firefox user agentUser-Agent header sent to RSS sources

The default user agent is a browser one, because some sites reject other clients. Change it if a site still refuses the platform's requests.

CSV feeds

KeyEnvironment variableDefaultEffect
ingestion_manager:csv_feed:min_interval_minutesINGESTION_MANAGER__CSV_FEED__MIN_INTERVAL_MINUTES5Minimum time between two fetches of the same CSV feed, in minutes, also after a failure
app:csv_ingestion:max_bundle_sizeAPP__CSV_INGESTION__MAX_BUNDLE_SIZE1000Maximum number of objects in each bundle a CSV import sends to the workers

OpenCTI streams

The sync manager follows the remote streams of OpenCTI streams.

KeyEnvironment variableDefaultEffect
sync_manager:enabledSYNC_MANAGER__ENABLEDtrueTurns every OpenCTI stream on or off
sync_manager:intervalSYNC_MANAGER__INTERVAL10000Time between two checks for streams to start or stop, in milliseconds
sync_manager:lock_keySYNC_MANAGER__LOCK_KEYsync_manager_lockRedis lock that lets only one platform node run the streams
New in 7.260811 LTS
KeyEnvironment variableDefaultEffect
sync_manager:file_fetch_timeoutSYNC_MANAGER__FILE_FETCH_TIMEOUT300000Time to download a file attached to a streamed object, in milliseconds

What's next

NextImport from files
OpenCTI
Cyber threat intelligence as a knowledge graph: ingest, analyze, automate, share.

Published

Overview