# 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.

- URL: https://filigran.io/docs/lts/7.260309-lts/opencti/use/ingest/feed-options/
- Products: OpenCTI 7.260309.0-lts.8
- OpenCTI line: 7.260309 LTS · 7.260309.0-lts.8
- For: platform engineers, administrators, CTI team leads
- Type: Reference

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](https://filigran.io/docs/lts/7.260309-lts/reference/opencti/configuration/#engines-schedules-and-managers) lists every key of your version.

**Diagram: Which manager fetches each kind of feed, and where the data goes**

- Sources: TAXII servers (Paged by a request limit), RSS sites (Fetched with a user agent), CSV and JSON (At least 5 minutes apart), Remote OpenCTI (OpenCTI streams)
- Managers: Ingestion manager (Refuses denied URIs), Sync manager (Follows remote streams)
- Processing: Workers (Write the bundles)
- Storage: Knowledge (Elasticsearch)

Connections:

- 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 {#uri-deny-list}

*(OpenCTI before 7.260811)*

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

## Ingestion manager {#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 {#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 {#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 {#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 {#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 {#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 {#what-s-next}

- [How intelligence gets into OpenCTI](https://filigran.io/docs/lts/7.260309-lts/opencti/use/ingest/), for how feeds use these settings.
- [OpenCTI configuration](https://filigran.io/docs/lts/7.260309-lts/reference/opencti/configuration/), for every configuration key.
