Ingest kit for Cloudflare: one front door for whatever you send down it

Status: in development. Nothing here is released or deployed, and no stack has been applied to a real Cloudflare account.

The Ingest kit is the single, secure entry point for events. It converts what arrives to the common record shape and stores it. It is the first kit most people would deploy.

Purpose

Security data arrives from many places in many shapes. Ingest gives it one door and one set of rules: authenticate the sender, cap the size, convert to the record envelope, remove secrets, apply privacy rules, and store. Rejected events are stored separately with the reasons, so nothing disappears silently. The concept page describes the record.

What exists today

All six entry patterns on the entry patterns page are in the code, and each has its own tests. Only Cloudflare logs through Logpush answers by default. The setting ENABLED_ENTRIES turns on the signed webhook, the keyed batch and the shared-secret header; a pattern that is not switched on answers 404. The service-binding pattern has no web address: it exists when another Worker binds to the kit's IngestWrite entrypoint. The scheduled pull has none either: the Worker's own timer runs it.

Four Logpush datasets are handled: firewall_events, http_requests (security and bot fields only), dns_logs and audit_logs. Only the firewall events source is marked live; the others are declared as planned, so the health check does not judge them.

Beyond the doors, the kit has a read-only query server for agents and people, and an hourly health check. These are described below. None of it has run against a real account: the tests run it locally and in the Workers runtime, and the Cloudflare resources are read from the stack's code.

What it deploys for Cloudflare

The kit's stack never creates a queue. It can bind the Worker to the Queue edge-response-records-tap, which the Detect kit's stack creates because Detect reads it. This is off unless EDGE_RESPONSE_RECORDS_TAP=1 is set, and Detect is deployed first.

This list is what the kit's stack declares. How Cloudflare accepts the Basin resources is not yet proven.

HTTP routes

How a person approves things

Ingest changes nothing on your Cloudflare account and has nothing to approve. A person mints a source key, which is a step taken by hand: the secret is shown once and only its digest is stored. The other doors need a secret or an Access application that a person sets up.

Stop switches

Ingest has no stop switch of its own. You stop it by revoking its source keys, or by removing the Logpush job. Whether anything beyond storing happens is decided downstream, by the admission matrix in Detect.

Peers

All optional, all off by default. Ingest can pass batches of records to Detect by the edge-response-records-tap queue, which Detect's stack creates; deploy Detect first, then Ingest with the tap switched on. Without Detect it stores only.