Skip to content

Centinel

If your organization uses Centinel Analytica for bot protection, EdgeKit can ask Centinel about a request and hand the answer to your canvas rules as centinel.* facts. EdgeKit adds no rule of its own: what a blocked request or an AI crawler gets is whatever your rules say. The same answer also labels your analytics events.

Your Centinel secret key. Centinel issues keys per organization, so one key covers all your sites; for a policy that differs by site, use Centinel’s own hostname rules. EdgeKit keeps the key with your organization’s other secrets and never shows it back.

Save it in Delivery › Configuration › Bot detection. EdgeKit sends Centinel one test request and refuses a key Centinel rejects. Saving redeploys your organization, which takes a few minutes. Until then the facts are unavailable.

Two things on your side:

  1. Add Centinel’s browser tag to your pages. It sets the _centinel cookie, which EdgeKit passes on with every request it sends Centinel.
  2. Ask Centinel to turn on crawler metadata (validate_response_include_crawler) for your organization. Without it, centinel.crawler.* never has a value.
Fact Type Value
centinel.decision enum allow, block, redirect or not_matched
centinel.status_code number The HTTP status Centinel would have you answer
centinel.block_reasons string[] The signals behind a block, such as datacenter_ip. Centinel adds new ones over time
centinel.block_reason_categories string[] bot_identity, automated_browser, header_anomaly, fingerprint_mismatch, suspicious_network, challenge_failure, crawler_impersonator or unknown
centinel.rate_limited boolean Whether one of your Centinel rate limits matched
centinel.retry_after number Seconds, when rate limited
centinel.country_code string The request’s country, when Centinel sends it
centinel.crawler.id string The crawler’s id in Centinel’s catalogue
centinel.crawler.name string Such as GPTBot
centinel.crawler.access_allowed boolean true only for a verified crawler on your Centinel allowlist
centinel.crawler.category string Centinel’s catalogue category, such as AI Training
centinel.crawler.rsl_category string Centinel’s licensing category, such as ai-train

They describe the request, never the user: a crawler is a device like any other. Their trust tier is EdgeKit, and no outcome can show their value to the browser. centinel.crawler.* has a value only when Centinel identifies a known crawler, so test it with exists.

Without the key, the canvas builder lists the facts but you cannot pick one, and stage refuses a feature that reads one with centinel.fact_without_key. An operational feature cannot read them at all.

EdgeKit asks Centinel only when the request reaches a canvas that reads a centinel.* fact, once per decide request, and waits at most 300 ms.

Centinel checks a crawler by its IP address, so EdgeKit sends Centinel only an address no request can forge:

  • your site proxy’s signed address, when the site proxy holds EDGEKIT_CLIENT_IP_KEY;
  • otherwise, the address that connected to EdgeKit.

A forwarded address such as X-Forwarded-For is never used as the address: it is whatever the sender wrote, and a forged search-engine address would pass Centinel’s check and every crawler rule you have.

With no verdict, centinel.* has no value, and that is an error: the rule reading it does not hold, and if no other rule holds, the canvas answers its error outcome. That happens with no key, a Centinel answer slower than 300 ms, or a request Centinel refuses. To let requests through whenever Centinel cannot answer, make the error outcome your open one.

Two limits:

  • Behind anything that does not sign the user’s address, such as another CDN, a reverse proxy or a site proxy without EDGEKIT_CLIENT_IP_KEY, the connecting address is its own. Centinel reads it as a datacenter and blocks everyone behind it.
  • Through the site proxy, decide receives only a few of the user’s headers, so Centinel judges on fewer signals.

The same fields Centinel’s own integration sends:

  • The page’s URL, its referrer, the address and the request method.
  • The request’s headers, except Cookie, Authorization, X-Api-Key and EdgeKit’s own x-edgekit-* headers.
  • The _centinel cookie’s value, and no other cookie.

EdgeKit never serves Centinel’s challenge or block page and never sets its cookies. A redirect or a block is a value your rules test, nothing more.

The collector asks Centinel about each request it receives and attaches the answer to every event in that request, as the com.centinelanalytica/validate entity (iglu:com.centinelanalytica/validate/jsonschema/1-0-0) with the same fields as the facts. It is one of EdgeKit’s own schemas in Analytics › Configuration › Schemas; you publish nothing. When Centinel cannot answer, the events arrive without the entity and none is dropped. Events your site proxy forwards arrive without it too: the collector cannot check the proxy’s signature, so it has no user’s address to send.

The bot verdict in cloud.edgekit/request stays on every event. The two verdicts are separate and nothing combines them: you pick the one that fits each report. Forwarders receive the entity with the rest of the event. The export schema does not include it.

Centinel bills each call it answers:

  • one per decide request that reaches a rule reading centinel.*;
  • one per request the collector receives, page pings included;
  • plus your own Centinel integration’s calls, if you also run one at your edge.

edgekit.ai