| Org settings | Control plane Postgres org row | Trust enforcement, anomaly enforcement, PII detection thresholds, tokenization TTL, audit retention, image DLP toggle, LLM egress mode, intelligence sharing. |
| Sources and credentials | Connection metadata: control plane. Secrets: your env vars or vault. | Postgres, MySQL, MongoDB, S3 plus LLM vendor keys (Anthropic, OpenAI, Gemini). Proxy re-reads at startup. |
| Data contracts | Control plane data_contract table | Active plus draft plus deprecated plus retired versions. Bumping the proxy does not touch this table. |
| Policies and custom rules | Control plane policy, pii_custom_recognizer, and llm_custom_rule tables | Per-source role times column matrix, operator-authored regex patterns (data side and LLM egress side). |
| Agents, keys, kill switches | Control plane api_key and kill_switch tables | Per-key role, IP allowlist, signing-enrolled state, kill switches with reasons and expiry. |
| Audit data | Control plane Postgres (audit_rollup, column_access_rollup, column_denial_rollup) | Append-only at the DB level. Configurable retention per org. Operator-deletable via the retention cron only; no other code path can mutate audit rows. |
| Threats, anomalies, recommendations | Control plane tables | Triage state, dismissals, evidence payloads, accepted/dismissed status all preserved. |
| Trust scores | Control plane trust_score plus 30-day history | Current composite and component scores plus the rolling change log. |
| Blueprints and notifications | Control plane tables | Applied blueprint history with snapshot bodies. Notification channels (Slack, PagerDuty, email, SIEM sinks) plus their consecutive-failure counters. |
| Token store | YOUR Postgres (DATADAM_TOKEN_STORE_URL). Lives in your network, not the proxy filesystem. | Reversible token map for tokenize mode. Encrypted at rest with per-source AES-256-GCM. Proxy upgrade does not touch this DB. |