docs: Correct Section 4.1 flowchart to eliminate false backend ingress

- Clarified that attacker traffic cannot reach private backend directly

- Corrected vuln scanner direction to show outbound checks

- Added in-memory simulation engine visualization
هذا الالتزام موجود في:
2026-09-20 20:06:38 +03:00
الأصل 6e7729d118
التزام be63b16a2f

عرض الملف

@@ -122,19 +122,22 @@ This makes it the **perfect stress test** for any cloud platform. If Cumin can h
```mermaid ```mermaid
flowchart TD flowchart TD
subgraph EXT["🌍 External World"] subgraph EXT["🌍 External Internet"]
Analyst["👨‍💻 Security Analyst"] Analyst["👨‍💻 Security Analyst"]
Attacker["🕵️ Threat Actor"] Attacker["🕵️ External Threat Actor"]
Websites["🌐 Real Websites\nGoogle / GitHub / Cloudflare"] Websites["🌐 Public Target Websites\n(Google / GitHub / Cloudflare)"]
end end
subgraph GW["🌐 soc-gateway — Public Entry Point"] subgraph GW["🌐 soc-gateway — Only Public Entry Point (Port 3000)"]
UI["Dashboard UI\nHTML/CSS/JS"] UI["Dashboard UI\nHTML/CSS/JS"]
Proxy["HTTP Reverse Proxy\n/proxy/* route"] Proxy["HTTP Reverse Proxy\n/proxy/*"]
end end
subgraph BE["⚙️ soc-backend — Consolidated Service (Port 4000)"] subgraph BE["🔒 soc-backend — Isolated Private Mesh (Port 4000)"]
direction TB direction TB
subgraph SIM["Internal Telemetry & Attack Simulator"]
Gen["⚡ In-Memory Simulation Engine"]
end
subgraph ING["Ingestion Layer"] subgraph ING["Ingestion Layer"]
FW["🔥 Firewall"] FW["🔥 Firewall"]
IDS["🛡️ IDS/IPS"] IDS["🛡️ IDS/IPS"]
@@ -149,18 +152,26 @@ flowchart TD
SOAR["⚡ SOAR"] SOAR["⚡ SOAR"]
OPS["🚨 Incidents"] OPS["🚨 Incidents"]
end end
subgraph RS["Real-World Scanning"] subgraph RS["Outbound Security Auditing"]
VS["🔍 Vuln Scanner"] VS["🔍 Vuln Scanner"]
end end
end end
Analyst -->|"HTTPS"| UI %% External Connections (Zero Trust)
Attacker -.->|"Simulated Attacks"| IDS Analyst -->|"HTTPS (Authorized Access)"| UI
Attacker -.->|"Honeypot Traps"| HP Attacker -.->|"Public Probes (Blocked / Filtered)"| GW
Websites -->|"HTTP check every 60s"| VS Attacker x-.-x|"⛔ Direct Ingress Blocked by OPA Policy"| BE
UI --> Proxy
Proxy -->|"🔒 WireGuard Mesh (http://10.100.0.94:4000)"| BE
%% Gateway to Backend exclusively over WireGuard
UI --> Proxy
Proxy ==>|"🔒 Private WireGuard Tunnel (http://10.100.0.94:4000)"| BE
%% Outbound Scanning (Backend initiates, not external)
VS -->|"Outbound HTTP Header Audits (every 60s)"| Websites
%% Internal Telemetry Pipeline
Gen -->|"Simulated Exploit Traffic"| IDS
Gen -->|"Trap Deception Traps"| HP
FW --> SIEM FW --> SIEM
IDS --> SIEM IDS --> SIEM
HP --> SIEM HP --> SIEM
@@ -172,7 +183,8 @@ flowchart TD
style EXT fill:#0a0e1a,color:#94a3b8,stroke:#2d3748 style EXT fill:#0a0e1a,color:#94a3b8,stroke:#2d3748
style GW fill:#1a1f35,color:#e2e8f0,stroke:#6366f1 style GW fill:#1a1f35,color:#e2e8f0,stroke:#6366f1
style BE fill:#111827,color:#e2e8f0,stroke:#4f46e5 style BE fill:#0c1a2e,color:#e2e8f0,stroke:#0284c7
style SIM fill:#1e1b4b,color:#c7d2fe,stroke:#4338ca
style RS fill:#0c2d1e,color:#34d399,stroke:#059669 style RS fill:#0c2d1e,color:#34d399,stroke:#059669
``` ```