Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.
AiSOC Demo Event Producer
A tiny Go CLI that pumps synthetic but realistic security events (CrowdStrike, Defender, Suricata, GuardDuty, Okta, Splunk) into the AiSOC ingest service so the dashboard, alerts, copilots, and the attack graph have real-looking data while you develop locally.
Quick start
# 1. Make sure the dev stack is running
pnpm docker:dev
# 2. Seed the database with the demo tenant + baseline alerts/cases
pnpm seed:demo
# 3. Mint the ingest credential — /v1/ingest refuses requests without one
make ingest-token
# 4. Stream live events into the ingest service
AISOC_INGEST_TOKEN=<the token> pnpm demo:produce # 120 events/sec across 6 connectors
AISOC_INGEST_TOKEN=<the token> pnpm demo:produce:fast # 480 events/sec — for stress demos
The throughput is rate x batch x len(profiles): the default --rate 4
(batches per second, per connector) times --batch 5 times the six
connector profiles is 120 events/sec. demo:produce:fast passes
--rate 8 --batch 10, which is 480.
Flags
| Flag | Default | Notes |
|---|---|---|
--ingest-url |
http://localhost:8001/v1/ingest |
Ingest service endpoint |
--tenant |
00000000-0000-0000-0000-000000000001 (matches seed:demo) |
Sent as X-Tenant-ID header |
--rate |
4 |
Batches per second per connector |
--batch |
5 |
Events per batch |
--duration |
0 |
How long to run (0 = forever) |
--token |
$AISOC_INGEST_TOKEN (empty) |
Required. /v1/ingest refuses requests without one; mint it with make ingest-token |
Environment variables INGEST_URL, TENANT_ID and AISOC_INGEST_TOKEN are
honored as defaults.
Design notes
Each "connector" runs in its own goroutine so output looks naturally interleaved. Events are randomised with a per-connector RNG, but enough fields (host, user, ATT&CK tactic) are stable across connectors that they look correlatable in the UI — which is the whole point of a SOC demo.
This binary is intentionally tiny — no Kafka, no protobuf, just an
HTTP POST to the ingest service. That keeps the dependency graph small
and means the producer works against any AiSOC environment that exposes
/v1/ingest.