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.
Python agentic-aiai-securityalert-triageblue-teamcybersecuritydetection-engineeringincident-responselanggraphllm-agentsmcpmitre-attackmodel-context-protocolpurple-teamsecurity-operationsself-hostedsiemsoarsocthreat-detectionthreat-intelligence
chore(repo): first-5-minutes quick wins (codespaces, README, support docs) (#352)
Beenu Arora8129286c81d0
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.jsonnew file mode 100644index 000000000..0efd489ec--- /dev/null+++ b/.devcontainer/devcontainer.json@@ -0,0 +1,63 @@+{+ "name": "AiSOC — one-click dev",+ "image": "mcr.microsoft.com/devcontainers/javascript-node:1-20-bookworm",+ "features": {+ "ghcr.io/devcontainers/features/docker-in-docker:2": {+ "moby": true,+ "version": "latest"+ },+ "ghcr.io/devcontainers/features/python:1": {+ "version": "3.11"+ },+ "ghcr.io/devcontainers/features/go:1": {+ "version": "1.22"+ },+ "ghcr.io/devcontainers/features/github-cli:1": {}+ },+ "hostRequirements": {+ "cpus": 4,+ "memory": "16gb",+ "storage": "32gb"+ },+ "forwardPorts": [3000, 3001, 8000, 8001, 8086],+ "portsAttributes": {+ "3000": {+ "label": "AiSOC console (web)",+ "onAutoForward": "openPreview"+ },+ "8000": {+ "label": "AiSOC API (FastAPI / OpenAPI)"+ },+ "8001": {+ "label": "AiSOC agents (LangGraph)"+ },+ "8086": {+ "label": "AiSOC realtime (WebSocket)"+ },+ "3001": {+ "label": "Docs site"+ }+ },+ "postCreateCommand": "corepack enable && corepack prepare [email protected] --activate && pnpm install --frozen-lockfile=false && echo '\\n\\n>>> AiSOC dev container is ready.\\n>>> To run the demo, open a terminal and run:\\n>>> pnpm aisoc:demo --no-open\\n>>> Then click the forwarded port 3000 in the Ports panel.\\n'",+ "remoteUser": "node",+ "containerEnv": {+ "AISOC_DEV_MODE": "1"+ },+ "customizations": {+ "vscode": {+ "extensions": [+ "ms-azuretools.vscode-docker",+ "ms-python.python",+ "ms-python.vscode-pylance",+ "esbenp.prettier-vscode",+ "dbaeumer.vscode-eslint",+ "golang.go",+ "redhat.vscode-yaml"+ ],+ "settings": {+ "editor.formatOnSave": false,+ "files.eol": "\n"+ }+ }+ }+}diff --git a/.github/FUNDING.yml b/.github/FUNDING.ymlnew file mode 100644index 000000000..0694cbd76--- /dev/null+++ b/.github/FUNDING.yml@@ -0,0 +1,18 @@+# Funding model — see also https://github.com/beenuar/AiSOC/blob/main/SUPPORT.md+#+# AiSOC is MIT-licensed. We do not currently accept funding through+# GitHub Sponsors or Open Collective. If that changes, this file is the+# canonical place where the link will appear. Keeping this stub file in+# the repo unlocks the GitHub "Sponsor" tab once a destination is added.+#+# Reference: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/displaying-a-sponsor-button-in-your-repository++# github: [beenuar]+# open_collective: aisoc+# patreon:+# tidelift:+# community_bridge:+# liberapay:+# issuehunt:+# otechie:+# custom: ["https://tryaisoc.com/support"]diff --git a/.github/ISSUE_TEMPLATE/good_first_issue.yml b/.github/ISSUE_TEMPLATE/good_first_issue.ymlnew file mode 100644index 000000000..22fbd7e96--- /dev/null+++ b/.github/ISSUE_TEMPLATE/good_first_issue.yml@@ -0,0 +1,95 @@+name: Good first issue (proposal)+description: Propose a small, well-scoped task suitable for first-time contributors+title: "[Good first issue]: "+labels: ["good first issue", "triage"]+body:+ - type: markdown+ attributes:+ value: |+ Use this template when you want to propose a small, well-scoped task+ that a first-time contributor could pick up in a couple of evenings.++ **Looking to *take* an existing good-first-issue?** Browse the+ [open list here](https://github.com/beenuar/AiSOC/issues?q=is%3Aopen+label%3A%22good+first+issue%22)+ instead and leave a comment saying you'd like to work on it.++ - type: textarea+ id: task+ attributes:+ label: What's the task?+ description: One paragraph describing the concrete change.+ placeholder: |+ Example: Add a Sigma detection rule for AWS IAM `CreateUser` in a+ prod account by a non-bot principal under `detections/cloud/`.+ validations:+ required: true++ - type: textarea+ id: why+ attributes:+ label: Why is this a good first issue?+ description: |+ Small surface, no breaking changes, doesn't require touching multiple+ services, has clear acceptance criteria.+ placeholder: |+ - Single file under `detections/cloud/`+ - Existing fixture pattern in `detections/fixtures/`+ - No service code changes+ validations:+ required: true++ - type: textarea+ id: pointers+ attributes:+ label: Where in the codebase?+ description: File / directory pointers so a newcomer doesn't have to spelunk.+ placeholder: |+ - Drop the rule in `detections/cloud/aws_iam_createuser_anomaly.yaml`+ - Mirror the structure of `detections/cloud/aws_iam_*.yaml`+ - Add positive and negative fixtures in `detections/fixtures/`+ - Validate with `python3 scripts/validate_detections.py`+ validations:+ required: true++ - type: textarea+ id: acceptance+ attributes:+ label: Acceptance criteria+ description: How does the contributor know they're done?+ placeholder: |+ - [ ] Rule passes `scripts/validate_detections.py`+ - [ ] Fixture covers at least one positive and one negative case+ - [ ] `pytest services/agents/tests/test_detection_fp_rate.py -k aws_iam_createuser` is green+ - [ ] README of `detections/cloud/` mentions the new rule+ validations:+ required: true++ - type: dropdown+ id: area+ attributes:+ label: Area+ multiple: false+ options:+ - Detections (Sigma / YAML rules)+ - Connectors (new data source)+ - Playbooks (SOAR YAML)+ - Hunts (Hunt-as-Code YAML)+ - Web console UI polish+ - Docs / tutorials+ - Tests+ - Other+ validations:+ required: true++ - type: input+ id: estimate+ attributes:+ label: Estimated effort+ description: Rough estimate so the contributor knows what they're signing up for.+ placeholder: e.g. 1-2 evenings, ~50 lines of YAML + 1 fixture++ - type: textarea+ id: notes+ attributes:+ label: Mentor / reviewer notes+ description: Optional. Who can answer questions? What gotchas should the newcomer watch out for?diff --git a/.github/pull_request_template.md b/.github/pull_request_template.mdnew file mode 100644index 000000000..1e5b18deb--- /dev/null+++ b/.github/pull_request_template.md@@ -0,0 +1,87 @@+## Summary++<!-- Describe the changes introduced by this PR in 2-3 sentences. -->++## Type of change++- [ ] Bug fix (non-breaking change that fixes an issue)+- [ ] New feature (non-breaking change that adds functionality)+- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)+- [ ] Documentation update+- [ ] Refactor / tech debt+- [ ] CI / infra change++## Related issues++Closes #<!-- issue number -->++## Changes++<!-- List the key files / areas changed and why. -->++-+-++## Testing++<!-- Describe how you tested these changes. -->++- [ ] Unit tests added / updated+- [ ] Integration tests pass locally+- [ ] Manually tested (describe steps below)++<details>+<summary>Manual test steps</summary>++1.+2.++</details>++## Screenshots (if UI changes)++<!-- Before / after screenshots or screen recording. -->++## Checklist++- [ ] My code follows the style guidelines of this project (`ruff`, `eslint`, `gofmt`)+- [ ] I have performed a self-review of my own code+- [ ] I have added tests that prove my fix is effective or that my feature works+- [ ] New and existing unit tests pass locally+- [ ] I have updated documentation as needed (README, CHANGELOG, CONTRIBUTING)+- [ ] My changes do not introduce new linter warnings+- [ ] I have checked for sensitive data / credentials in my diff++## Eval harness (required for substrate / playbook / detection changes)++> **Required if this PR touches:** `services/agents/`, `services/api/app/orchestrator/`,+> `playbooks/packs/`, `detections/`, `services/agents/tests/eval_data/`,+> `scripts/generate_eval_incidents.py`, `scripts/run_evals.py`, or any prompt /+> RAG corpus / response template under those trees.+>+> Run `python3 scripts/run_evals.py --json --out /tmp/report.json` before and+> after your change and paste both summary blocks below. Any axis that+> regresses must be called out explicitly. Playbook-touching PRs must include+> the `playbook_completion_rate` block — orphan playbooks / templates fail CI.++<details>+<summary><strong>Before</strong> (paste <code>scripts/run_evals.py</code> output on base branch)</summary>++```text++```++</details>++<details>+<summary><strong>After</strong> (paste <code>scripts/run_evals.py</code> output on this branch)</summary>++```text++```++</details>++- [ ] Not applicable — this PR does not touch substrate, playbooks, detections, or eval inputs+- [ ] No axis regressed+- [ ] An axis regressed; rationale and follow-up are described in the Summary abovediff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex c6303e48a..b73ee6381 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -32,6 +32,42 @@ jobs:echo "$BODY" >> $GITHUB_OUTPUTecho "EOF" >> $GITHUB_OUTPUT+ # Reproducible source tarball — excludes the .git directory but keeps+ # everything a user needs to build / inspect the release contents+ # offline.+ - name: Build source tarball+ run: |+ mkdir -p dist+ VERSION="${{ steps.version.outputs.VERSION }}"+ git archive --format=tar.gz \+ --prefix="aisoc-${VERSION#v}/" \+ -o "dist/aisoc-${VERSION}-source.tar.gz" \+ "$GITHUB_REF_NAME"++ # SBOM (SPDX 2.3 JSON) so downstream users can vet what's in the+ # release without re-running their own scanners.+ - name: Generate SBOM (SPDX JSON)+ uses: anchore/sbom-action@v0+ with:+ path: .+ format: spdx-json+ output-file: dist/aisoc-sbom-${{ steps.version.outputs.VERSION }}.spdx.json+ upload-artifact: false+ upload-release-assets: false++ # Checksums for every file in dist/ — both SHA-256 and SHA-512 so we+ # cover both common verification preferences.+ - name: Compute checksums+ working-directory: dist+ run: |+ : > checksums.txt+ for f in *; do+ if [ "$f" = "checksums.txt" ]; then continue; fi+ sha256sum "$f" >> checksums.txt+ sha512sum "$f" >> checksums.txt+ done+ cat checksums.txt+- name: Create Releaseuses: softprops/action-gh-release@v3with:@@ -39,6 +75,10 @@ jobs:body: ${{ steps.changelog.outputs.BODY }}draft: falseprerelease: ${{ contains(github.ref_name, '-') }}+ files: |+ dist/aisoc-${{ steps.version.outputs.VERSION }}-source.tar.gz+ dist/aisoc-sbom-${{ steps.version.outputs.VERSION }}.spdx.json+ dist/checksums.txt# Build & push Docker images#diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.ymlnew file mode 100644index 000000000..d40a6ac52--- /dev/null+++ b/.github/workflows/scorecard.yml@@ -0,0 +1,47 @@+name: OpenSSF Scorecard++on:+ branch_protection_rule:+ schedule:+ - cron: "24 6 * * 1"+ push:+ branches: [main]+ workflow_dispatch:++permissions: read-all++jobs:+ analysis:+ name: Scorecard analysis+ runs-on: ubuntu-latest+ permissions:+ # Needed to upload the results to code-scanning dashboard.+ security-events: write+ # Needed to publish results and get a badge (see publish_results below).+ id-token: write+ contents: read+ actions: read+ steps:+ - name: Checkout+ uses: actions/checkout@v5+ with:+ persist-credentials: false++ - name: Run analysis+ uses: ossf/[email protected]+ with:+ results_file: results.sarif+ results_format: sarif+ publish_results: true++ - name: Upload artifact+ uses: actions/upload-artifact@v5+ with:+ name: SARIF file+ path: results.sarif+ retention-days: 5++ - name: Upload to code-scanning+ uses: github/codeql-action/upload-sarif@v3+ with:+ sarif_file: results.sarifdiff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex ecb89669d..7e285dbf0 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -4,7 +4,42 @@ Thank you for your interest in contributing to AiSOC! This document provides gui## Code of Conduct-By participating in this project, you agree to abide by our Code of Conduct. Please be respectful and constructive in all interactions.+By participating in this project, you agree to abide by our [Code of Conduct](CODE_OF_CONDUCT.md). Please be respectful and constructive in all interactions.++## Your first 30 minutes++If you've never contributed to AiSOC before, here's the shortest path from+"nice repo" to "merged PR":++1. **Run the demo so you know what you're contributing to.** Either open+ the repo in [GitHub Codespaces](https://codespaces.new/beenuar/AiSOC?quickstart=1)+ (zero install, ~5 min) or run `pnpm aisoc:demo` locally. When the+ browser opens at `/cases/INC-RT-001?tab=ledger`, click through the+ Investigation Ledger so you've seen what the agent does.+2. **Find a good first issue.** Browse the open+ [`good first issue`](https://github.com/beenuar/AiSOC/issues?q=is%3Aopen+label%3A%22good+first+issue%22)+ list and leave a comment on one saying you'd like to work on it. If+ nothing fits, look at:+ - [`detections/`](detections/) — new Sigma rules, with positive/negative+ fixtures in [`detections/fixtures/`](detections/fixtures/).+ - [`hunts/`](hunts/) — Hunt-as-Code YAML hypotheses.+ - [`playbooks/`](playbooks/) — SOAR playbooks.+ - [`apps/docs/docs/`](apps/docs/docs/) — docs improvements.+3. **Set up your fork.**+ ```bash+ gh repo fork beenuar/AiSOC --clone+ cd AiSOC+ git remote add upstream https://github.com/beenuar/AiSOC.git+ git checkout -b feature/<short-name>+ ```+4. **Make the change, run the relevant validators / tests, and open the+ PR.** GitHub will auto-fill the default+ [`pull_request_template.md`](.github/pull_request_template.md) — fill+ it in. The Eval-harness section is required for substrate, playbook,+ or detection changes; check the "Not applicable" box otherwise.++If you get stuck, [open a Q&A discussion](https://github.com/beenuar/AiSOC/discussions/new?category=q-a)+— don't suffer in silence.## Getting Starteddiff --git a/LIVE-DEMO.md b/LIVE-DEMO.mdnew file mode 100644index 000000000..311f40652--- /dev/null+++ b/LIVE-DEMO.md@@ -0,0 +1,112 @@+# Live demo at `tryaisoc.com` — uptime, fallbacks, and how to revive it++The community-maintained live demo at <https://tryaisoc.com> is a real+AiSOC instance running on Fly.io, fronted by a Cloudflare Tunnel. It is+**not** an enterprise SLA — it is best-effort, and it can go offline.++## If `tryaisoc.com` is down right now++**Always-on fallback:** open the repo in+[GitHub Codespaces](https://codespaces.new/beenuar/AiSOC?quickstart=1).+The devcontainer at [`.devcontainer/devcontainer.json`](.devcontainer/devcontainer.json)+will bring up Node 20, Python 3.11, Go 1.22, Docker-in-Docker, and the+GitHub CLI for you. Then:++```bash+pnpm aisoc:demo --no-open+```++Click the forwarded port `3000` in the **Ports** panel when prompted —+that's the AiSOC console.++If you have Docker locally, the same one-liner works on your machine:++```bash+git clone https://github.com/beenuar/AiSOC && cd AiSOC && pnpm aisoc:demo+```++## What "down" usually means++In rough order of likelihood:++1. **Fly.io machine went to sleep.** The smallest paid plan can scale to+ zero when idle. First request after sleep is ~30 s slow as the+ machine warms up — wait, then refresh.+2. **The `release_command` (migrations + seed) failed on the latest+ deploy.** Common after a schema migration. Maintainers will roll back+ or hotfix.+3. **Cloudflare Tunnel reconnect.** The tunnel agent occasionally needs+ a restart after a Cloudflare control-plane refresh.+4. **The maintainer's free Fly.io minutes ran out.** Should be rare, but+ not impossible.++## Bringing it back (for maintainers)++You'll need:++- Fly CLI installed (`flyctl auth login` against the AiSOC org)+- Cloudflare API token with `Tunnel:Edit` for the `tryaisoc.com` zone++Then:++```bash+# 1. Check Fly state+flyctl status -a aisoc-api+flyctl status -a aisoc-agents+flyctl status -a aisoc-web+flyctl status -a aisoc-realtime++# 2. Look at the release_command output of the most recent deploy+flyctl releases -a aisoc-api | head+flyctl logs -a aisoc-api | tail -200++# 3. If it's just sleeping, wake it+flyctl machine start --select -a aisoc-api+flyctl machine start --select -a aisoc-agents+flyctl machine start --select -a aisoc-web+flyctl machine start --select -a aisoc-realtime++# 4. If migrations / seed failed, redeploy from main+git checkout main+git pull --rebase origin main+./infra/fly/fly-demo-deploy.sh++# 5. Cloudflare Tunnel: only if DNS / TLS regressed+cloudflared tunnel info tryaisoc+cloudflared tunnel route dns tryaisoc tryaisoc.com+```++The deploy script ([`infra/fly/fly-demo-deploy.sh`](infra/fly/fly-demo-deploy.sh))+is idempotent — re-running is safe. It runs migrations and the demo+seed (`python -m app.scripts.seed_demo`) as the release_command, so+the `INC-RT-001` LockBit case is always present after a successful+deploy.++## After the deploy: customer-journey checklist++The user has repeatedly flagged broken items post-deploy, so after every+deploy to `tryaisoc.com`, walk the journey:++- [ ] Landing page (`/`) renders without console errors.+- [ ] CTAs ("Try the demo", "Run on Fly.io", "Run on Render") all+ resolve.+- [ ] Sign-in button lands on `/dashboard` (deprecated `/signup` should+ redirect there — not 404).+- [ ] `/dashboard` loads the demo with real `/metrics` data and an+ active investigation.+- [ ] `/cases/INC-RT-001` opens with the Investigation Ledger populated+ (this is the canonical screencast path).+- [ ] At least one alert in `/alerts` and at least one hunt in `/hunt`+ load.+- [ ] `/docs` (Docusaurus) and `/papers/*` render.+- [ ] Footer links resolve.++Any broken link in this checklist is a `tryaisoc.com` deploy regression+and should be fixed before declaring the deploy done.++## When the demo will move to a paid SLA++If demand for an always-on hosted demo gets significant enough to+warrant funding it, the funding model lives in+[`.github/FUNDING.yml`](.github/FUNDING.yml). Until then, this file is+the operations runbook.diff --git a/README.md b/README.mdindex 9c70d266d..4258313aa 100644--- a/README.md+++ b/README.md@@ -10,10 +10,16 @@ An open-source, self-hostable AI SOC. The agent's prompts, tool calls, and ratio[](apps/docs/docs/benchmark.md)[](CONTRIBUTING.md)[](CHANGELOG.md)-[](https://tryaisoc.com)-[](https://render.com/deploy?repo=https://github.com/beenuar/AiSOC)+[](https://github.com/beenuar/AiSOC/actions/workflows/ci.yml)+[](https://github.com/beenuar/AiSOC/actions/workflows/codeql.yml)+[](https://securityscorecards.dev/viewer/?uri=github.com/beenuar/AiSOC)+[](https://github.com/beenuar/AiSOC/discussions)-[Live demo](https://tryaisoc.com) · [How AiSOC compares](#how-aisoc-compares) · [Public eval harness](apps/docs/docs/benchmark.md) · [Deploy in 60 seconds](#deploy-in-60-seconds) · [Deployment options](#deployment-options) · [Architecture](#architecture) · [Docs](apps/docs/)+[](https://codespaces.new/beenuar/AiSOC?quickstart=1)+[](https://tryaisoc.com)+[](https://render.com/deploy?repo=https://github.com/beenuar/AiSOC)++[Try in Codespaces](https://codespaces.new/beenuar/AiSOC?quickstart=1) · [Live demo](https://tryaisoc.com) · [Quickstart](#try-aisoc-in-60-seconds) · [Architecture](#architecture) · [Docs](apps/docs/) · [Discussions](https://github.com/beenuar/AiSOC/discussions) · [Release notes](RELEASES.md)<sub>The demo at <a href="https://tryaisoc.com">tryaisoc.com</a> is a self-hosted instance fronted by a Cloudflare Tunnel — when it's reachable, the stack is running locally on a maintainer's box. It can therefore go offline at any time. To run your own (in 3.5 min, with seeded data), see <a href="#one-shot-demo">One-shot demo</a>; to expose your own instance on your own domain via Cloudflare Tunnel, see <a href="#public-demo-on-your-own-domain">Public demo on your own domain</a>. <strong>The Fly.io demo at <a href="https://tryaisoc.com">tryaisoc.com</a> is the canonical AiSOC instance — the badge above links there.</strong></sub>@@ -23,6 +29,24 @@ An open-source, self-hostable AI SOC. The agent's prompts, tool calls, and ratio---+## Try AiSOC in 60 seconds++Three fastest paths to a live, seeded AiSOC investigation. Pick whichever matches what you already have on your machine:++| If you have… | Run this | What you get |+|---------------------------------------|----------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------|+| **A browser** (zero install) | [Open in Codespaces](https://codespaces.new/beenuar/AiSOC?quickstart=1) | Browser IDE → `pnpm aisoc:demo --no-open` → click forwarded port `3000`. ~5 min cold. |+| **Docker + pnpm** | `git clone https://github.com/beenuar/AiSOC && cd AiSOC && pnpm aisoc:demo` | Local stack on Postgres + Redis + Kafka + api + agents + web. Browser opens at `INC-RT-001`. |+| **Nothing** (clean Linux/macOS/Win) | `curl -fsSL https://raw.githubusercontent.com/beenuar/AiSOC/main/install.sh \| bash` | Bootstraps Docker, Node, pnpm, git for you; then runs `pnpm aisoc:demo`. |++You land on `/cases/INC-RT-001?tab=ledger`: a LockBit 3.0 ransomware case mid-investigation, with the AI agent's prompts, tool calls, and rationale streaming into the [Investigation Ledger](apps/docs/docs/console/investigation-rail.md). Stop with `pnpm aisoc:demo:down`.++> **Want a hosted demo without spinning anything up?** The community-maintained <https://tryaisoc.com> instance runs a copy on Fly.io. It may go offline (see [LIVE-DEMO.md](LIVE-DEMO.md)) — Codespaces is the always-on fallback.++Full multi-platform deploy guide: [Deploy in 60 seconds](#deploy-in-60-seconds) (Render, Fly.io, Docker Compose, Kubernetes, Terraform). Production-grade install with full storage tier: [`infra/helm/`](infra/helm/) or [`infra/terraform/`](infra/terraform/).++---+## What AiSOC isAiSOC is a single self-hostable stack that ingests security events, correlates them, runs AI-driven investigation, and surfaces the result in a SOC console. The agent and the substrate are MIT-licensed, so you can read, fork, or replace either of them.@@ -39,77 +63,19 @@ The orchestrator is a ~600-line LangGraph in [`services/agents/`](services/agent## What's new-`VERSION` is `7.5.0`. The **v7.5.0** release (2026-06-29) is a v8.0-milestone and trust-readiness release. It tags the `AiSOC missing pieces — Phases 1–5` rollup ([PR #337](https://github.com/beenuar/AiSOC/pull/337); 25 commits, 188 files, +23 743 / -907), the four named v8.0 milestones (T3.7 NL→playbook, T3.8 design system v2 + Storybook, T4 wave-3 marketplace + 6 hardened connectors, T5.3 fidelity loaders), the marketing-shell unification on `tryaisoc.com`, the threat-actor attribution RBAC + port fix, the realtime short-lived-ticket auth, the boundary-aware KB chunker, the Terraform CI workflow + the three missing reusable infra modules (`rds`, `elasticache`, `kafka`), and a large Dependabot + security sweep — every change that landed on `main` since `7.4.0`. The full inventory lives under `[7.5.0]` in [`CHANGELOG.md`](CHANGELOG.md).--**v7.5.0 highlights (June 29, 2026)**-- **AiSOC missing pieces — Phases 1–5 rollup** ([PR #337](https://github.com/beenuar/AiSOC/pull/337)): trust-critical honesty fixes on `/sovereign` + Features + README, CI matrix expanded to 7 previously-untested Python services (~971 new test signals), coverage gates, real SOAR executors for SentinelOne EDR / PAN-OS / FortiGate / Cloudflare WAF + DNS / Splunk ES / Elastic / MDE / Entra ID / Google Workspace, real `CreateTicketExecutor` wired to Jira / ServiceNow / PagerDuty, Azure/GCP/Okta/GWS effective-permissions resolvers, managed-mode auto-provision pipeline (`infra/fly/managed/`), CI-built white-paper PDFs + 90 s Playwright screencast, the deterministic NL → ES|QL / KQL / SPL translator (**81-case eval at 100 % syntactic + 100 % semantic**), real-browser visual regression, a buyer-journey E2E, and four immutable ADRs (`docs/decisions/0001`–`0004`).-- **v8.0 milestones** — T3.7 NL → playbook generator ([#330](https://github.com/beenuar/AiSOC/pull/330)); T3.8 design system v2 + Storybook ([#331](https://github.com/beenuar/AiSOC/pull/331), restored `DraftFromPromptDialog` story in [#335](https://github.com/beenuar/AiSOC/pull/335), Storybook publicDir fix in [#336](https://github.com/beenuar/AiSOC/pull/336)); T4 wave-3 marketplace + 6 hardened connectors ([#333](https://github.com/beenuar/AiSOC/pull/333), wave-1 parity hardening in [#328](https://github.com/beenuar/AiSOC/pull/328)); T5.3 AIT-LDS + MITRE Engenuity fidelity loaders ([#332](https://github.com/beenuar/AiSOC/pull/332)).-- **Threat-actor attribution — port fix + optional RBAC.** The investigation agent's default `AISOC_THREATINTEL_URL` was `http://threatintel:8083`; the service binds **8005** — every `POST /api/v1/actors/attribute` therefore hit a port nothing listens on and silently degraded. Default corrected, docs + `AISOC_ATTRIBUTION_TIMEOUT_SECONDS` aligned, regression test added ([#327](https://github.com/beenuar/AiSOC/pull/327)). Same release ships an opt-in shared-secret gate on `/api/v1/actors/*` ([#329](https://github.com/beenuar/AiSOC/pull/329)): when `AISOC_THREATINTEL_SERVICE_TOKEN` is set, callers must present `Authorization: Bearer <token>` (constant-time compared, `401` on mismatch); when unset, the legacy unauthenticated behaviour is preserved and a startup warning is logged.-- **Marketing-shell unification on `tryaisoc.com`.** Every `/(marketing)` page plus the standalone `/not-found`, `/why-open-source`, and `/benchmark` routes now renders the same `StickyNav` + `sections/Footer` shell; the older simpler `LandingNav.tsx` and `landing/Footer.tsx` were deleted, eleven marketing pages had their per-page nav/footer JSX + imports removed, `(marketing)/layout.tsx` centrally injects the shell, and `StickyNav`'s anchors were absolutised so they resolve identically from the landing page and from any subpage.-- **Knowledge-base ingest — boundary-aware chunking with overlap** ([#321](https://github.com/beenuar/AiSOC/pull/321), closes [#277](https://github.com/beenuar/AiSOC/issues/277)). KB ingestion no longer splits mid-sentence or mid-code-fence; the new chunker prefers paragraph / sentence / code-block boundaries and applies a configurable overlap so retrieval doesn't lose context across chunks.-- **Realtime — WS/SSE authenticated via short-lived tickets** ([#246](https://github.com/beenuar/AiSOC/pull/246), closes [#239](https://github.com/beenuar/AiSOC/issues/239)). The realtime service's WebSocket and SSE endpoints now require a short-lived signed ticket that the API mints for the authenticated session, closing the unauthenticated fan-out surface that lived between `services/realtime` and `apps/web`.-- **Infrastructure — Terraform CI + missing core modules.** A Terraform workflow gates every change to `infra/terraform/**` with `init`/`validate`/`fmt -check` ([#251](https://github.com/beenuar/AiSOC/pull/251)). The three reusable modules the AWS and BYOC references were already importing — `rds`, `elasticache`, `kafka` — are now actually present in `infra/terraform/modules/` ([#252](https://github.com/beenuar/AiSOC/pull/252)) so a fresh `terraform init` against the multi-cloud skeletons no longer errors on missing sources.-- **Dependency & CI maintenance.** ~15 Dependabot landings including `next` 16.2.7 → 16.2.9, `framer-motion` 11 → 12.40.0, `cryptography` updates across services, FastAPI updates in `services/{api,actions,agents}`, `actions/checkout` v6 → v7; `aiohttp` 3.14.1 clears CVE-2026-34993 + CVE-2026-47265 ([#295](https://github.com/beenuar/AiSOC/pull/295)); pnpm audit high/critical findings cleared ([#322](https://github.com/beenuar/AiSOC/pull/322)) so the dep-bump queue could merge; a duplicate `@mdx-js/react` key that was breaking `pnpm install` on fresh clones removed ([#296](https://github.com/beenuar/AiSOC/pull/296)).--**Previously, in v7.4.0 (May 29, 2026)** — security-hardening and platform release that tagged the May 27–29 hardening wave, multi-agent routing, and the multi-cloud infrastructure skeletons that had accumulated on `main` since `7.3.1`. The full inventory lives under `[7.4.0]` in [`CHANGELOG.md`](CHANGELOG.md).-- **Security hardening** — prompt-injection sanitizer wired into the classification agents; cross-tenant isolation enforced on detection-loop suggestions and the compliance / phishing / knowledge-base endpoints; a nightly cross-tenant RBAC regression gate; `cryptography` CVEs cleared and CodeQL quality notes resolved.-- **Multi-agent routing** — `DetectAgent.process` wired to the `FusionEngine` over cross-service HTTP; `/investigate` routed through the `RouterOrchestrator` behind the `ROUTER_INVESTIGATE` flag; a Redis-backed scheduler singleton guard for in-process workers.-- **Multi-cloud infrastructure** — serverless-container Terraform skeletons for GCP (Cloud Run + Cloud SQL + Memorystore) and Azure (Container Apps + PostgreSQL Flexible Server + Cache for Redis), mirroring the AWS/EKS reference file-for-file.-- **Live dashboard & landing** — real `/metrics` data restored on `tryaisoc.com/dashboard`, API/agents machines kept warm so the dashboard no longer 500s, seed timestamps re-anchored so it never goes empty, and the landing CTAs pointed at the live dashboard.-- **Dependency & CI maintenance** — a large Dependabot sweep across the Python, JS, and Go services plus CI stabilization (Ruff cleanup, OpenAPI export permissions, lockfile dedupe).--**Hardening detail folded into v7.4.0 (May 27–28, 2026)**-- **Security Audit green** — `cryptography` floor raised to `44.0.1` to clear CVE-2024-12797 and later 42.x advisories across `services/connectors` and `services/osquery-tls`; advisories without an upstream fix are time-boxed (90-day expiry) in [`scripts/security_audit_ignores.txt`](scripts/security_audit_ignores.txt) ([#229](https://github.com/beenuar/AiSOC/pull/229)).-- **Tenant-isolation fix** — detection-loop suggestion lookups are now scoped to the caller's tenant, closing a cross-tenant read path ([#221](https://github.com/beenuar/AiSOC/pull/221)).-- **Full stack boots clean** — the reserved `window` column is now quoted and `pydantic[email]` ships in the image, so `docker compose` comes up end-to-end without manual patching ([#227](https://github.com/beenuar/AiSOC/pull/227)).-- **OpenAPI auto-export unblocked** — the spec-export CI job now has `contents: write`, so the committed OpenAPI document re-syncs on every merge ([#228](https://github.com/beenuar/AiSOC/pull/228)).-- **CodeQL quality notes cleared** — remaining low-severity CodeQL findings resolved on `main` ([#224](https://github.com/beenuar/AiSOC/pull/224)).-- **Dependency refresh** — `zod` 3 → 4.4.3 ([#225](https://github.com/beenuar/AiSOC/pull/225)), `recharts` 2 → 3.8.1 ([#209](https://github.com/beenuar/AiSOC/pull/209)), plus a Dependabot sweep across `fastapi`, `uvicorn`, `pydantic`, `structlog`, `openai`, `weasyprint`, `strawberry-graphql`, `prometheus-client`, `go-chi`, `turbo`, and `@types/react`.-- **Credits** — new Credits section thanking contributors and security researchers ([#223](https://github.com/beenuar/AiSOC/pull/223)).--**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).--**Architectural foundation (PR [#125](https://github.com/beenuar/AiSOC/pull/125))** — the graph-at-ingest and four-agent groundwork now on `main`.-- **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 that landed ahead of v7.4.0. 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 the architectural foundation above.-- **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 **69 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).-- **Azure Container Apps + Postgres Flexible Server Terraform skeleton** — file-for-file mirror of the GCP skeleton for teams standardised on Azure. Container Apps for the three customer-visible services, VNet-integrated Postgres 16 + Azure Cache for Redis on private endpoints, Key Vault for secrets, ACR for images, and per-service user-assigned managed identities so each app pulls its own image and reads only its own secrets. Docs: [`apps/docs/docs/deployment/azure.md`](apps/docs/docs/deployment/azure.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 **69-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 `[7.4.0]` section of [`CHANGELOG.md`](CHANGELOG.md).+`VERSION` is `7.5.0` (2026-06-29) — a v8.0-milestone and trust-readiness release that tags the `AiSOC missing pieces — Phases 1–5` rollup ([PR #337](https://github.com/beenuar/AiSOC/pull/337)), the four named v8.0 milestones (T3.7 NL→playbook, T3.8 design system v2 + Storybook, T4 wave-3 marketplace + 6 hardened connectors, T5.3 fidelity loaders), threat-actor attribution port fix + optional RBAC, realtime short-lived-ticket auth, boundary-aware KB chunker, Terraform CI, and a large Dependabot + security sweep.++- **Latest GitHub release with downloads:** <https://github.com/beenuar/AiSOC/releases/latest>+- **Per-release narrative (mirrors what used to live here):** [`RELEASES.md`](RELEASES.md)+- **Machine-readable inventory with file paths, env-var diffs, test counts:** [`CHANGELOG.md`](CHANGELOG.md)+- **v8.0 wave-2 in flight (`[~]` items):** [`AISOC_V8_PROGRESS.md`](AISOC_V8_PROGRESS.md)++<details>+<summary><strong>Click for the highlight reel that used to live here (v7.5.0 → v7.4.0 → v1.5 → architectural foundation → security & correctness wave).</strong> The full per-release narrative is now maintained in <a href="RELEASES.md"><code>RELEASES.md</code></a> so the front page stays scannable.</summary>++The "What's new" section that used to live on this README in full is now in [`RELEASES.md`](RELEASES.md) so this page stays focused on "what is AiSOC and how do I run it." Open [`RELEASES.md`](RELEASES.md) for the full v7.5.0 → v7.4.0 → v1.5 narrative.++</details>---diff --git a/RELEASES.md b/RELEASES.mdnew file mode 100644index 000000000..cef706f9f--- /dev/null+++ b/RELEASES.md@@ -0,0 +1,96 @@+# AiSOC release notes++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 `v7.5.0`, released 2026-06-29. It's a v8.0-milestone and trust-readiness release. The four major v8.0 milestones (T3.7 NL → playbook, T3.8 design system v2 + Storybook, T4 wave-3 marketplace + 6 hardened connectors, T5.3 fidelity loaders) all landed. The latest GitHub release with notes and downloads: <https://github.com/beenuar/AiSOC/releases/latest>.++---++## What's new++`VERSION` is `7.5.0`. The **v7.5.0** release (2026-06-29) is a v8.0-milestone and trust-readiness release. It tags the `AiSOC missing pieces — Phases 1–5` rollup ([PR #337](https://github.com/beenuar/AiSOC/pull/337); 25 commits, 188 files, +23 743 / -907), the four named v8.0 milestones (T3.7 NL→playbook, T3.8 design system v2 + Storybook, T4 wave-3 marketplace + 6 hardened connectors, T5.3 fidelity loaders), the marketing-shell unification on `tryaisoc.com`, the threat-actor attribution RBAC + port fix, the realtime short-lived-ticket auth, the boundary-aware KB chunker, the Terraform CI workflow + the three missing reusable infra modules (`rds`, `elasticache`, `kafka`), and a large Dependabot + security sweep — every change that landed on `main` since `7.4.0`. The full inventory lives under `[7.5.0]` in [`CHANGELOG.md`](CHANGELOG.md).++**v7.5.0 highlights (June 29, 2026)**+- **AiSOC missing pieces — Phases 1–5 rollup** ([PR #337](https://github.com/beenuar/AiSOC/pull/337)): trust-critical honesty fixes on `/sovereign` + Features + README, CI matrix expanded to 7 previously-untested Python services (~971 new test signals), coverage gates, real SOAR executors for SentinelOne EDR / PAN-OS / FortiGate / Cloudflare WAF + DNS / Splunk ES / Elastic / MDE / Entra ID / Google Workspace, real `CreateTicketExecutor` wired to Jira / ServiceNow / PagerDuty, Azure/GCP/Okta/GWS effective-permissions resolvers, managed-mode auto-provision pipeline (`infra/fly/managed/`), CI-built white-paper PDFs + 90 s Playwright screencast, the deterministic NL → ES|QL / KQL / SPL translator (**81-case eval at 100 % syntactic + 100 % semantic**), real-browser visual regression, a buyer-journey E2E, and four immutable ADRs (`docs/decisions/0001`–`0004`).+- **v8.0 milestones** — T3.7 NL → playbook generator ([#330](https://github.com/beenuar/AiSOC/pull/330)); T3.8 design system v2 + Storybook ([#331](https://github.com/beenuar/AiSOC/pull/331), restored `DraftFromPromptDialog` story in [#335](https://github.com/beenuar/AiSOC/pull/335), Storybook publicDir fix in [#336](https://github.com/beenuar/AiSOC/pull/336)); T4 wave-3 marketplace + 6 hardened connectors ([#333](https://github.com/beenuar/AiSOC/pull/333), wave-1 parity hardening in [#328](https://github.com/beenuar/AiSOC/pull/328)); T5.3 AIT-LDS + MITRE Engenuity fidelity loaders ([#332](https://github.com/beenuar/AiSOC/pull/332)).+- **Threat-actor attribution — port fix + optional RBAC.** The investigation agent's default `AISOC_THREATINTEL_URL` was `http://threatintel:8083`; the service binds **8005** — every `POST /api/v1/actors/attribute` therefore hit a port nothing listens on and silently degraded. Default corrected, docs + `AISOC_ATTRIBUTION_TIMEOUT_SECONDS` aligned, regression test added ([#327](https://github.com/beenuar/AiSOC/pull/327)). Same release ships an opt-in shared-secret gate on `/api/v1/actors/*` ([#329](https://github.com/beenuar/AiSOC/pull/329)): when `AISOC_THREATINTEL_SERVICE_TOKEN` is set, callers must present `Authorization: Bearer <token>` (constant-time compared, `401` on mismatch); when unset, the legacy unauthenticated behaviour is preserved and a startup warning is logged.+- **Marketing-shell unification on `tryaisoc.com`.** Every `/(marketing)` page plus the standalone `/not-found`, `/why-open-source`, and `/benchmark` routes now renders the same `StickyNav` + `sections/Footer` shell; the older simpler `LandingNav.tsx` and `landing/Footer.tsx` were deleted, eleven marketing pages had their per-page nav/footer JSX + imports removed, `(marketing)/layout.tsx` centrally injects the shell, and `StickyNav`'s anchors were absolutised so they resolve identically from the landing page and from any subpage.+- **Knowledge-base ingest — boundary-aware chunking with overlap** ([#321](https://github.com/beenuar/AiSOC/pull/321), closes [#277](https://github.com/beenuar/AiSOC/issues/277)). KB ingestion no longer splits mid-sentence or mid-code-fence; the new chunker prefers paragraph / sentence / code-block boundaries and applies a configurable overlap so retrieval doesn't lose context across chunks.+- **Realtime — WS/SSE authenticated via short-lived tickets** ([#246](https://github.com/beenuar/AiSOC/pull/246), closes [#239](https://github.com/beenuar/AiSOC/issues/239)). The realtime service's WebSocket and SSE endpoints now require a short-lived signed ticket that the API mints for the authenticated session, closing the unauthenticated fan-out surface that lived between `services/realtime` and `apps/web`.+- **Infrastructure — Terraform CI + missing core modules.** A Terraform workflow gates every change to `infra/terraform/**` with `init`/`validate`/`fmt -check` ([#251](https://github.com/beenuar/AiSOC/pull/251)). The three reusable modules the AWS and BYOC references were already importing — `rds`, `elasticache`, `kafka` — are now actually present in `infra/terraform/modules/` ([#252](https://github.com/beenuar/AiSOC/pull/252)) so a fresh `terraform init` against the multi-cloud skeletons no longer errors on missing sources.+- **Dependency & CI maintenance.** ~15 Dependabot landings including `next` 16.2.7 → 16.2.9, `framer-motion` 11 → 12.40.0, `cryptography` updates across services, FastAPI updates in `services/{api,actions,agents}`, `actions/checkout` v6 → v7; `aiohttp` 3.14.1 clears CVE-2026-34993 + CVE-2026-47265 ([#295](https://github.com/beenuar/AiSOC/pull/295)); pnpm audit high/critical findings cleared ([#322](https://github.com/beenuar/AiSOC/pull/322)) so the dep-bump queue could merge; a duplicate `@mdx-js/react` key that was breaking `pnpm install` on fresh clones removed ([#296](https://github.com/beenuar/AiSOC/pull/296)).++**Previously, in v7.4.0 (May 29, 2026)** — security-hardening and platform release that tagged the May 27–29 hardening wave, multi-agent routing, and the multi-cloud infrastructure skeletons that had accumulated on `main` since `7.3.1`. The full inventory lives under `[7.4.0]` in [`CHANGELOG.md`](CHANGELOG.md).+- **Security hardening** — prompt-injection sanitizer wired into the classification agents; cross-tenant isolation enforced on detection-loop suggestions and the compliance / phishing / knowledge-base endpoints; a nightly cross-tenant RBAC regression gate; `cryptography` CVEs cleared and CodeQL quality notes resolved.+- **Multi-agent routing** — `DetectAgent.process` wired to the `FusionEngine` over cross-service HTTP; `/investigate` routed through the `RouterOrchestrator` behind the `ROUTER_INVESTIGATE` flag; a Redis-backed scheduler singleton guard for in-process workers.+- **Multi-cloud infrastructure** — serverless-container Terraform skeletons for GCP (Cloud Run + Cloud SQL + Memorystore) and Azure (Container Apps + PostgreSQL Flexible Server + Cache for Redis), mirroring the AWS/EKS reference file-for-file.+- **Live dashboard & landing** — real `/metrics` data restored on `tryaisoc.com/dashboard`, API/agents machines kept warm so the dashboard no longer 500s, seed timestamps re-anchored so it never goes empty, and the landing CTAs pointed at the live dashboard.+- **Dependency & CI maintenance** — a large Dependabot sweep across the Python, JS, and Go services plus CI stabilization (Ruff cleanup, OpenAPI export permissions, lockfile dedupe).++**Hardening detail folded into v7.4.0 (May 27–28, 2026)**+- **Security Audit green** — `cryptography` floor raised to `44.0.1` to clear CVE-2024-12797 and later 42.x advisories across `services/connectors` and `services/osquery-tls`; advisories without an upstream fix are time-boxed (90-day expiry) in [`scripts/security_audit_ignores.txt`](scripts/security_audit_ignores.txt) ([#229](https://github.com/beenuar/AiSOC/pull/229)).+- **Tenant-isolation fix** — detection-loop suggestion lookups are now scoped to the caller's tenant, closing a cross-tenant read path ([#221](https://github.com/beenuar/AiSOC/pull/221)).+- **Full stack boots clean** — the reserved `window` column is now quoted and `pydantic[email]` ships in the image, so `docker compose` comes up end-to-end without manual patching ([#227](https://github.com/beenuar/AiSOC/pull/227)).+- **OpenAPI auto-export unblocked** — the spec-export CI job now has `contents: write`, so the committed OpenAPI document re-syncs on every merge ([#228](https://github.com/beenuar/AiSOC/pull/228)).+- **CodeQL quality notes cleared** — remaining low-severity CodeQL findings resolved on `main` ([#224](https://github.com/beenuar/AiSOC/pull/224)).+- **Dependency refresh** — `zod` 3 → 4.4.3 ([#225](https://github.com/beenuar/AiSOC/pull/225)), `recharts` 2 → 3.8.1 ([#209](https://github.com/beenuar/AiSOC/pull/209)), plus a Dependabot sweep across `fastapi`, `uvicorn`, `pydantic`, `structlog`, `openai`, `weasyprint`, `strawberry-graphql`, `prometheus-client`, `go-chi`, `turbo`, and `@types/react`.+- **Credits** — new Credits section thanking contributors and security researchers ([#223](https://github.com/beenuar/AiSOC/pull/223)).++**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).++**Architectural foundation (PR [#125](https://github.com/beenuar/AiSOC/pull/125))** — the graph-at-ingest and four-agent groundwork now on `main`.+- **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 that landed ahead of v7.4.0. 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 the architectural foundation above.+- **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 **69 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).+- **Azure Container Apps + Postgres Flexible Server Terraform skeleton** — file-for-file mirror of the GCP skeleton for teams standardised on Azure. Container Apps for the three customer-visible services, VNet-integrated Postgres 16 + Azure Cache for Redis on private endpoints, Key Vault for secrets, ACR for images, and per-service user-assigned managed identities so each app pulls its own image and reads only its own secrets. Docs: [`apps/docs/docs/deployment/azure.md`](apps/docs/docs/deployment/azure.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 **69-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 `[7.4.0]` section of [`CHANGELOG.md`](CHANGELOG.md).+++---++## Earlier releases++- **v7.4.0** (2026-05-29) — Security-hardening and platform release. Multi-agent routing, multi-cloud Terraform skeletons (GCP / Azure mirroring AWS), restored live `/metrics` on `tryaisoc.com/dashboard`, large Dependabot + CI maintenance sweep. See [`[7.4.0]`](CHANGELOG.md) in `CHANGELOG.md`.+- **v7.3.1** (2026-05-14) — Smoke-test hotfix: idempotent migrations, new `POST /api/v1/alerts/submit` endpoint that synthesises an `Alert` row directly from a batch of OCSF events.+- **v7.3.0** (2026-05-14) — Founder-flow series (PR1–PR7): the recorded "fresh-clone to first alert" demo now runs verbatim on `main`.+- **v7.2.0** (2026-05-11) — see `CHANGELOG.md`.+- **v7.0 / v7.0.1 / v7.0.2 / v7.0.3** — Buyer-value plan (16 workstreams) plus the endpoint-telemetry wave (osquery + FleetDM + 16 native osquery detections).+- **v6.0 / v6.1** — Investigation Ledger, Ambient Copilot, Responder PWA, public eval harness, MCP server, one-shot demo, autonomous triage agents, EASM, MSSP dashboard.+- **v5.1.0** / **v3.0.0** — Initial foundation work. See `CHANGELOG.md` for the full chronological history.++For machine-readable structure (Keep a Changelog format), always check [`CHANGELOG.md`](CHANGELOG.md). For the GitHub-rendered version of any release with downloads and signed artifacts: <https://github.com/beenuar/AiSOC/releases>.diff --git a/SUPPORT.md b/SUPPORT.mdnew file mode 100644index 000000000..d643b1880--- /dev/null+++ b/SUPPORT.md@@ -0,0 +1,72 @@+# Getting help with AiSOC++There are a few places to ask, in roughly the order you should try them:++## 1. Docs++The Docusaurus site at <https://tryaisoc.com/docs> mirrors [`apps/docs/docs/`](apps/docs/docs/) in this repo.+Hit the search box first — it covers connectors, quickstarts, operations+runbooks, the eval-harness methodology, deployment guides, and the API+reference.++Useful starting points:++- [Quickstart](apps/docs/docs/quickstart.md) — four ways to bring up a stack.+- [Installation](apps/docs/docs/installation.md) — zero-prerequisite installer.+- [Architecture](apps/docs/docs/architecture.md) — service map and data flow.+- [Operations](apps/docs/docs/operations/) — credentials, security, multi-region.++## 2. GitHub Discussions++For questions, ideas, show-and-tell, and roadmap input:++- **Q&A** — <https://github.com/beenuar/AiSOC/discussions/categories/q-a> (answers can be marked accepted)+- **Show and tell** — <https://github.com/beenuar/AiSOC/discussions/categories/show-and-tell>+- **Ideas** — <https://github.com/beenuar/AiSOC/discussions/categories/ideas>+- **Announcements** — <https://github.com/beenuar/AiSOC/discussions/categories/announcements> (read-only for non-maintainers)++Please don't open a GitHub *issue* for a question — they're reserved for+bugs, feature requests, detection-rule proposals, and benchmark+submissions, each of which has its own template.++## 3. Try the live demo++<https://tryaisoc.com> is a community-maintained Fly.io instance. It can+go offline (see [LIVE-DEMO.md](LIVE-DEMO.md)). When that happens, the+always-on fallback is the+[Codespaces quickstart](https://codespaces.new/beenuar/AiSOC?quickstart=1) —+zero local install, runs in your browser.++## 4. File a bug++If you've found a reproducible bug, open a [Bug report](https://github.com/beenuar/AiSOC/issues/new?template=bug_report.yml).+Please include:++- AiSOC `VERSION` (from `VERSION` or the `/api/v1/version` endpoint)+- Deployment path (Docker Compose / Render / Fly.io / Helm / Terraform / installer)+- Exact reproduction steps+- Logs from the failing service (`docker compose logs --tail=200 <service>`)++## 5. Report a security issue (privately)++**Do not open a public issue or discussion for a security issue.**+Use [GitHub Security Advisories](https://github.com/beenuar/AiSOC/security/advisories/new)+or follow the [SECURITY.md](SECURITY.md) policy. We follow coordinated+disclosure and credit reporters in [CREDITS.md](CREDITS.md).++## 6. Contribute++If you have a fix or improvement to share, see [CONTRIBUTING.md](CONTRIBUTING.md).+First-time contributors are welcome — pick a+[`good first issue`](https://github.com/beenuar/AiSOC/issues?q=is%3Aopen+label%3A%22good+first+issue%22).++## Response expectations++AiSOC is community-maintained; response times are best-effort:++- Security advisories: usually triaged within 48 h.+- Bug reports: triaged within a week for most weeks.+- Feature requests / discussions: no SLA — community traction (👍, replies,+ PRs) is what drives prioritisation. See the+ [v8.0 roadmap discussion](https://github.com/beenuar/AiSOC/discussions/categories/announcements)+ for what's currently in flight.diff --git a/scripts/generate_connector_count.py b/scripts/generate_connector_count.pyindex 4df80c0ec..f002ac324 100755--- a/scripts/generate_connector_count.py+++ b/scripts/generate_connector_count.py@@ -57,10 +57,20 @@ COUNT_BEARING_FILES: tuple[tuple[Path, tuple[re.Pattern[str], ...]], ...] = (REPO_ROOT / "README.md",(re.compile(r"(?P<pre>declares \*\*)(?P<n>\d+)(?P<post> first-party connectors)"),- re.compile(r"(?P<pre>corrected \*\*)(?P<n>\d+)(?P<post>-connector count\*\*)"),re.compile(r"(?P<pre>a )(?P<n>\d+)(?P<post>-connector click-and-connect catalog)"),),),+ (+ # The "corrected **N-connector count**" prose used to live in README.md+ # but was moved to RELEASES.md when the "What's new" section was+ # collapsed under <details>. The anchor still needs to be reconciled+ # against the registry, so we track it where it actually lives now.+ REPO_ROOT / "RELEASES.md",+ (+ re.compile(r"(?P<pre>corrected \*\*)(?P<n>\d+)(?P<post>-connector count\*\*)"),+ re.compile(r"(?P<pre>declares \*\*)(?P<n>\d+)(?P<post> first-party connectors)"),+ ),+ ),(REPO_ROOT / "apps" / "docs" / "docs" / "connectors" / "index.md",(