Skip to content

armgit / AiSOC

Public Imported from GitHub
0

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.

chore(release): v19.0.0

beenuar8663f203498a
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b33e8ebf0..ac78f0a36 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
+## [19.0.0] - 2026-10-12
+
### BREAKING
- **`PATCH /api/v1/alerts/{id}` now refuses a field it cannot apply.** The
@@ -122,8 +124,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
handler was already dropping the field, so the isolation had been an
accident of schema strictness rather than a control.
-### Fixed
-
- **Seven shipped Okta identity rules can fire for the first time** (#1279).
Okta carries its result inside an `outcome` *object*, and
`OktaConnector.normalize()` read `outcome["result"]` only to pick a
@@ -417,6 +417,78 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
inverts only the clause each rule is about — same session, same user, same
event type, same outcome, same network. Windowed rules 72 → 76.
+- **A session has one producer and three readers** (depth 2.4, ADR-0010).
+ `services/ingest` derives a session key from each vendor's own session
+ field, labels how strong it is (`vendor_session` / `vendor_credential` /
+ `vendor_flow` / `derived`) and writes it once; the Postgres, ClickHouse and
+ Neo4j stores read that projection and derive nothing, held by
+ `check_session_projection.py` so the three stores cannot disagree about
+ which session an event belongs to after the next vendor-schema change.
+- **A real security posture, collected and versioned so a detection can read
+ it at event time** (depth 2.5). `__posture_snapshot__` collectors for AWS,
+ Azure, GCP, Google Workspace and GitHub — plus AWS permission boundaries —
+ write versioned snapshots, so a rule evaluates against the posture that was
+ true when the event happened rather than the posture now.
+- **Behavioural baselines run in CORE as a fusion module** (depth 3.4, ADR-0011),
+ rather than requiring the `full`-profile UEBA service, paired with threat
+ conditions so a baseline deviation is only a signal where a threat condition
+ also holds.
+- **An OTLP logs receiver, a Kafka input for customer topics, and a real
+ TAXII 2.1 server** over the tenant IOC store (depth 4.2). The three share
+ the ingest stream-health failure table and take their tenant from a
+ credential, never a body field.
+- **A cold-tier lake query reports an estimated cost and a progress state**
+ instead of timing out silently (depth 4.3). The job is claimed with an
+ atomic conditional `UPDATE` so two API replicas cannot both start the same
+ scan, and a terminal state is never re-opened by a stale progress read.
+- **Throughput: a required-field rule index, entity partitioning, concurrent
+ triage, and a realistic load mix in the harness** (depth 4.4, ADR-0012).
+ The cloud-hardware run is stated as not done rather than implied.
+- **The Helm chart installs CORE, and exactly one scheduler replica leads**
+ (depth 4.5) through a Postgres lease, so a deployment scaled for
+ availability does not poll every vendor twice. The managed-Kubernetes run
+ is recorded as unmeasured.
+- **A playbook can ask the person who signed in, then their manager, and
+ branch on the signed answer** (depth 5.4–5.6). A `verification` pause
+ suspends the run to a durable store and escalates once to the manager
+ resolved from SCIM when nobody answers; "no, that wasn't me" and "nobody
+ answered" both reach containment behind an analyst approval, while "yes"
+ closes the case. Auto-sent only for alert classes a tenant opts into, and
+ never on a confirmed true positive.
+- **AiSOC's own MCP server speaks streamable HTTP, authorized and audited per
+ call** (depth 9.1). An opt-in `mcp` profile exposes the server over HTTP
+ with per-tenant scoped keys, tools enabled per tenant, an audit row for
+ every call including reads, and approval on anything that is not read-only;
+ the tenant comes from the request credential rather than a parameter.
+- **A case's war room** (depth 9.4). One action opens a Slack or Teams channel
+ for a case, invites the assignees, posts the timeline and verdicts as they
+ change, and syncs decisions back, built on `services/slack-bot` and
+ `services/teams-bot`.
+- **A hunt that finds something becomes a cited report** (depth 9.5). A
+ natural-language hunt or a retro-hunt that returns hits produces a case
+ report — what, how, where, when — with ledger citations, exportable as PDF
+ through the existing report path.
+- **The responder app is an installable build with on-device voice and real
+ push delivery** (depth 9.6). `services/realtime` now routes APNs and FCM
+ subscriptions to their real transports instead of signing every one as
+ web-push; the device-build run is maintainer-blocked and says so in the
+ product, not only in the tracker.
+- **WebAuthn as a console second factor, and MFA enforceable per role**
+ (depth 8.1): a platform authenticator registered and asserted against the
+ real ceremony, enforced per tenant and per role.
+- **An enforced audit retention window that leaves the surviving chain
+ verifiable** (depth 8.1, ADR-0013). The purge runs through a
+ `SECURITY DEFINER` function that writes a re-anchoring checkpoint before it
+ deletes, so an intact chain does not read as tampered with, and the runtime
+ role holds no `DELETE` on `audit_log` so the function is the only path.
+- **axe accessibility coverage reached the case workspace and the alert
+ list, and the four defects it found** (depth 8.1) — the two operator views
+ parity 4.7 had left uncovered.
+- **A tenant's configured entitlement limit can refuse work, when the tenant
+ opts in** (depth 8.1), in `services/api/app/services/entitlements.py`. The
+ six operator console pages the item also names are not built, and that is
+ said rather than implied.
+
- `services/api/app/models/detection_rule.py` maps the `author` column, which
has existed since `001_init.sql` and was mapped by nothing — while fusion's
tenant overlay reads it on every reload to say *who* silenced a rule when it
diff --git a/README.md b/README.md
index 4b242b28b..8a4e27c3e 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@
**An open-source, self-hostable AI Security Operations Center.** It ingests your security telemetry, detects and correlates threats, investigates them with AI agents whose reasoning is fully auditable, and proposes responses a human approves.
-[![License: MIT](https://img.shields.io/badge/License-MIT-22c55e.svg?style=flat-square)](https://opensource.org/licenses/MIT) [![Version](https://img.shields.io/badge/version-18.0.0-f59e0b?style=flat-square)](CHANGELOG.md) [![CI](https://img.shields.io/github/actions/workflow/status/beenuar/AiSOC/ci.yml?branch=main&label=CI&style=flat-square)](https://github.com/beenuar/AiSOC/actions/workflows/ci.yml)
+[![License: MIT](https://img.shields.io/badge/License-MIT-22c55e.svg?style=flat-square)](https://opensource.org/licenses/MIT) [![Version](https://img.shields.io/badge/version-19.0.0-f59e0b?style=flat-square)](CHANGELOG.md) [![CI](https://img.shields.io/github/actions/workflow/status/beenuar/AiSOC/ci.yml?branch=main&label=CI&style=flat-square)](https://github.com/beenuar/AiSOC/actions/workflows/ci.yml)
[![CodeQL](https://img.shields.io/github/actions/workflow/status/beenuar/AiSOC/codeql.yml?branch=main&label=CodeQL&style=flat-square)](https://github.com/beenuar/AiSOC/actions/workflows/codeql.yml) [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/beenuar/AiSOC/badge)](https://securityscorecards.dev/viewer/?uri=github.com/beenuar/AiSOC) [![Technical Guide](https://img.shields.io/badge/Technical%20Guide-26%20page%20PDF-dc2626?style=flat-square)](https://raw.githubusercontent.com/beenuar/AiSOC/main/apps/web/public/papers/aisoc-technical-guide.pdf)
**[Technical Guide (PDF)](https://raw.githubusercontent.com/beenuar/AiSOC/main/apps/web/public/papers/aisoc-technical-guide.pdf)** · [Docs](https://beenuar.github.io/AiSOC/) · [Architecture](docs/architecture/README.md) · [What actually works](docs/audit/REPOSITORY_REALITY.md) · [Discussions](https://github.com/beenuar/AiSOC/discussions)
diff --git a/RELEASES.md b/RELEASES.md
index 8b50eb558..420286a55 100644
--- a/RELEASES.md
+++ b/RELEASES.md
@@ -2,7 +2,9 @@
This file mirrors what used to live in the "What's new" section of [`README.md`](README.md). The complete, machine-readable inventory (with file paths, env-var diffs, and per-release test counts) lives in [`CHANGELOG.md`](CHANGELOG.md).
-> **TL;DR for first-time visitors:** AiSOC is on `v18.0.0`, released 2026-10-09. **The release where the platform learned what it is looking at.** Until now every event from 78 of 87 connector types arrived as a generic OCSF Security Finding, and fusion promotes that class unconditionally — so a permitted DNS lookup, an allowed proxy request and a routine Windows event each became an alert indistinguishable from a real one. Ingest now carries a recorded decision for **every one of the 87 connector types**: the class its stream actually is, or the reason it stays a finding. **This is the breaking change**: `permission_conditions`, `privilege_grants` and `workload_identities` shipped as tables with no reader, and now change authorization outcomes in both directions — a condition that was inert begins denying, and an approved grant that was inert begins conferring. If you wrote rows into those tables directly, read the BREAKING section before upgrading. **Everything else is new capability.** Every event carries an activity projection — who acted, what kind of actor they were, what they did, to which resource, from where, with what outcome — with `actor.kind` derived from each vendor's own documented field rather than guessed. A 44-type event catalogue across ten sources classifies vendor event types by sensitivity, and deliberately changes neither severity nor promotion, so a one-line data edit cannot flood a queue. Detection gained a **72-rule windowed corpus** with ordered and unordered sequences and Sigma correlations: the 74 rules that needed a sliding window are all decided, 50 translated with their thresholds derived from each original's own clauses, 24 refused with a recorded reason. Rules that cannot fire fell from **119 to 2**. Collection now meets an estate the way it actually emits — an organisation CloudTrail over S3 and SQS, GCP Pub/Sub, Azure Event Hubs, and a syslog listener for appliances that speak nothing else. Playbooks gained `wait`, `parallel` and `loop` with idempotency keys, and `notify` and `osquery_live_query` became governed verbs — which is also how we found that every dry run had been reporting a completed send. Retention is the window the tenant chooses up to a 400-day ceiling, and a legal hold now outranks it in the worker rather than only in a function nothing called. Console MFA ships: TOTP against RFC 6238's own vectors, single-use recovery codes, enforceable per tenant. **64 defects were fixed across this release and the two before it** (8 in v17.0.0, 40 in v17.1.0, 16 here). The published executable-rule figure moves **down**, 2,603 to 2,511, and that is the correction rather than a regression: rules that could not fire stopped being counted as capable of it. The chart publishes as **`7.6.0`**. Everything below describes v17.1.0 and earlier, which this release does not change.
+> **TL;DR for first-time visitors:** AiSOC is on `v19.0.0`, released 2026-10-12. **The release that finished the depth plan's analyst, collection and governance phases.** Nineteen workstreams landed as one verified tree. A session now has **one producer and three stores** that cannot disagree about which session an event belongs to; a real security **posture is collected and versioned** so a detection reads the posture that was true when an event happened; behavioural **baselines moved into CORE** as a fusion module. Collection meets an estate the way it emits — an **OTLP logs receiver, a Kafka input** for customer topics, and a **real TAXII 2.1 server** over the tenant IOC store — and a **cold-tier lake query reports a cost estimate and a progress state** instead of timing out silently. The **Helm chart installs CORE** with exactly one scheduler replica leading through a Postgres lease. A playbook can **ask the person who signed in, then their manager, and branch on the signed answer**; AiSOC's own **MCP server speaks streamable HTTP**, authorized and audited per call; a case opens a **war room** that syncs decisions back; a **hunt that finds something becomes a cited report**; the **responder app is an installable build** with real APNs and FCM delivery. Governance closed the 8.1 clauses: **WebAuthn** as a console second factor enforceable per role, an **enforced audit retention window** that leaves the surviving chain verifiable, **axe accessibility** on the case workspace and alert list, and a tenant's **entitlement limit that can refuse work** when the tenant opts in. **This is the breaking change:** `PATCH /api/v1/alerts/{id}` used to answer **200 while silently dropping** any field outside its five writable ones — a success for a write that did not happen — and now answers **422** naming the field and the route that applies it. If you call that endpoint with `disposition`, `severity`, `confidence` or `snoozed_until`, read the BREAKING section before upgrading. **67 defects were fixed across this release and the two before it** (11 here, 16 in v18.0.0, 40 in v17.1.0), including **tenant deletion**, which had been impossible on any database holding audit rows because the audit immutability trigger refused the cascade its own foreign key declares. The chart publishes as **`7.8.0`**. Everything below describes v18.0.0 and earlier, which this release does not change.
+>
+> **Previously:** AiSOC was on `v18.0.0`, released 2026-10-09. **The release where the platform learned what it is looking at.** Until now every event from 78 of 87 connector types arrived as a generic OCSF Security Finding, and fusion promotes that class unconditionally — so a permitted DNS lookup, an allowed proxy request and a routine Windows event each became an alert indistinguishable from a real one. Ingest now carries a recorded decision for **every one of the 87 connector types**: the class its stream actually is, or the reason it stays a finding. **This is the breaking change**: `permission_conditions`, `privilege_grants` and `workload_identities` shipped as tables with no reader, and now change authorization outcomes in both directions — a condition that was inert begins denying, and an approved grant that was inert begins conferring. If you wrote rows into those tables directly, read the BREAKING section before upgrading. **Everything else is new capability.** Every event carries an activity projection — who acted, what kind of actor they were, what they did, to which resource, from where, with what outcome — with `actor.kind` derived from each vendor's own documented field rather than guessed. A 44-type event catalogue across ten sources classifies vendor event types by sensitivity, and deliberately changes neither severity nor promotion, so a one-line data edit cannot flood a queue. Detection gained a **72-rule windowed corpus** with ordered and unordered sequences and Sigma correlations: the 74 rules that needed a sliding window are all decided, 50 translated with their thresholds derived from each original's own clauses, 24 refused with a recorded reason. Rules that cannot fire fell from **119 to 2**. Collection now meets an estate the way it actually emits — an organisation CloudTrail over S3 and SQS, GCP Pub/Sub, Azure Event Hubs, and a syslog listener for appliances that speak nothing else. Playbooks gained `wait`, `parallel` and `loop` with idempotency keys, and `notify` and `osquery_live_query` became governed verbs — which is also how we found that every dry run had been reporting a completed send. Retention is the window the tenant chooses up to a 400-day ceiling, and a legal hold now outranks it in the worker rather than only in a function nothing called. Console MFA ships: TOTP against RFC 6238's own vectors, single-use recovery codes, enforceable per tenant. **64 defects were fixed across this release and the two before it** (8 in v17.0.0, 40 in v17.1.0, 16 here). The published executable-rule figure moves **down**, 2,603 to 2,511, and that is the correction rather than a regression: rules that could not fire stopped being counted as capable of it. The chart publishes as **`7.6.0`**. Everything below describes v17.1.0 and earlier, which this release does not change.
>
> **Previously:** AiSOC was on `v17.1.0`, released 2026-10-07. **A security release plus the first community-built console surface; no breaking changes.** It closes **[GHSA-w4r8-969c-67p2](https://github.com/beenuar/AiSOC/security/advisories/GHSA-w4r8-969c-67p2)**, a high-severity audit-trail forgery reported by [cqliuke](https://github.com/cqliuke): the audit middleware decoded the request's Bearer token with signature verification **off** and wrote its claims into the per-tenant tamper-evident audit chain before authentication ran — so an unauthenticated caller with a self-crafted JWT got 401 from the route and still planted any actor and any known tenant id into that tenant's chain. Reproduced against a production-mode stack (forged entry at `chain_index` 0; a no-credential control wrote nothing); the middleware now audits only the verified principal, and a failed authentication writes no row. **If your deployment's audit chain feeds compliance evidence, upgrade** — entries written by unauthenticated requests before this release are indistinguishable from real ones by content alone, so treat chain position and request logs as the tie-breaker. The feature half is the reviewed scope of a community PR by [alexmateescu](https://github.com/alexmateescu): an admin-only **Settings → Users** screen (server-side pagination/search, multi-role assignment with a live effective-permissions preview, enable/disable with session revocation, audited permanent delete guarded against self-delete and last-admin lockout), an editable Roles & Permissions catalog, and a feature-flagged enterprise SSO wave (off by default; JIT lands as `viewer`, admin is unreachable from SSO without an explicit allowlisted group mapping). Migration `091` no longer bulk-seeds a role row into every tenant — the write that could resolve a fresh install's every user, break-glass admin included, to **zero permissions** — and `093` repairs deployments the old seed already touched. Also in: threat-intel enrichment no longer drops WHOIS from non-top-scoring sources and now union-merges DNS records; the grading-integrity gate can no longer lock itself out after a merge burst (it read "no recent successful run" as a stale API read, which its own failures then perpetuated for two days); and the release step that moves the `stable` chart channel ran for the first time ever (`--version` takes a semver constraint, so `--version stable` had failed client-side on every release since the step existed). The chart publishes as **`7.5.0`**. Everything below describes v17.0.0 and earlier, which this release does not change.
>
@@ -18,15 +20,32 @@ This file mirrors what used to live in the "What's new" section of [`README.md`]
## What's new
-`VERSION` is `18.0.0`. The **v18.0.0** release (2026-10-09) gives the
-platform a semantic layer: a recorded OCSF class decision for every one of
-the 87 connector types, an activity projection on every event, a 44-type
-event catalogue, a 72-rule windowed detection corpus, cloud-native
-collection, and console MFA. It carries one breaking change — three
-authorization tables that had no reader now change outcomes in both
-directions. See the TL;DR above and the `[18.0.0]` section of
+`VERSION` is `19.0.0`. The **v19.0.0** release (2026-10-12) finishes the
+depth plan's analyst, collection and governance phases, landing nineteen
+workstreams as one verified tree: sessions with one producer and three
+stores, versioned security posture read at event time, behavioural
+baselines in CORE, an OTLP/Kafka/TAXII collection surface, cost-estimated
+cold-lake queries, a Helm chart that installs CORE with one scheduler
+leading, a verification playbook that asks the user then their manager,
+AiSOC's own MCP server over streamable HTTP, case war rooms, hunt-to-report,
+an installable responder app, and the 8.1 governance clauses — WebAuthn,
+enforced audit retention, accessibility, and opt-in entitlement limits. It
+carries one breaking change: `PATCH /api/v1/alerts/{id}` now answers 422 on
+a field it cannot apply instead of 200 on a silent no-op. 67 defects were
+fixed across this release and the two before it (11 here), including tenant
+deletion, impossible until now on any database holding audit rows. See the
+TL;DR above and the `[19.0.0]` section of
[`CHANGELOG.md`](CHANGELOG.md) for the full inventory.
+### Previously: v18.0.0
+
+The **v18.0.0** release (2026-10-09) gave the platform a semantic layer: a
+recorded OCSF class decision for every one of the 87 connector types, an
+activity projection on every event, a 44-type event catalogue, a 72-rule
+windowed detection corpus, cloud-native collection, and console MFA. It
+carried one breaking change — three authorization tables that had no reader
+began changing outcomes in both directions. The chart published as `7.6.0`.
+
### Previously: v17.1.0
The **v17.1.0** release (2026-10-07) was a security
diff --git a/VERSION b/VERSION
index 7eae4e2e9..49e3587fb 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-18.0.0
+19.0.0
diff --git a/apps/docs/static/data/scoreboard.json b/apps/docs/static/data/scoreboard.json
index 20b367910..719008fc1 100644
--- a/apps/docs/static/data/scoreboard.json
+++ b/apps/docs/static/data/scoreboard.json
@@ -3,9 +3,9 @@
"_readme": "Append-only public benchmark scoreboard. Each row is one eval run. Substrate rows (no LLM, deterministic) are marked substrate:true and MUST NOT be quoted as live agent performance. Wet-eval rows (substrate:false) are appended by the T5.5 weekly CI workflow once it lands. Newest row first.",
"rows": [
{
- "date": "2026-10-09",
- "agent_version": "v18.0.0",
- "commit_sha": "10dc1f9d",
+ "date": "2026-10-13",
+ "agent_version": "v19.0.0",
+ "commit_sha": "33db0a0a",
"substrate": true,
"eval_mode": "substrate-only",
"mitre_accuracy": 0.97,
diff --git a/apps/docs/static/llms-full.txt b/apps/docs/static/llms-full.txt
index 53116b90f..c54de30cd 100644
--- a/apps/docs/static/llms-full.txt
+++ b/apps/docs/static/llms-full.txt
@@ -3,7 +3,7 @@
<!-- Generated by scripts/generate_llms_txt.py. Do not edit by hand; run the script and commit the result. -->
> AiSOC is an open-source, self-hostable AI Security Operations Center, MIT
-> licensed and maintained by the AiSOC community. Version 18.0.0.
+> licensed and maintained by the AiSOC community. Version 19.0.0.
> Repository: https://github.com/beenuar/AiSOC. Documentation: https://beenuar.github.io/AiSOC/.
This file exists so an automated reader can answer questions about AiSOC
@@ -127,7 +127,7 @@ plans/ Historical prototype subtree — reference only, never edited
Every number in this file is generated from the artefact that owns it. If you
need to state one, re-derive it rather than quoting a figure from prose —
-including from this file, which is a snapshot of version 18.0.0.
+including from this file, which is a snapshot of version 19.0.0.
```
python3 scripts/generate_corpus_stats.py --check # executable + on-disk rules
diff --git a/apps/docs/static/llms.txt b/apps/docs/static/llms.txt
index 69b23bc10..ff89c76fc 100644
--- a/apps/docs/static/llms.txt
+++ b/apps/docs/static/llms.txt
@@ -6,7 +6,7 @@
> security telemetry from 87 first-party connectors, normalises it to OCSF,
> correlates it into alerts, and runs LLM agents that triage and investigate them.
> Every agent decision is written to an investigation ledger, so the reasoning
-> behind a verdict can be replayed step by step. MIT licensed. Current version 18.0.0.
+> behind a verdict can be replayed step by step. MIT licensed. Current version 19.0.0.
AiSOC is built and maintained by the AiSOC community. It is a complete SOC
platform rather than a single tool: ingestion, detection, correlation, agent
diff --git a/apps/web/package.json b/apps/web/package.json
index e437ad72f..6753d61e0 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -1,6 +1,6 @@
{
"name": "@aisoc/web",
- "version": "18.0.0",
+ "version": "19.0.0",
"private": true,
"description": "AiSOC SOC Console - Next.js 14 Frontend",
"license": "MIT",
diff --git a/infra/helm/aisoc/Chart.yaml b/infra/helm/aisoc/Chart.yaml
index d2577f0a9..56393cf0c 100644
--- a/infra/helm/aisoc/Chart.yaml
+++ b/infra/helm/aisoc/Chart.yaml
@@ -25,13 +25,13 @@ type: application
# the chart refuses grants it used to accept (see the v14.0.0 BREAKING
# section), and the chart's major is the only coordinate a consumer pulling
# `oci://ghcr.io/beenuar/charts/aisoc` sees before they install it.
-version: 7.7.0
+version: 7.8.0
# Used as the image tag wherever a `tag:` in values.yaml is left empty, so
# it has to be a tag the registry actually holds — it read "5.2.0", which
# exists for no image, so every pod of a default install would have gone to
# ImagePullBackOff. scripts/check_published_images.py resolves it the same
# way the templates do and fails when it names nothing.
-appVersion: "v18.0.0"
+appVersion: "v19.0.0"
keywords:
- security