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
fix(docs): point the OSS front door at the docs site that actually works (#654)
Beenu Aroraa9af324c1194
diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.ymlindex 7aa7f8d36..289757e9c 100644--- a/.github/workflows/deploy-docs.yml+++ b/.github/workflows/deploy-docs.yml@@ -40,7 +40,14 @@ jobs:- name: Install dependenciesrun: pnpm --filter @aisoc/docs install+ # Set explicitly rather than leaning on the defaults in+ # docusaurus.config.ts. These values decide the canonical <link>, the+ # sitemap and every absolute asset URL, so a silent default drift would+ # de-index the docs without failing a build.- name: Build docs+ env:+ DOCS_URL: https://beenuar.github.io+ DOCS_BASE_URL: /AiSOC/run: pnpm --filter @aisoc/docs build- name: Upload artifactdiff --git a/.github/workflows/link-check.yml b/.github/workflows/link-check.ymlnew file mode 100644index 000000000..1918e571b--- /dev/null+++ b/.github/workflows/link-check.yml@@ -0,0 +1,86 @@+name: Link check++# The front door is load-bearing for adoption and it rotted silently: SUPPORT.md+# advertised a docs site at a URL that returned 404, and the README linked a+# "live demo replay" and a "browser tools" page that both 404'd. Nothing in CI+# noticed, because no job had ever resolved a link.+#+# Two tiers, matching the ratchet convention already used in security.yml:+#+# front-door HARD gate. The handful of files a new visitor actually reads.+# These are verified green, so a regression here is a real break.+# docs-tree OBSERVE. The full documentation tree has pre-existing rot that+# should be burned down deliberately rather than by blocking+# every unrelated PR. Promote to hard once the backlog is clear.++on:+ pull_request:+ branches: [main, develop]+ paths:+ - '**/*.md'+ - '**/*.mdx'+ - '.github/workflows/link-check.yml'+ - '.lycheeignore'+ push:+ branches: [main]+ paths:+ - '**/*.md'+ - '**/*.mdx'+ - '.github/workflows/link-check.yml'+ - '.lycheeignore'+ # External links rot without anyone touching this repo, which is how the+ # docs URL went stale in the first place.+ schedule:+ - cron: '30 6 * * 1'+ workflow_dispatch:++permissions:+ contents: read++concurrency:+ group: link-check-${{ github.ref }}+ cancel-in-progress: true++jobs:+ front-door:+ name: Front door · links must resolve+ runs-on: ubuntu-latest+ timeout-minutes: 10+ steps:+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7++ - name: Check README, SUPPORT, CONTRIBUTING, SECURITY, GOVERNANCE+ uses: lycheeverse/lychee-action@e7477775783ea5526144ba13e8db5eec57747ce8 # v2.9.0+ with:+ args: >-+ --no-progress+ --max-retries 3+ --retry-wait-time 5+ --timeout 25+ --accept 200,206,301,302,307,308,403,429+ README.md SUPPORT.md CONTRIBUTING.md SECURITY.md GOVERNANCE.md+ fail: true++ # Observe tier. Note `fail: false` on the lychee step rather than+ # `continue-on-error` on the job: job-level continue-on-error still reports+ # the check run as a failure, which is indistinguishable from a real break+ # at a glance and is exactly the trap the gitleaks observe gate fell into.+ # The step has to succeed for the signal to read honestly.+ docs-tree:+ name: Docs tree · links (observe)+ runs-on: ubuntu-latest+ timeout-minutes: 20+ steps:+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7++ - name: Check docs/ and apps/docs/docs/+ uses: lycheeverse/lychee-action@e7477775783ea5526144ba13e8db5eec57747ce8 # v2.9.0+ with:+ args: >-+ --no-progress+ --max-retries 2+ --retry-wait-time 5+ --timeout 25+ --accept 200,206,301,302,307,308,403,429+ 'docs/**/*.md' 'apps/docs/docs/**/*.md' 'apps/docs/docs/**/*.mdx'+ fail: falsediff --git a/.lycheeignore b/.lycheeignorenew file mode 100644index 000000000..0b11967de--- /dev/null+++ b/.lycheeignore@@ -0,0 +1,28 @@+# Hosts and patterns the link checker must not treat as failures.+#+# Keep this list short and justified. An entry here is a link nobody is+# verifying, which is exactly the situation that let the docs URL 404 for+# weeks — so prefer fixing a link over adding it here.++# Badge and one-click-deploy endpoints. They rate-limit aggressive CI callers+# and return non-200s that say nothing about whether the target is healthy.+^https://img\.shields\.io/+^https://api\.securityscorecards\.dev/+^https://securityscorecards\.dev/+^https://codespaces\.new/+^https://render\.com/deploy++# Placeholder and example hosts used in configuration snippets.+^https?://(localhost|127\.0\.0\.1|0\.0\.0\.0|host\.docker\.internal)+^https?://([a-z0-9-]+\.)*example\.(com|org|net)+^https?://your-+^https?://<++# Historical prototype subtree, kept for provenance only. Its links describe a+# system that no longer exists and are deliberately not maintained.+plans/cyble-aisoc/++# Vendor docs that block datacentre egress outright.+^https://www\.linkedin\.com/+^https://twitter\.com/+^https://x\.com/diff --git a/README.md b/README.mdindex 1fc2d03d5..8a1a95914 100644--- a/README.md+++ b/README.md@@ -14,10 +14,10 @@ An open-source, self-hostable AI SOC. The agent's prompts, tool calls, and ratio[](https://github.com/beenuar/AiSOC/discussions)[](https://codespaces.new/beenuar/AiSOC?quickstart=1)-[](https://tryaisoc.com)+[](https://beenuar.github.io/AiSOC/)[](https://render.com/deploy?repo=https://github.com/beenuar/AiSOC)-<sub>The community-maintained demo at <a href="https://tryaisoc.com">tryaisoc.com</a> runs on Fly.io and can go offline; see <a href="docs/operations/live-demo-runbook.md">docs/operations/live-demo-runbook.md</a> and use Codespaces as the always-on fallback.</sub>+<sub>Codespaces is the zero-install way to drive the real stack in a browser — nothing to install locally, nothing to clean up. Full documentation is published from this repo to <a href="https://beenuar.github.io/AiSOC/">beenuar.github.io/AiSOC</a>.</sub><br />@@ -178,11 +178,11 @@ A handful of headline capabilities — the rest are catalogued in [`apps/docs/do- **End-to-end SIEM spine** — a cold `docker compose up` ingests connector data → lands it in the ClickHouse event lake → the executable detection corpus (947 rules) fires on the live stream → a fused alert is created, all asserted by an extended integration gate. Fuse-time threat-intel + CISA-KEV enrichment now feeds the confidence score and exploit-in-wild boost, and **stateful/windowed detections** (brute-force, password-spray, port-scan) run alongside the corpus. [`apps/docs/docs/architecture.md`](apps/docs/docs/architecture.md).- **Autonomous triage + governed response** — every fused alert is auto-triaged by the agent (copilot/read-only by default) with a prompt-injection guard that demotes tampered evidence to manual review; a unified **confidence × blast-radius × reversibility** policy authorizes auto-execution only for reversible, low-blast actions at high confidence (everything else stays gated to a human), with real rollback + post-action verification. [`apps/docs/docs/concepts/automation-maturity.md`](apps/docs/docs/concepts/automation-maturity.md).- **Advanced Data Explorer** — one investigation surface (NL + SQL over the lake, plus pivots to identity/graph/intel), replacing the SIEM context-switch. `/explore`.-- **Investigation Rail + replayable Investigation Ledger** — every prompt, tool call, evidence chip, and rationale stored against a case, replayable in the UI and shareable as a redacted public permalink ([live demo replay](https://tryaisoc.com/r/demo-lockbit)). [`apps/docs/docs/console/investigation-rail.md`](apps/docs/docs/console/investigation-rail.md).+- **Investigation Rail + replayable Investigation Ledger** — every prompt, tool call, evidence chip, and rationale stored against a case, replayable in the UI and shareable as a redacted public permalink. [`apps/docs/docs/console/investigation-rail.md`](apps/docs/docs/console/investigation-rail.md).- **Detection-as-Code lifecycle** — propose → review → eval-gate → promote; CI rejects any candidate that fails its own positive/negative fixtures (the non-circular gate) or regresses MITRE accuracy. Analyst false-positive feedback now feeds a **self-improving tuner** that proposes scoped rule exceptions / severity changes (human-approved, never auto-applied). [`apps/docs/docs/concepts/detections.md`](apps/docs/docs/concepts/detections.md) — and the 869 native rules live in [`detections/`](detections/).- **Three-model AI + tool-using agents** — Semantic (graph-at-ingest), Behavioral (UEBA fused into alert scoring), and Knowledge (LLM), with fuse-time attack-chain grouping. The agent calls real tools (IOC enrichment, MITRE lookup, graph blast-radius) through an **LLM tool-calling loop**, and a **scored planner** routes each alert to the right specialist instead of fanning out to all four.- **Cost-governed LLM routing** — per-tenant budgets + circuit breaker, token/cost telemetry, a content-addressed response cache, a cheap-first cost cascade (escalate to the strong model only on low confidence), multi-model gateway fallbacks, and per-tenant BYOK keys. [`services/agents/app/routing/`](services/agents/app/routing/).-- **Hunt-as-Code** — YAML hypotheses with MITRE tags, cron schedules, and natural-language `/hunt` workbench. [`hunts/`](hunts/) + [`apps/docs/docs/console/rule-tuning.md`](apps/docs/docs/console/rule-tuning.md). Plus free, login-free [browser tools](https://tryaisoc.com/tools): a Sigma/SPL/KQL/ES|QL rule translator, an ATT&CK coverage grader, NL→Sigma, and a noise calculator.+- **Hunt-as-Code** — YAML hypotheses with MITRE tags, cron schedules, and natural-language `/hunt` workbench. [`hunts/`](hunts/) + [`apps/docs/docs/console/rule-tuning.md`](apps/docs/docs/console/rule-tuning.md).- **Public weekly benchmark scoreboard** — the same harness that gates PRs; the deterministic-tier row is CI-gated for freshness on every PR, and the funded weekly job appends live-LLM rows. A new **groundedness/hallucination axis** flags any indicator the agent asserts that isn't in the evidence it was given. [`apps/docs/docs/benchmark-scoreboard.mdx`](apps/docs/docs/benchmark-scoreboard.mdx).---diff --git a/SUPPORT.md b/SUPPORT.mdindex 9cd8fe1c5..c17730649 100644--- a/SUPPORT.md+++ b/SUPPORT.md@@ -4,7 +4,8 @@ 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.+The Docusaurus site at <https://beenuar.github.io/AiSOC/> is published from+[`apps/docs/docs/`](apps/docs/docs/) in this repo on every push to `main`.Hit the search box first — it covers connectors, quickstarts, operationsrunbooks, the eval-harness methodology, deployment guides, and the APIreference.@@ -29,13 +30,13 @@ Please don't open a GitHub *issue* for a question — they're reserved forbugs, feature requests, detection-rule proposals, and benchmarksubmissions, each of which has its own template.-## 3. Try the live demo+## 3. Try it yourself-<https://tryaisoc.com> is a community-maintained Fly.io instance. It can-go offline (see [docs/operations/live-demo-runbook.md](docs/operations/live-demo-runbook.md)). When that happens, the-always-on fallback is the+The fastest way to see the product is the[Codespaces quickstart](https://codespaces.new/beenuar/AiSOC?quickstart=1) —-zero local install, runs in your browser.+zero local install, runs in your browser, and drives the real stack rather+than a hosted screenshot of it. Offline and even quicker:+`pip install aisoc-sandbox && aisoc-sandbox demo`.## 4. File a bug