Diagram Comparison
Comparison of different diagramming methods: Mermaid (inline, interactive) vs. Python diagrams library (generated PNGs).
:::info [Two rendering approaches] Mermaid is rendered directly in the Markdown and is interactive. The diagrams library (Python) produces static PNGs with a professional layout. :::
Mermaid: SOCSuite Architecture
graph TB
subgraph external["External"]
browser["🌐 Browser"]
satellite["📡 Satellite Agents"]
keycloak["🔐 Keycloak<br/>auth.dev.imvee.de"]
end
subgraph k8s["Kubernetes Cluster"]
traefik["⚡ Traefik 3.6.8<br/>Gateway API v1.4.0"]
subgraph mono["SOCSuite Monorepo"]
web["⚛️ apps/web<br/>React 18 + Vite 7<br/>:3000"]
api["🔷 apps/api<br/>Go + Fiber v2<br/>:8080"]
docs["📖 apps/docs<br/>MkDocs Material<br/>:8093"]
end
subgraph data["Data Layer"]
pg["🐘 PostgreSQL<br/>:5432"]
redis["⚡ Redis<br/>:6379"]
opensearch["🔍 OpenSearch<br/>:9200"]
end
end
browser -->|HTTPS| traefik
traefik --> web
traefik --> api
traefik --> docs
web -->|REST| api
api --> pg
api --> redis
api --> opensearch
api -.->|OIDC| keycloak
satellite -->|"Events (WSS)"| opensearch
style external fill:#0f1923,stroke:#243750,color:#e5e7eb
style k8s fill:#0c1929,stroke:#243750,color:#e5e7eb
style mono fill:#162335,stroke:#0ea5e9,color:#e5e7eb
style data fill:#162335,stroke:#f97316,color:#e5e7eb
style browser fill:#1c2d42,stroke:#38bdf8,color:#e5e7eb
style satellite fill:#1c2d42,stroke:#f97316,color:#e5e7eb
style keycloak fill:#1c2d42,stroke:#f97316,color:#e5e7eb
style traefik fill:#243750,stroke:#0ea5e9,color:#e5e7eb
style web fill:#243750,stroke:#38bdf8,color:#e5e7eb
style api fill:#243750,stroke:#38bdf8,color:#e5e7eb
style docs fill:#243750,stroke:#38bdf8,color:#e5e7eb
style pg fill:#243750,stroke:#f97316,color:#e5e7eb
style redis fill:#243750,stroke:#f97316,color:#e5e7eb
style opensearch fill:#243750,stroke:#f97316,color:#e5e7ebMermaid: Alert & Response Dataflow
graph TB
satellite["📡 Satellite Agents<br/>+ k8s collector"]
subgraph detection["Detection Pipeline"]
opensearch["🔍 OpenSearch<br/>Live rule evaluation"]
alert["🚨 Alert Engine"]
cases["📋 Case Aggregation<br/>MITRE ATT&CK"]
end
subgraph response["Response"]
playbook["⚙️ Playbook<br/>~90% automated"]
analyst["👤 Analyst<br/>~10% manual"]
end
satellite -->|Events| opensearch
opensearch -->|Match| alert
alert -->|Correlation| cases
cases -->|Automated| playbook
cases -->|Escalation| analyst
style detection fill:#0c1929,stroke:#0ea5e9,color:#e5e7eb
style response fill:#0c1929,stroke:#f97316,color:#e5e7eb
style satellite fill:#1c2d42,stroke:#38bdf8,color:#e5e7eb
style opensearch fill:#243750,stroke:#0ea5e9,color:#e5e7eb
style alert fill:#243750,stroke:#ef4444,color:#e5e7eb
style cases fill:#243750,stroke:#f97316,color:#e5e7eb
style playbook fill:#243750,stroke:#22c55e,color:#e5e7eb
style analyst fill:#243750,stroke:#f97316,color:#e5e7ebMermaid: Satellite Agent
graph LR
subgraph endpoint["Managed Endpoint"]
subgraph agent["Satellite Agent (Go)"]
collectors["📊 Collectors<br/>CPU, RAM, Disk<br/>Docker, K8s<br/>Vuln, Inventory"]
queue["💾 queue.jsonl<br/>/var/lib/imvee-satellite/"]
breaker["🔌 Circuit Breaker<br/>sony/gobreaker"]
end
end
subgraph platform["SOCSuite Platform"]
api_reg["🔷 API<br/>/api/v1/ingest/register"]
opensearch["🔍 OpenSearch<br/>:9200"]
ws["🔗 WebSocket<br/>socsuite.dev.imvee.de"]
end
collectors -->|"ECS Events"| queue
queue -->|"Batch 5s / 100 max"| breaker
breaker -->|"Push events"| opensearch
collectors -.->|"WSS missions/status"| ws
collectors -.->|"Register POST"| api_reg
style endpoint fill:#0f1923,stroke:#243750,color:#e5e7eb
style agent fill:#162335,stroke:#0ea5e9,color:#e5e7eb
style platform fill:#0c1929,stroke:#f97316,color:#e5e7eb
style collectors fill:#243750,stroke:#38bdf8,color:#e5e7eb
style queue fill:#243750,stroke:#f97316,color:#e5e7eb
style breaker fill:#243750,stroke:#f97316,color:#e5e7eb
style api_reg fill:#243750,stroke:#38bdf8,color:#e5e7eb
style opensearch fill:#243750,stroke:#0ea5e9,color:#e5e7eb
style ws fill:#243750,stroke:#38bdf8,color:#e5e7ebFor Comparison: diagrams Library (Python)
These diagrams were generated with the Python diagrams library and embedded as SVG. They are replaced by the Mermaid versions above.