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

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

This version has no URI deny list: restrict the hosts the platform can reach with your network rules.

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

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

What's next

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

Published

Overview