How itshamzabendelladj/aiguardsiem works
AIGuardSIEM is a SIEM/XDR platform for collecting security telemetry, detecting threats, investigating incidents, and responding through analyst-facing APIs and dashboards. The documented event lifecycle runs from collectors through Kafka ingestion and ECS normalization into detection and storage; the README excerpt ends during normalization, so later processing links are only shown where documented or supported by sampled source. The graph preserves major documented ML, XDR, SOAR, cloud, and visualization capabilities, but their internal wiring is not fully visible in the excerpts.
Main entry points: kafka_consumer.cpp Kafka Event Bus · correlation_engine.cpp Event Correlation · handlers API Handlers · server.go API Gateway
Components 24
Telemetry Ingestion
- Collectors
collectors - Syslog Parser
collectors/syslog/src/syslog_parser.cpp - NetFlow Collector
collectors/netflow/src/netflow_collector.cpp - Packet Flow Tracking
collectors/pcap/src/flow_tracker.cpp - Windows Log Collector
collectors/winlog/src/winlog_collector.cpp - XDR Endpoint Agent
xdr/agent/common/src/agent_core.cpp - Cloud Connectors
connectors - Kafka Event Bus
collectors/common/src/kafka_consumer.cpp - ECS Normalization
collectors/common/src/ecs_schema.cpp
Detection and ML
- Event Correlation
engine/correlation/src/correlation_engine.cpp - Rule Management
engine/rules/src/rule_engine.cpp - ML Detection
ml/inference/ensemble.py - Flow Features
ml/feature_engineering/cicflow_features.py
Event Storage
- Hot Event Index
storage/hot/src/lsm_index.cpp - Event Search
storage/hot/src/query_engine.cpp - Cold Archive
storage/cold/s3_archive.go - Warm Analytics Store
storage/warm/clickhouse_client.go
Investigation and Response
- API Gateway
api/gateway/server.go - API Handlers
api/handlers - SOAR Playbooks
playbooks/engine.py - SOC Dashboards
viz/dashboards/soc_realtime.py
Platform Services
- Service Orchestrator
services/orchestrator
Other components
- SOC Analyst
- Telemetry Sources
Connections 24
- Telemetry Sources → Collectors: supply telemetry
- Collectors → Kafka Event Bus: publish events
collectors/common/src/kafka_consumer.cpp - Syslog Parser → Collectors: parses messages
collectors/syslog/src/syslog_parser.cpp - NetFlow Collector → Kafka Event Bus: publish events
- Packet Flow Tracking → Kafka Event Bus: publish events
- Windows Log Collector → Kafka Event Bus: publish events
- XDR Endpoint Agent → Kafka Event Bus: send telemetry
- Cloud Connectors → Kafka Event Bus: send findings
- Kafka Event Bus → ECS Normalization: routes events
- ECS Normalization → Event Correlation: feeds detection
- Rule Management → Event Correlation: manages detection rules
- Flow Features → ML Detection: provides features
- ML Detection → Event Correlation: scores events
- Event Correlation → Hot Event Index: stores detections
- Event Correlation → Cold Archive: archives events
- Event Correlation → Warm Analytics Store: stores analytics
- Hot Event Index → Event Search: queries index
storage/hot/src/query_engine.cpp - SOC Analyst → API Gateway: uses REST
- API Gateway → API Handlers: routes requests
api/gateway/server.go - API Gateway → Service Orchestrator: initializes service
api/gateway/server.go - API Handlers → Service Orchestrator: invokes operations
api/handlers/other_handlers.go - SOC Analyst → SOC Dashboards: investigates dashboards
- API Handlers → SOAR Playbooks: dispatches response
- SOC Analyst → API Handlers: investigates alerts