Architecture Overview
System Diagram
┌──────────────────────────────────────────────────────────────────────────┐
│ Data Sources │
│ │
│ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌────────────────────────┐ │
│ │ voltage │ │ suricata │ │ aws-s3 │ │ aws-s3-lambda │ │
│ │(endpoint)│ │(network) │ │ (batch) │ │ (real-time / Lambda) │ │
│ └────┬─────┘ └────┬─────┘ └────┬─────┘ └──────────┬─────────────┘ │
└───────┼─────────────┼─────────────┼───────────────────┼──────────────────┘
│ │ │ │
│ ┌────┴─────┐ │ S3 event → CloudTrail
│ │ Redis │ │ → EventBridge (StackSet)
│ │ Pub/Sub │ │ → Central event bus
│ └────┬─────┘ │ │
│ │ │ STS AssumeRole (member acct)
│ │ │ S3 GetObject (cross-account)
└─────────────┴─────────────┴───────────────────┘
│
│ HTTPS (JWT)
▼
┌────────────────────────────────┐
│ highvolt-server │
│ │
│ POST /submit ──► Queue │
│ POST /query ──► OpenSearch │
│ │
│ Workers │
│ (goroutines) │
└──────────┬─────────────────────┘
│
┌────────────────┼────────────────┐
│ │ │
▼ ▼ ▼
┌──────────┐ ┌──────────┐ ┌──────────────┐
│ LLM │ │OpenSearch│ │ JSONAir │
│(OpenAI │ │(results │ │(config store)│
│ compat.) │ │ storage) │ │ │
└──────────┘ └──────────┘ └──────────────┘Configuration Management (JSONAir)
Request Lifecycle
Deduplication
Concurrency Model
Authentication Flow
Last updated