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.

docs: surface v1.5 console workbench wave + v8.0 wave-1 highlights on the landing page

Beenu Arora35d9a4828ac0
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 751ae996f..a53760fff 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -24,6 +24,79 @@ hit. The marketing `/benchmark` page now cross-links to the scoreboard for
the full weekly history. Wet-eval rows arrive automatically once the T5.5
weekly CI workflow lands.
+### Console workbench wave — v1.5 PR-1/-2/-3/-5/-6/-7/-8
+
+Turns the SOC operator surface from a list of pages into a workbench. Seven
+PRs landed in two days and together change what `/alerts`, `/queue`,
+`/detection/tuning`, and the topbar look like end-to-end. (PR-4, the
+Investigation Rail, has its own entry deeper in this section.)
+
+- **PR-1 — Global time-window selector + topbar context.** One selector at
+ the top of the console drives every page that accepts a time range
+ (Alerts, Cases, Hunts, Funnel KPIs, Pipeline Health, Detection Tuning).
+ Backed by a new `TimeWindowProvider` in `apps/web/src/components/time/`
+ with persistence in `localStorage` and URL params so any window is
+ deep-linkable. Every API client now sends `from`/`to` query params on
+ every list endpoint instead of relying on per-page defaults.
+- **PR-2 — Tenant switcher + role badge.** MSSP operators flip tenants from
+ the topbar without re-authenticating; the role badge next to the user
+ avatar makes it impossible to confuse a `viewer` session with an `admin`
+ session. New endpoint `GET /api/v1/tenants/me/identity` returns the
+ caller's effective tenant ID, accessible tenants, role, and email so the
+ client can render the switcher without leaking other-tenant rows.
+- **PR-3 — Critical severity tier.** The severity ladder is now exactly
+ five tiers: `info | low | medium | high | critical`. Vendor-native
+ criticals that previously got collapsed into `high` (Azure 5-tier, GCP
+ SCC 5-tier, GitHub `critical`, ServiceNow priority 1, AWS GuardDuty
+ ≥ 8.0, AuditD identity-destruction events, K8s `cluster-admin` bindings,
+ Tailscale tailnet lockdown failures) now map straight through in their
+ `normalize()` and surface as `critical` in the UI. Confidence
+ (`alert.confidence`, int 0–100 with band `low | medium | high`) is now
+ decoupled from severity and emitted by `services/fusion`
+ `ConfidenceScorer` — operators can sort/filter by either dimension
+ independently.
+- **PR-5 / W7 — Investigation Queue workbench.** New `/queue` page is the
+ single surface a Tier-1 analyst lives on: server-anchored SLA countdowns
+ (clock starts on the server, not the browser), atomic claim semantics
+ (`POST /api/v1/queue/{id}/claim` is transactional — two analysts can't
+ claim the same row), one-click triage actions (`acknowledge`, `assign`,
+ `escalate`, `defer`, `close-as-fp`). Server-driven; the page makes one
+ call to `/api/v1/queue` and one call per action. Docs:
+ `apps/docs/docs/console/queue.md`.
+- **PR-6 / W8 — Rule Tuning workbench.** New `/detection/tuning` page ranks
+ noisy detection rules by precision impact (`fp_volume * tier_weight`) and
+ ships one-click suppression + allow-list edits with full audit trail
+ through `audit_logs` (every edit captured with `actor`, `actor_ip`,
+ `before`, `after`, and the new H-4-hardened hash chain). Backed by
+ `GET /api/v1/detection/tuning/recommendations` +
+ `POST /api/v1/detection/tuning/apply`. Docs:
+ `apps/docs/docs/console/rule-tuning.md`.
+- **PR-7 — Operations funnel + pipeline health.** Two new endpoints land
+ together: `GET /metrics/funnel` returns the Detected → Triaged →
+ Investigated → Resolved counts plus per-stage MTTRs, and
+ `GET /health/pipeline` returns liveness for Kafka / ingest / fusion /
+ agents / connectors. The console renders these as a `FunnelKpiBar` above
+ the alerts list and a dedicated Efficiency Report on the home dashboard,
+ so SOC leads can answer "where are we losing time?" without a Grafana
+ detour. Docs: `apps/docs/docs/console/funnel-kpis.md`.
+- **PR-8 — Zero-prerequisite installer.** `install.sh` (POSIX) and
+ `install.ps1` (Windows) now bootstrap from a clean machine: they detect
+ and install Docker Engine, Docker Compose, Node.js LTS, pnpm, and Python
+ 3.11 if any are missing, then run `docker compose -f docker-compose.dev.yml
+ up -d`, wait for health, seed the demo data, and print the URL. Both
+ scripts are idempotent — re-running them on a working install is a
+ no-op. A new `uninstall.sh` does a graduated teardown (containers →
+ volumes → images → installed prerequisites, with `--keep-prereqs` /
+ `--keep-data` flags). Surfaced as **Path 0** in
+ `apps/docs/docs/quickstart.md` and as the recommended installer path on
+ `tryaisoc.com`.
+
+All five PRs ship with full Vitest coverage on the new components
+(`TimeWindowProvider`, `TenantSwitcher`, `RoleBadge`, `FunnelKpiBar`,
+`QueueView`, `RuleTuningView`) and full pytest coverage on the new
+endpoints. Test suite remains green: 1 279 backend + 412 frontend tests
+pass.
+
### Security hardening — Batch 8: `POST /api/v1/alerts/submit`
The `/alerts/submit` ingestion path was a wide-open seam — any caller with
diff --git a/README.md b/README.md
index 7ded670ac..5bbef25ce 100644
--- a/README.md
+++ b/README.md
@@ -37,6 +37,55 @@ The orchestrator is a ~600-line LangGraph in [`services/agents/`](services/agent
---
+## What's new (last 48 hours)
+
+A high-velocity wave of v1.5 console + v8.0 architectural + security changes landed on `main` over the last two days. `VERSION` is still `7.3.1`; everything below is captured under `[Unreleased]` in [`CHANGELOG.md`](CHANGELOG.md) and will tag with the v8.0 cut.
+
+**Console workbenches (v1.5 PR-1 → PR-6)** — the SOC operator surface is now a workbench, not a list.
+- **Global time-window selector + topbar context** — one selector at the top of the console drives every page (Alerts, Cases, Hunts, Funnel KPIs, Pipeline Health). Persists across reloads, deep-linkable as a URL param.
+- **Tenant switcher + role badge** — MSSP operators flip tenants from the topbar; the role badge makes it impossible to confuse a `viewer` session with an `admin` session. New endpoint: `GET /api/v1/tenants/me/identity`.
+- **Critical severity tier** — the severity ladder is now `info | low | medium | high | critical`. Vendor-native criticals (Azure 5-tier, GCP SCC, GitHub `critical`, ServiceNow priority 1, GuardDuty ≥ 8.0, AuditD identity-destruction, K8s `cluster-admin`, Tailscale tailnet lockdown) map straight through instead of being collapsed into `high`. Confidence (`alert.confidence`, 0–100, band `low|medium|high`) is now decoupled from severity and emitted by `services/fusion` `ConfidenceScorer`.
+- **Operations funnel + pipeline health** — new `/metrics/funnel` and `/health/pipeline` endpoints feed the `FunnelKpiBar` (Detected → Triaged → Investigated → Resolved) and an Efficiency Report so SOC leads can answer "where are we losing time?" without a Grafana detour. Docs: [`apps/docs/docs/console/funnel-kpis.md`](apps/docs/docs/console/funnel-kpis.md).
+- **Investigation Rail (W6 / PR-4)** — `/alerts` is now a two-pane workbench with narrative, related entities (`pivotPath` deep links), 6-event mini-timeline, and structured recommended actions. Fusion writes a deterministic correlation narrative at fuse time. Docs: [`apps/docs/docs/console/investigation-rail.md`](apps/docs/docs/console/investigation-rail.md).
+- **Investigation Queue workbench (PR-5 / W7)** — `/queue` is the page a Tier-1 analyst lives on: server-anchored SLA countdowns, atomic claim semantics, one-click triage actions. Docs: [`apps/docs/docs/console/queue.md`](apps/docs/docs/console/queue.md).
+- **Rule Tuning workbench (PR-6 / W8)** — `/detection/tuning` ranks noisy rules by precision impact and ships one-click suppression + allow-list edits with full audit trail. Docs: [`apps/docs/docs/console/rule-tuning.md`](apps/docs/docs/console/rule-tuning.md).
+- **Zero-prerequisite installer** — `install.sh` / `install.ps1` now bootstrap from a clean machine (Docker, Compose, Node, pnpm, Python) with idempotency and a graduated `uninstall.sh`. Documented in [`apps/docs/docs/installation.md`](apps/docs/docs/installation.md), surfaced as **Path 0** in the [quickstart](apps/docs/docs/quickstart.md).
+
+**v8.0 wave-1 (architectural foundation, PR [#125](https://github.com/beenuar/AiSOC/pull/125))** — the foundation for the v8.0 line.
+- **Graph at ingest** — Neo4j entity graph (17 node labels, 14 edge types) written inline with Kafka consumption. Batched UNWIND upserts + fire-and-forget retry queue keep ingest latency budget intact. Schema doc: [`apps/docs/docs/architecture/graph-schema.md`](apps/docs/docs/architecture/graph-schema.md).
+- **Four-agent rebrand** — `DetectAgent`, `TriageAgent`, `HuntAgent`, `RespondAgent` are now the public façade; back-compat aliases preserve existing imports. Funnel KPI doc: [`apps/docs/docs/console/funnel-kpis.md`](apps/docs/docs/console/funnel-kpis.md).
+- **`/hunt` natural-language surface** — type a hypothesis in English, get ES|QL / SPL / KQL templates back, save and schedule the hunt. HuntAgent never writes raw queries. Saved hunts deep-link into the Investigation Rail via `pivotPath`.
+- **Sixteen first-party connectors** — wave-1 (`tines`, `torq`, `falco`, `pagerduty`, `opsgenie`, `confluence_audit`) and wave-2 fixtures (`cloudflare_zt`, `sysdig`, `vault`, `snowflake`). Five severity tiers preserved end-to-end.
+- **L0–L4 automation maturity model** — [`apps/docs/docs/concepts/automation-maturity.md`](apps/docs/docs/concepts/automation-maturity.md) plus the marketing surfaces. Ladder: L0 manual → L4 fully autonomous closure with human sign-off.
+- **Public weekly benchmark scoreboard** — [`apps/docs/docs/benchmark-scoreboard.mdx`](apps/docs/docs/benchmark-scoreboard.mdx) reads `apps/docs/static/data/scoreboard.json`, refreshed weekly by `.github/workflows/wet-eval.yml`. Substrate rows are visually separated from wet-eval rows — substrate numbers can never be quoted as live agent performance.
+
+**Security & correctness wave** — 12 critical/high CVE-class fixes shipped before the v8.0 cut. See [`apps/docs/docs/operations/security.md`](apps/docs/docs/operations/security.md) for the full inventory.
+- Rule-engine `eval()` RCE eliminated — conditions are parsed to a whitelisted AST in [`services/api/app/services/rules_engine.py`](services/api/app/services/rules_engine.py) ([#116](https://github.com/beenuar/AiSOC/pull/116)).
+- `/hunts` and `/cases` tenant isolation enforced at the **query layer** (`WHERE tenant_id = …`), not via RLS alone ([#117](https://github.com/beenuar/AiSOC/pull/117), [#118](https://github.com/beenuar/AiSOC/pull/118)).
+- CORS lockdown — a shared `cors.py` is vendored byte-identical into every Python service and refuses to start with `*` + credentials in production ([#119](https://github.com/beenuar/AiSOC/pull/119)).
+- Playbook SSRF guard — every outbound `http_request` / `notify` runs through [`services/agents/app/playbook/ssrf_guard.py`](services/agents/app/playbook/ssrf_guard.py) with a cloud-metadata block list ([#120](https://github.com/beenuar/AiSOC/pull/120)).
+- Plugin-manager OCI install hardening — signed manifests verified against an allow-list, image digests pinned and re-verified on every load ([#121](https://github.com/beenuar/AiSOC/pull/121)).
+- Audit-log integrity (H-4 + M-12) — `actor_ip` spoofing closed via the new `TRUSTED_PROXIES` allow-list, secrets stripped from `changes`, hash-chain tamper-proofing ([#122](https://github.com/beenuar/AiSOC/pull/122)).
+- `/alerts/submit` abuse + replay hardening — payload caps (events / per-event bytes / total bytes), `Idempotency-Key` header, recursive `raw_event` redaction, timestamp clamping ([#123](https://github.com/beenuar/AiSOC/pull/123)).
+- Pydantic v1 → v2 settings migration ([#124](https://github.com/beenuar/AiSOC/pull/124)), bounded `eval()` + playbook timeouts ([#126](https://github.com/beenuar/AiSOC/pull/126)), one-flag dev-mode (`AISOC_DEV_MODE` — supersedes `DEV_MODE` / `SKIP_AUTH` / `AISOC_DEMO_MODE`, [#127](https://github.com/beenuar/AiSOC/pull/127)), untrusted-enrichment sanitisation before LLM ([#128](https://github.com/beenuar/AiSOC/pull/128)).
+- Python CodeQL alert count on `main` driven to zero ([#133](https://github.com/beenuar/AiSOC/pull/133), [#136](https://github.com/beenuar/AiSOC/pull/136), [#137](https://github.com/beenuar/AiSOC/pull/137)); enforced as a CI gate going forward.
+- First community contribution merged: [#135](https://github.com/beenuar/AiSOC/pull/135) (UEBA env-var alignment, closes [#134](https://github.com/beenuar/AiSOC/issues/134)). Every UEBA variable accepts both unprefixed (`DATABASE_URL`) and legacy (`UEBA_DATABASE_URL`) forms; unprefixed wins.
+
+**Stage 2 / Stage 3 platform additions** — landed alongside v8.0 wave-1.
+- **Wazuh Indexer ingest connector** — polls `wazuh-alerts-*` over HTTPX, paginates time-windowed queries, retries on 5xx; collapses Wazuh severity into the AiSOC ladder. Docs: [`apps/docs/docs/connectors/wazuh.md`](apps/docs/docs/connectors/wazuh.md). The connector registry now declares **52 first-party connectors**.
+- **auditd `file_tail` connector + `aisoc.rules` profile** — replaces the host-agent dependency for Linux endpoint visibility; 4 new detections pivot on the bundled `aisoc_*` audit keys. Docs: [`apps/docs/docs/connectors/auditd.md`](apps/docs/docs/connectors/auditd.md).
+- **Live Actions dispatcher** — generic vendor/capability surface so plugins can register executors against the in-tree taxonomy (`isolate_host`, `disable_user`, `block_ip`, …) without forking. Unknown pairs return a typed `LiveActionResult(FAILED, "executor_not_found")` — never a 500. Docs: [`apps/docs/docs/concepts/live-actions.md`](apps/docs/docs/concepts/live-actions.md).
+- **Deterministic NL → ES|QL / KQL / SPL translator** — replaces the template fallback in `/nl_query` with an IR + grammar validator; 50-pair gold eval set scores 100% syntactic, 100% semantic. Air-gapped by default; optional `gpt-4o-mini` enhancement falls back deterministically.
+- **STIX → MISP push** — every STIX 2.1 indicator/bundle published through `/api/v1/threatintel/stix/...` can now be mirrored into the configured MISP instance. Air-gap gated, with a `?push_to_misp=true` query param and a dry-run endpoint for air-gapped audits. Docs: [`apps/docs/docs/integrations/misp-push.md`](apps/docs/docs/integrations/misp-push.md).
+- **GCP Cloud Run + Cloud SQL Terraform skeleton** — serverless-first BYOC equivalent of the existing AWS module. One `terraform apply` stands AiSOC up on GCP with private-IP networking, Secret Manager, and Artifact Registry. Docs: [`apps/docs/docs/deployment/gcp.md`](apps/docs/docs/deployment/gcp.md).
+- **Blameless case post-mortem endpoint** — `GET /api/v1/cases/{case_id}/postmortem?format=json|html` produces a deterministic retrospective covering contributing factors, detection timing/gaps, response phases, blast radius, and action items. Analyst handles are explicitly redacted from the narrative. Docs: [`apps/docs/docs/operations/case-reports.md`](apps/docs/docs/operations/case-reports.md).
+- **Per-rule cross-fire FP gate** — `services/agents/tests/test_detection_fp_rate.py` replays every rule's `match_when` against every *other* rule's positive fixture; current corpus 816 native rules, worst FPR 0.49% (5% ceiling). Wired into `scripts/run_evals.py` as `suites.detection_fp_rate`.
+- **Operator-facing documentation refresh** — new pages for [notifications](apps/docs/docs/operations/notifications.md), [plugin lifecycle](apps/docs/docs/plugins/lifecycle.md), and [credentials / vault rotation](apps/docs/docs/operations/credentials.md); v2.2 architecture diagram and the corrected **52-connector count** (now including Wazuh Indexer + auditd `file_tail`) rolled through every surface.
+
+The full inventory (with file paths, env-var changes, and test counts) lives in the `[Unreleased]` section of [`CHANGELOG.md`](CHANGELOG.md).
+
+---
+
## How AiSOC compares
| Capability | AiSOC | Wazuh | Splunk ES | Closed-source AI SOC |
@@ -939,6 +988,23 @@ The public roadmap lives in [ROADMAP.md](ROADMAP.md). All releases through **v7.
- **v7.1.0** — Cloud Security Coverage Wave: documentation backfill for Wiz, AWS Security Hub, and Lacework; two new CNAPP connectors (Prisma Cloud, Orca); three native AWS connectors (GuardDuty, CloudTrail, VPC Flow Logs); dual-mode Kubernetes audit log connector (apiserver webhook + file_tail) with a new `k8s-audit` ingest template.
- **v7.3.0** — Founder-flow series (PR1–PR7): `docker-compose.dev.yml` alias, `.env.example` cleanup with a pre-filled `AISOC_CREDENTIAL_KEY`, `scripts/run_evals.py --suite` CLI contract, `aisoc serve` / `aisoc db upgrade` / `aisoc mcp serve|install`, the `aisoc submit` CLI command + canonical `examples/alerts/lateral-movement.json` fixture, and the Path C founder-style CLI walkthrough in [`apps/docs/docs/quickstart.md`](apps/docs/docs/quickstart.md). The recorded "fresh-clone to first alert" demo now runs verbatim on `main`.
- **v7.3.1** — Smoke-test hotfix: idempotent migrations (`005_compliance.sql`, `025_connectors_click_and_connect.sql`, new `042_alerts_schema_drift_fix.sql` adding eleven missing `alerts` columns), and a new `POST /api/v1/alerts/submit` endpoint that synthesises an `Alert` row directly from a batch of OCSF events. `aisoc submit` now targets the new endpoint, so the web console at `/alerts` lights up immediately on a fresh clone without Kafka / Fusion in the loop.
+- **v1.5 console workbench wave (PR-1 → PR-8, on `main`, not yet tagged)** — the SOC operator surface stops being a list of pages and becomes a workbench:
+ - **PR-1: Global time-window selector + topbar context** — one selector at the top of the console drives every page; persists across reloads, deep-linkable via URL param.
+ - **PR-2: Tenant switcher + role badge** — MSSP operators flip tenants from the topbar; the role badge makes it impossible to confuse a `viewer` session with an `admin` session. New endpoint: `GET /api/v1/tenants/me/identity`.
+ - **PR-3: Critical severity tier** — the severity ladder is now `info | low | medium | high | critical`. Vendor-native criticals map straight through; confidence (`alert.confidence`, 0–100) is now decoupled from severity.
+ - **PR-4 / W6: Investigation Rail** — `/alerts` is now a two-pane workbench with narrative, related entities (`pivotPath` deep links), 6-event mini-timeline, and structured recommended actions. Fusion writes a deterministic correlation narrative at fuse time. Docs: [`apps/docs/docs/console/investigation-rail.md`](apps/docs/docs/console/investigation-rail.md).
+ - **PR-5 / W7: Investigation Queue workbench** — `/queue` is the page a Tier-1 analyst lives on: server-anchored SLA countdowns, atomic claim semantics, one-click triage. Docs: [`apps/docs/docs/console/queue.md`](apps/docs/docs/console/queue.md).
+ - **PR-6 / W8: Rule Tuning workbench** — `/detection/tuning` ranks noisy rules by precision impact and ships one-click suppression + allow-list edits with full audit trail. Docs: [`apps/docs/docs/console/rule-tuning.md`](apps/docs/docs/console/rule-tuning.md).
+ - **PR-7: Operations funnel + pipeline health** — new `/metrics/funnel` and `/health/pipeline` endpoints feed the `FunnelKpiBar` (Detected → Triaged → Investigated → Resolved) and an Efficiency Report. Docs: [`apps/docs/docs/console/funnel-kpis.md`](apps/docs/docs/console/funnel-kpis.md).
+ - **PR-8: Zero-prerequisite installer** — `install.sh` / `install.ps1` bootstrap from a clean machine (Docker, Compose, Node, pnpm, Python) with idempotency and a graduated `uninstall.sh`. Surfaced as **Path 0** in [`apps/docs/docs/quickstart.md`](apps/docs/docs/quickstart.md).
+- **Stage 2 / Stage 3 platform additions** — landed alongside v8.0 wave-1:
+ - **Wazuh Indexer ingest connector** + auditd `file_tail` connector + `aisoc.rules` audit profile (replaces the host-agent dependency for Linux endpoint visibility). The connector registry now declares **52 first-party connectors**.
+ - **Live Actions dispatcher** — generic vendor/capability surface; plugins register executors against the in-tree taxonomy (`isolate_host`, `disable_user`, `block_ip`, …) without forking. Docs: [`apps/docs/docs/concepts/live-actions.md`](apps/docs/docs/concepts/live-actions.md).
+ - **Deterministic NL → ES|QL / KQL / SPL translator** — replaces the template fallback in `/nl_query` with an IR + grammar validator; 50-pair gold eval set scores 100% syntactic, 100% semantic. Air-gapped by default; optional `gpt-4o-mini` enhancement falls back deterministically.
+ - **STIX → MISP push** + air-gap dry-run endpoint. Docs: [`apps/docs/docs/integrations/misp-push.md`](apps/docs/docs/integrations/misp-push.md).
+ - **GCP Cloud Run + Cloud SQL Terraform skeleton** — serverless-first BYOC equivalent of the existing AWS module. Docs: [`apps/docs/docs/deployment/gcp.md`](apps/docs/docs/deployment/gcp.md).
+ - **Blameless case post-mortem endpoint** — `GET /api/v1/cases/{case_id}/postmortem?format=json|html`; analyst handles are redacted from the narrative. Docs: [`apps/docs/docs/operations/case-reports.md`](apps/docs/docs/operations/case-reports.md).
+ - **Per-rule cross-fire FP gate** — `services/agents/tests/test_detection_fp_rate.py` replays every rule's `match_when` against every *other* rule's positive fixture; 816 native rules, worst FPR 0.49% (5% ceiling).
- **v8.0 wave-1 (on `main`, not yet tagged)** — Architectural foundation for the v8.0 line, landed by [#125](https://github.com/beenuar/AiSOC/pull/125) plus the security and correctness wave that followed:
- **Graph at ingest** — Neo4j v1.0 schema (17 node labels, 14 edge types), batched UNWIND upserts off the Kafka consumer, `security.graph_updates` topic, and OCSF extractors for AWS Security Hub / GitHub audit / Okta system log / Kubernetes audit (`services/ingest/internal/graph/`).
- **Four-agent rebrand** — `DetectAgent`, `TriageAgent`, `HuntAgent`, `RespondAgent` are now the public façade in `services/agents/app/agents/`, with back-compat aliases so existing imports keep working.
@@ -946,7 +1012,7 @@ The public roadmap lives in [ROADMAP.md](ROADMAP.md). All releases through **v7.
- **Sixteen first-party connectors** — wave-1 (6 fully tested: tines, torq, falco, pagerduty, opsgenie, confluence_audit) and wave-2 (10 wip, of which cloudflare_zt / sysdig / vault / snowflake already have full fixtures + tests).
- **L0–L4 automation maturity** — `apps/web/content/papers/l0-l4-automation-maturity.md` + PDF, plus the marketing surfaces (sovereign one-pager, three anchor blog posts, reference-customer template).
- **Public weekly benchmark scoreboard** — `apps/docs/docs/benchmark-scoreboard.mdx` + `apps/docs/static/data/scoreboard.json`, fed by the weekly `wet-eval.yml` GitHub Action.
- - **Security wave** — 8 critical/high CVE-class fixes shipped before the v8.0 cut: rule-engine `eval()` RCE elimination ([#116](https://github.com/beenuar/AiSOC/pull/116)), `/hunts` and `/cases` tenant isolation ([#117](https://github.com/beenuar/AiSOC/pull/117), [#118](https://github.com/beenuar/AiSOC/pull/118)), CORS lockdown ([#119](https://github.com/beenuar/AiSOC/pull/119)), playbook SSRF guard ([#120](https://github.com/beenuar/AiSOC/pull/120)), plugin-manager OCI install hardening ([#121](https://github.com/beenuar/AiSOC/pull/121)), audit-log trust-boundary closures ([#122](https://github.com/beenuar/AiSOC/pull/122)), `/alerts/submit` abuse + replay hardening ([#123](https://github.com/beenuar/AiSOC/pull/123)), Pydantic v1 → v2 settings migration ([#124](https://github.com/beenuar/AiSOC/pull/124)), bounded eval + playbook timeouts ([#126](https://github.com/beenuar/AiSOC/pull/126)), dev-mode unification ([#127](https://github.com/beenuar/AiSOC/pull/127)), and untrusted-enrichment sanitisation before LLM ([#128](https://github.com/beenuar/AiSOC/pull/128)).
+ - **Security wave** — 12 critical/high CVE-class fixes shipped before the v8.0 cut: rule-engine `eval()` RCE elimination ([#116](https://github.com/beenuar/AiSOC/pull/116)), `/hunts` and `/cases` tenant isolation ([#117](https://github.com/beenuar/AiSOC/pull/117), [#118](https://github.com/beenuar/AiSOC/pull/118)), CORS lockdown ([#119](https://github.com/beenuar/AiSOC/pull/119)), playbook SSRF guard ([#120](https://github.com/beenuar/AiSOC/pull/120)), plugin-manager OCI install hardening ([#121](https://github.com/beenuar/AiSOC/pull/121)), audit-log trust-boundary closures ([#122](https://github.com/beenuar/AiSOC/pull/122)), `/alerts/submit` abuse + replay hardening ([#123](https://github.com/beenuar/AiSOC/pull/123)), Pydantic v1 → v2 settings migration ([#124](https://github.com/beenuar/AiSOC/pull/124)), bounded eval + playbook timeouts ([#126](https://github.com/beenuar/AiSOC/pull/126)), dev-mode unification ([#127](https://github.com/beenuar/AiSOC/pull/127)), and untrusted-enrichment sanitisation before LLM ([#128](https://github.com/beenuar/AiSOC/pull/128)).
- **Static-analysis hygiene** — Python CodeQL alert count on `main` driven to zero by [#133](https://github.com/beenuar/AiSOC/pull/133), [#136](https://github.com/beenuar/AiSOC/pull/136), and [#137](https://github.com/beenuar/AiSOC/pull/137); enforced as a CI gate going forward.
- **First community contribution** — [#135](https://github.com/beenuar/AiSOC/pull/135) (UEBA service environment-variable alignment, closes [#134](https://github.com/beenuar/AiSOC/issues/134)). Every UEBA variable now accepts both unprefixed (`DATABASE_URL`) and legacy (`UEBA_DATABASE_URL`) forms; unprefixed wins. Documented in [Environment variables](apps/docs/docs/deployment/env-vars.md#ueba-service-servicesueba).
diff --git a/apps/docs/docs/intro.md b/apps/docs/docs/intro.md
index 261cf59af..5f0231e20 100644
--- a/apps/docs/docs/intro.md
+++ b/apps/docs/docs/intro.md
@@ -10,9 +10,44 @@ auditable: every LLM prompt, tool call, evidence citation, and decision is
recorded in a replayable Investigation Ledger, and the substrate is gated by a
public, reproducible eval harness on every PR targeting `main` / `develop`.
+:::tip What's new (last 48 hours)
+
+The console is now a workbench, not a list of pages. Seven PRs in the
+**v1.5 wave** added a global [time-window selector](./console/funnel-kpis),
+tenant switcher + role badge in the topbar, a five-tier severity ladder
+with **`critical`** restored end-to-end, the [Investigation Rail](./console/investigation-rail)
+on `/alerts` (PR-4), a server-anchored
+[Investigation Queue workbench](./console/queue) (PR-5), a
+[Rule Tuning workbench](./console/rule-tuning) (PR-6),
+[operations funnel + pipeline-health KPIs](./console/funnel-kpis) (PR-7),
+and a [zero-prerequisite installer](./installation) (PR-8) that bootstraps
+Docker, Node, pnpm, and Python from a clean machine.
+
+Underneath, **v8.0 wave-1** landed the [graph-at-ingest entity store](./architecture/graph-schema)
+(Neo4j, 17 node labels / 14 edge types, written inline with Kafka
+consumption), the four-agent rebrand (`DetectAgent`, `TriageAgent`,
+`HuntAgent`, `RespondAgent` — see the [funnel KPIs](./console/funnel-kpis)
+page for the funnel stages they own), a natural-language `/hunt` surface
+that translates plain English into ES|QL / SPL / KQL, the
+[L0–L4 automation maturity model](./concepts/automation-maturity), and a
+[public weekly benchmark scoreboard](./benchmark-scoreboard) refreshed by
+CI.
+
+A simultaneous security wave fixed **12 critical/high CVE-class issues**:
+the rule-engine `eval()` RCE is gone, tenant isolation on `/hunts` and
+`/cases` is now query-layer enforced, CORS refuses to start with
+`AISOC_CORS_ORIGINS=*` in production, playbook outbound traffic goes
+through an [SSRF guard](./operations/security), plugin OCI installs verify
+signed manifests and pin image digests, audit logs are hash-chained with
+sanitized `actor_ip`, and Python CodeQL alerts on `main` are zero — see
+the [security operations page](./operations/security#static-analysis-codeql)
+for the full list.
+
+:::
+
## Capabilities
-- **Click-and-connect cloud connectors** — pick from a 50-connector catalog spanning EDR, SIEM, cloud, IAM, SaaS, VCS, network, ITSM, vuln, and email-security sources (CrowdStrike, SentinelOne, Cortex XDR, Splunk, Microsoft Sentinel, AWS Security Hub, Defender XDR, GCP Cloud Audit, GCP SCC, M365, Entra ID, Azure Activity, Google Workspace, Okta, Duo Security, Cloudflare, Tailscale, GitHub, Wiz, Snyk, Zscaler, Proofpoint, ServiceNow, Jira, 1Password, and 25 more — see [Architecture](./architecture)). Fill a schema-driven form, click `Test connection` for a live auth round-trip, and `Save & enable`. Secrets are encrypted at the application layer with a Fernet [`CredentialVault`](./operations/credentials) before they hit Postgres; an in-process APScheduler polls each enabled instance and pushes normalized OCSF events through to the ingest spine. Setup walkthroughs: [docs/connectors](./connectors).
+- **Click-and-connect cloud connectors** — pick from a **52-connector** catalog spanning EDR, SIEM, cloud, IAM, SaaS, VCS, network, ITSM, vuln, and email-security sources (CrowdStrike, SentinelOne, Cortex XDR, Splunk, Microsoft Sentinel, AWS Security Hub, Defender XDR, GCP Cloud Audit, GCP SCC, M365, Entra ID, Azure Activity, Google Workspace, Okta, Duo Security, Cloudflare, Tailscale, GitHub, Wiz, Snyk, Zscaler, Proofpoint, ServiceNow, Jira, 1Password, **Wazuh Indexer**, **auditd `file_tail`**, and 25 more — see [Architecture](./architecture)). Fill a schema-driven form, click `Test connection` for a live auth round-trip, and `Save & enable`. Secrets are encrypted at the application layer with a Fernet [`CredentialVault`](./operations/credentials) before they hit Postgres; an in-process APScheduler polls each enabled instance and pushes normalized OCSF events through to the ingest spine. Setup walkthroughs: [docs/connectors](./connectors).
- **Investigation Ledger** — every prompt, response, evidence citation, and tool call the agent emits is logged step-by-step and replayable on each case.
- **Public eval harness** — alert reduction (a real measurement on a fixed noisy stream) plus MITRE-tactic, investigation-completeness, and response-quality substrate self-consistency gates. Reproducible with one command and run in CI on every PR. The [eval harness page](./benchmark) documents what each suite does and does not measure.
- **Ambient Copilot** — context-aware next-action suggestions on every alert, case, rule, and playbook page; one click runs the right agent tool with the right payload.
@@ -26,7 +61,7 @@ public, reproducible eval harness on every PR targeting `main` / `develop`.
- **MSSP executive dashboard** — cross-tenant view with aggregated KPIs (MTTD, MTTR, SLA compliance, ARR) and per-tenant risk scoring for managed security providers.
- **Alert noise tuning** — closed-loop dashboard driven by analyst TP/FP verdicts, with auto-tune toggles per rule and monthly noise trend visualization.
- **Team analytics & gamification** — analyst leaderboard with sortable performance metrics, badges (MITRE Master, Speed Demon, Zero FP, Precision Strike), and team highlights feed.
-- **STIX/TAXII publishing** — bidirectional threat intel sharing with STIX 2.1 bundle creation and TAXII collection management.
+- **STIX/TAXII publishing** — bidirectional threat intel sharing with STIX 2.1 bundle creation and TAXII collection management. Optional [STIX → MISP push](./integrations/misp-push) republishes high-confidence indicators and bundles to a MISP server with `dry-run` / `health` endpoints for fail-closed staging rollouts.
- **Automated compliance evidence** — continuous collection from connected sources across SOC 2, ISO 27001, NIST CSF, PCI-DSS, HIPAA, and DORA frameworks.
- **AI-generated incident reports** — one-click PDF/MD export of case investigation summaries directly from the case detail view.
- **Real-time fusion** — Kafka spine with sub-second alert ingestion, Bloom-filter dedup on 10M+ IOCs, ML scoring (LightGBM + Isolation Forest).
@@ -40,7 +75,8 @@ public, reproducible eval harness on every PR targeting `main` / `develop`.
- **Detection drift monitoring** — scheduled ATT&CK coverage snapshots enable "delta vs. last week" tracking on the MITRE heatmap.
- **Hunt-as-Code** — YAML hunt definitions in `hunts/` with hypothesis, indicator matching (equals/in/regex/gte/lte/exists/contains_any/iendswith), and APScheduler-driven continuous execution. Results flow to Postgres via the Hunt API.
- **Risk-Based Alerting (RBA)** — alerts contribute time-decayed risk points to entities (user, host, IP, domain). When an entity's score crosses a configurable threshold, AiSOC promotes it to an incident with contributing alerts attached.
-- **Federated search** — translate a single query into SPL, KQL, and ES|QL and fan out to connected SIEMs. Results are merged and deduplicated.
+- **Federated search** — translate a single query into SPL, KQL, and ES|QL and fan out to connected SIEMs. Results are merged and deduplicated. A new natural-language `/hunt` surface accepts plain English and emits a deterministic template (the `HuntAgent` never writes raw queries), with saved hunts that deep-link into the [Investigation Rail](./console/investigation-rail).
+- **Live Actions dispatcher** — push real response actions to connected EDR / IAM / network surfaces (isolate host, disable account, block IP, revoke session) with HMAC-signed idempotency keys and human-approval gates on destructive actions. ([Live Actions](./concepts/live-actions))
- **Slack ChatOps bot** — dedicated `aisoc` slash commands (`/aisoc triage`, `/aisoc approve`, `/aisoc status`, `/aisoc summary`) with interactive approval buttons and HMAC-signed callbacks. Human-in-the-loop triage without opening the console. (`services/slack-bot/`)
- **ChatOps verification** — Slack/Teams interactive prompts with HMAC-signed callback choices (acknowledge / deny / escalate) for human-in-the-loop response actions.
- **AI executive digest PDF** — branded A4 PDF with KPI tiles, alert-volume chart, top-rule table, and remediation summary, auto-emailed Monday 06:00 UTC via APScheduler. (`services/api/app/services/digest_pdf.py`)
@@ -89,16 +125,25 @@ See the full [Architecture](./architecture) page for the detailed service map an
- [Glossary](./glossary) — security and AiSOC-specific terminology in one place
- [FAQ](./operations/faq) — common questions about scope, deployment, data, and licensing
+### Console workbenches (v1.5)
+
+- [Investigation Rail](./console/investigation-rail) — `/alerts` two-pane workbench (PR-4)
+- [Investigation Queue](./console/queue) — `/queue` workbench with atomic claim semantics (PR-5)
+- [Rule Tuning](./console/rule-tuning) — `/detection/tuning` workbench (PR-6)
+- [Funnel KPIs & pipeline health](./console/funnel-kpis) — operations funnel + pipeline health (PR-7)
+
### Core concepts
- [Detections](./concepts/detections)
- [Playbooks](./concepts/playbooks) — anatomy, triggers, conditions, approvals
- [Cases](./concepts/cases) — including the Investigation Ledger
+- [Live Actions](./concepts/live-actions) — push real response actions to connected surfaces with approvals
+- [Automation maturity (L0–L4)](./concepts/automation-maturity) — how AiSOC climbs from human-driven to fully autonomous closure
- [Capabilities](./concepts/capabilities) — full feature inventory by tier
### Connect & extend
-- [Connectors](./connectors) — click-and-connect catalog with 50 cloud / SaaS / SIEM / EDR / IAM / VCS / network / ITSM / vuln / email-security sources
+- [Connectors](./connectors) — click-and-connect catalog with 52 cloud / SaaS / SIEM / EDR / IAM / VCS / network / ITSM / vuln / email-security sources, including [Wazuh Indexer](./connectors/wazuh) and [auditd `file_tail`](./connectors/auditd)
- [MCP Integration](./integrations/mcp) — connect Claude / Cursor / Continue / Cody
- [Plugin SDK (Python)](./plugins/python-sdk)
- [Plugin SDK (Go)](./plugins/go-sdk)
@@ -122,5 +167,6 @@ See the full [Architecture](./architecture) page for the detailed service map an
### Quality & community
- [Public eval harness](./benchmark) — alert reduction plus MITRE / completeness / response-quality gates
+- [Public weekly benchmark scoreboard](./benchmark-scoreboard) — community submission leaderboard refreshed weekly by CI
- [Contributing](./contributing/dev-setup) — local dev setup
- [Contribution guidelines](./contributing/guidelines) — branching, PR template, testing, plan files