# Connectors, Webhooks & Event Ingestion

OpenOps connects to your stack through a typed **Connector Registry** where every integration explicitly declares its readiness (`verified`, `available`, `planned`, or `disabled`), required read/write/verify scopes, rate limits, and sandbox support.

## Core Launch Connectors

| Connector | Capabilities | Security & Verification |
|---|---|---|
| **GitHub App / Webhooks** | Ingest workflow run failures, triage recurring CI errors, dispatch approved engineering-owner notifications or bounded re-runs | HMAC-SHA256 `X-Hub-Signature-256` verification; never performs unauthorized source edits or production deploys |
| **Generic Signed Webhooks** | Ingest operational events from any app, worker, or queue; trigger safe idempotent webhook redelivery | `X-OpenOps-Signature` (HMAC-SHA256) + `X-OpenOps-Timestamp` 5-minute replay window |
| **HTTP Health Probes** | Scheduled and on-demand HTTPS liveness/readiness probes with response-time and payload assertions | Strict SSRF protection (HTTPS-only, blocks private/loopback/link-local addresses and unsafe redirects) |
| **Open Group Ecosystem** | Scoped adapters for verified Open Group services (such as OpenAgents, OpenHost, OpenAudit, OpenAccount, OpenSupport, OpenOrder, OpenInvoice, OpenCRM, OpenEdge, OpenJobs) | Scoped API/OAuth tokens only; each service displays its actual live availability status |

## Typed Event Envelope & Reliability

All inbound events are normalized into a versioned `openops.event.v1` envelope carrying tenant, environment, source, subject, event type, timestamp, correlation ID, trace ID, idempotency key, and redacted attributes:
- **Deduplication:** Duplicate deliveries with the same `idempotency_key` are safely ignored without duplicating recovery actions.
- **Out-of-Order Protection:** Late events are recorded for audit without corrupting newer verified states.
- **Rotation & Revocation:** Rotate or revoke any connector credential from **Connect**; revoked connectors immediately halt all queued and future actions.
