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.
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.
- TAXII servers → Ingestion manager: poll
- RSS sites → Ingestion manager: fetch
- CSV and JSON → Ingestion manager: fetch
- Remote OpenCTI → Sync manager: stream
- Ingestion manager → Workers: bundles
- Sync manager → Workers: bundles
- Workers → Knowledge: write
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.
| Key | Environment variable | Default | Effect |
|---|---|---|---|
ingestion_manager:enabled | INGESTION_MANAGER__ENABLED | true | Turns the polling of every feed on or off |
ingestion_manager:interval | INGESTION_MANAGER__INTERVAL | 30000 | Time between two checks of the running feeds, in milliseconds. A feed's Schedule period can only make it run less often |
ingestion_manager:lock_key | INGESTION_MANAGER__LOCK_KEY | ingestion_manager_lock | Redis lock that lets only one platform node poll at a time |
TAXII feeds
| Key | Environment variable | Default | Effect |
|---|---|---|---|
ingestion_manager:taxii_feed:limit_per_request | INGESTION_MANAGER__TAXII_FEED__LIMIT_PER_REQUEST | 0 | Maximum 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
| Key | Environment variable | Default | Effect |
|---|---|---|---|
app:max_payload_body_size | APP__MAX_PAYLOAD_BODY_SIZE | 50mb | Largest 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
| Key | Environment variable | Default | Effect |
|---|---|---|---|
ingestion_manager:rss_feed:min_interval_minutes | INGESTION_MANAGER__RSS_FEED__MIN_INTERVAL_MINUTES | 5 | Minimum time between two fetches of the same RSS feed, in minutes, also after a failure |
ingestion_manager:rss_feed:user_agent | INGESTION_MANAGER__RSS_FEED__USER_AGENT | A Firefox user agent | User-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
| Key | Environment variable | Default | Effect |
|---|---|---|---|
ingestion_manager:csv_feed:min_interval_minutes | INGESTION_MANAGER__CSV_FEED__MIN_INTERVAL_MINUTES | 5 | Minimum time between two fetches of the same CSV feed, in minutes, also after a failure |
app:csv_ingestion:max_bundle_size | APP__CSV_INGESTION__MAX_BUNDLE_SIZE | 1000 | Maximum 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.
| Key | Environment variable | Default | Effect |
|---|---|---|---|
sync_manager:enabled | SYNC_MANAGER__ENABLED | true | Turns every OpenCTI stream on or off |
sync_manager:interval | SYNC_MANAGER__INTERVAL | 10000 | Time between two checks for streams to start or stop, in milliseconds |
sync_manager:lock_key | SYNC_MANAGER__LOCK_KEY | sync_manager_lock | Redis lock that lets only one platform node run the streams |
What's next
- How intelligence gets into OpenCTI, for how feeds use these settings.
- OpenCTI configuration, for every configuration key.