Compliance Data Flow
System Data Flow
┌──────────────────────────────────────────────────────────────────────────────┐
│ EDDI Platform │
│ │
│ ┌──────────┐ ┌────────────────┐ ┌──────────────────────────────────┐ │
│ │ Keycloak │───▶│ REST API / │───▶│ Conversation Pipeline │ │
│ │ (OIDC) │ │ SSE / MCP │ │ │ │
│ │ │ │ │ │ Input → Parser → Behavior Rules │ │
│ │ JWT auth │ │ TLS required │ │ → LLM Task → Output Generation │ │
│ └──────────┘ └────────────────┘ └──────────┬───────────────────────┘ │
│ │ │
│ ┌──────────────────────────────┼──────────────────┐ │
│ │ │ │ │ │
│ ┌─────▼─────┐ ┌─────▼────┐ ┌──────▼──────┐ ┌───────▼────┐ │
│ │ Conversa- │ │ User │ │ Audit │ │ Secrets │ │
│ │ tion │ │ Memory │ │ Ledger │ │ Vault │ │
│ │ Memory │ │ Store │ │ │ │ │ │
│ │ │ │ │ │ HMAC-signed│ │ AES-256-GCM│ │
│ │ PII: Yes │ │ PII: Yes │ │ Write-once │ │ Envelope │ │
│ │ Encrypted:│ │ Encrypted│ │ PII: Yes** │ │ encryption │ │
│ │ TDE* │ │ TDE* │ │ Encrypted: │ │ │ │
│ │ │ │ │ │ TDE* │ │ PII: No │ │
│ └─────┬─────┘ └─────┬───┘ └──────┬──────┘ └────────────┘ │
│ │ │ │ │
│ └─────────────┼──────────────┘ │
│ │ │
│ ┌──────▼──────┐ │
│ │ MongoDB / │ │
│ │ PostgreSQL │ │
│ │ │ │
│ │ TDE* = DB- │ │
│ │ level │ │
│ │ encryption │ │
│ └─────────────┘ │
│ │
│ ** Audit userId is pseudonymized on GDPR erasure │
└──────────────────────────────┬────────────────────────────────────────────┘
│
│ HTTPS (conversation content)
│ Only when LLM Task executes
▼
┌──────────────────────┐
│ LLM Provider │
│ │
│ Receives: │
│ • User message │
│ • Chat history │
│ • System prompt │
│ │
│ Does NOT receive: │
│ • User IDs │
│ • API keys │
│ • Other sessions │
└──────────────────────┘Data Store Inventory
Data Store
Contains PII
Encryption
Retention
Deletable
Regulatory Notes
PII Lifecycle
Encryption Summary
Layer
Mechanism
Managed By
Covers
GDPR Erasure Cascade
See Also
Last updated
Was this helpful?