Build with orgo; link source to gitbay !2

merged merged by cmc on 2026-11-05 22:33 UTC · audit-labs/audit-labs.dev:orgo into main

14 files changed, +284 −302

Layout: unified · split

.gitignore added +1
@@ -0,0 +1 @@
1public/
README.org added +34
@@ -0,0 +1,34 @@
1#+title: audit-labs.dev
2
3* what
4source for audit-labs.dev. built with [[https://gitbay.org/krz/orgo][orgo]].
5
6* structure
7#+begin_example
8content/ pages; each is a directory index (evidence-seal/index.org -> /evidence-seal/)
9content/orgo.toml site config
10templates/ base.html: head, nav, footer, filled from each page's keywords
11static/assets/ site.css, plus walkthrough.css for /walkthrough/
12#+end_example
13
14page bodies are html export blocks. base.html lists the keywords it reads.
15
16* build
17#+begin_src sh
18./build.sh
19#+end_src
20
21output goes to public/. to preview:
22
23#+begin_src sh
24orgo serve content -o /tmp/audit-labs-preview
25#+end_src
26
27* deploy
28gitbay serves the =pages= branch at audit-labs.dev. from an up-to-date main:
29
30#+begin_src sh
31./deploy.sh
32#+end_src
33
34it builds, commits public/ to =pages= as "Build <sha>", and pushes.
build.sh added +10
@@ -0,0 +1,10 @@
1#!/usr/bin/env bash
2# Build the site into public/ with orgo.
3set -euo pipefail
4cd "$(dirname "$0")"
5
6rm -rf public
7orgo build content -o public --strict
8
9# The incremental cache is a build input, not part of the site.
10rm -f public/.orgo-cache.json
audit-report/index.html → content/audit-report/index.org renamed +8 −38
@@ -1,25 +1,10 @@
1<!DOCTYPE html>
2<html lang="en">
3<head>
4 <meta charset="UTF-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1.0">
6 <title>audit-report | Audit Labs</title>
7 <meta name="description" content="Turn audit-tools evidence packages into control-mapped, auditor-ready reports (Markdown, HTML, JSON) with SOC 2, ISO 27001 and NIST mappings, plus diff and trend modes.">
8 <link rel="preconnect" href="https://fonts.googleapis.com">
9 <link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;700&family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@400;500;600&display=swap" rel="stylesheet">
10 <link rel="stylesheet" href="../assets/site.css">
11</head>
12<body>
13
14<nav>
15 <div class="nav-inner">
16 <a href="/" class="logo">AUDIT<span>LABS</span></a>
17 <ul class="nav-links">
18 <li><a href="https://github.com/audit-labs/audit-report" class="btn-github">View on GitHub →</a></li>
19 </ul>
20 </div>
21</nav>
1#+title: audit-report | Audit Labs
2#+description: Turn audit-tools evidence packages into control-mapped, auditor-ready reports (Markdown, HTML, JSON) with SOC 2, ISO 27001 and NIST mappings, plus diff and trend modes.
3#+nav_label: View source →
4#+nav_url: https://gitbay.org/audit-labs/audit-report
5#+tagline: a two-person team building for the community.
226
7#+begin_export html
238<header class="hero split">
249 <div class="hero-inner">
2510 <div>
@@ -31,7 +16,7 @@
3116 rendered as Markdown, self-contained HTML, or JSON. Diff and trend modes track drift over time.
3217 </p>
3318 <div class="hero-actions">
34 <a href="https://github.com/audit-labs/audit-report" class="btn-primary">View on GitHub</a>
19 <a href="https://gitbay.org/audit-labs/audit-report" class="btn-primary">View source</a>
3520 <a href="#install" class="btn-secondary">Install &amp; quickstart</a>
3621 </div>
3722 </div>
@@ -140,19 +125,4 @@ audit-report ./output/aws_audit_prod_2026-08 \
140125 </div>
141126 </div>
142127</section>
143
144<footer>
145 <div class="footer-inner">
146 <div class="footer-left">
147 <a href="/" class="footer-logo">AUDIT<span>LABS</span></a>
148 <p>© 2026 Audit Labs — a two-person team building for the community.</p>
149 </div>
150 <div class="footer-links">
151 <a href="/">Home</a>
152 <a href="https://github.com/audit-labs">GitHub</a>
153 </div>
154 </div>
155</footer>
156
157</body>
158</html>
128#+end_export
control-coverage/index.html → content/control-coverage/index.org renamed +8 −38
@@ -1,25 +1,10 @@
1<!DOCTYPE html>
2<html lang="en">
3<head>
4 <meta charset="UTF-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1.0">
6 <title>control-coverage | Audit Labs</title>
7 <meta name="description" content="Control-first coverage and blind-spot analysis. Scores an evidence corpus against the complete catalog of a framework's controls — SOC 2, ISO 27001, NIST 800-53 — for a true coverage percentage, the blind spots no finding touches, and a Statement of Applicability.">
8 <link rel="preconnect" href="https://fonts.googleapis.com">
9 <link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;700&family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@400;500;600&display=swap" rel="stylesheet">
10 <link rel="stylesheet" href="../assets/site.css">
11</head>
12<body>
13
14<nav>
15 <div class="nav-inner">
16 <a href="/" class="logo">AUDIT<span>LABS</span></a>
17 <ul class="nav-links">
18 <li><a href="https://github.com/audit-labs/control-coverage" class="btn-github">View on GitHub →</a></li>
19 </ul>
20 </div>
21</nav>
1#+title: control-coverage | Audit Labs
2#+description: Control-first coverage and blind-spot analysis. Scores an evidence corpus against the complete catalog of a framework's controls — SOC 2, ISO 27001, NIST 800-53 — for a true coverage percentage, the blind spots no finding touches, and a Statement of Applicability.
3#+nav_label: View source →
4#+nav_url: https://gitbay.org/audit-labs/control-coverage
5#+tagline: a two-person team building for the community.
226
7#+begin_export html
238<header class="hero split">
249 <div class="hero-inner">
2510 <div>
@@ -33,7 +18,7 @@
3318 Statement of Applicability &mdash; from audit-report JSON you already have.
3419 </p>
3520 <div class="hero-actions">
36 <a href="https://github.com/audit-labs/control-coverage" class="btn-primary">View on GitHub</a>
21 <a href="https://gitbay.org/audit-labs/control-coverage" class="btn-primary">View source</a>
3722 <a href="#install" class="btn-secondary">Install &amp; quickstart</a>
3823 </div>
3924 </div>
@@ -140,19 +125,4 @@ control-coverage ./reports/ \
140125 </div>
141126 </div>
142127</section>
143
144<footer>
145 <div class="footer-inner">
146 <div class="footer-left">
147 <a href="/" class="footer-logo">AUDIT<span>LABS</span></a>
148 <p>© 2026 Audit Labs — a two-person team building for the community.</p>
149 </div>
150 <div class="footer-links">
151 <a href="/">Home</a>
152 <a href="https://github.com/audit-labs">GitHub</a>
153 </div>
154 </div>
155</footer>
156
157</body>
158</html>
128#+end_export
evidence-seal/index.html → content/evidence-seal/index.org renamed +8 −38
@@ -1,25 +1,10 @@
1<!DOCTYPE html>
2<html lang="en">
3<head>
4 <meta charset="UTF-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1.0">
6 <title>evidence-seal | Audit Labs</title>
7 <meta name="description" content="Tamper-evident seals and chain of custody for audit evidence. SHA-256 Merkle manifests, seal chaining, optional ed25519 signing and RFC 3161 timestamping.">
8 <link rel="preconnect" href="https://fonts.googleapis.com">
9 <link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;700&family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@400;500;600&display=swap" rel="stylesheet">
10 <link rel="stylesheet" href="../assets/site.css">
11</head>
12<body>
13
14<nav>
15 <div class="nav-inner">
16 <a href="/" class="logo">AUDIT<span>LABS</span></a>
17 <ul class="nav-links">
18 <li><a href="https://github.com/audit-labs/evidence-seal" class="btn-github">View on GitHub →</a></li>
19 </ul>
20 </div>
21</nav>
1#+title: evidence-seal | Audit Labs
2#+description: Tamper-evident seals and chain of custody for audit evidence. SHA-256 Merkle manifests, seal chaining, optional ed25519 signing and RFC 3161 timestamping.
3#+nav_label: View source →
4#+nav_url: https://gitbay.org/audit-labs/evidence-seal
5#+tagline: a two-person team building for the community.
226
7#+begin_export html
238<header class="hero split">
249 <div class="hero-inner">
2510 <div>
@@ -31,7 +16,7 @@
3116 names anything that moved. Signing and trusted timestamps prove <em>who</em> and <em>when</em>.
3217 </p>
3318 <div class="hero-actions">
34 <a href="https://github.com/audit-labs/evidence-seal" class="btn-primary">View on GitHub</a>
19 <a href="https://gitbay.org/audit-labs/evidence-seal" class="btn-primary">View source</a>
3520 <a href="#install" class="btn-secondary">Install &amp; quickstart</a>
3621 </div>
3722 </div>
@@ -129,19 +114,4 @@ evidence-seal verify ./evidence</pre>
129114 </div>
130115 </div>
131116</section>
132
133<footer>
134 <div class="footer-inner">
135 <div class="footer-left">
136 <a href="/" class="footer-logo">AUDIT<span>LABS</span></a>
137 <p>© 2026 Audit Labs — a two-person team building for the community.</p>
138 </div>
139 <div class="footer-links">
140 <a href="/">Home</a>
141 <a href="https://github.com/audit-labs">GitHub</a>
142 </div>
143 </div>
144</footer>
145
146</body>
147</html>
117#+end_export
gh-attest/index.html → content/gh-attest/index.org renamed +13 −43
@@ -1,25 +1,12 @@
1<!DOCTYPE html>
2<html lang="en">
3<head>
4 <meta charset="UTF-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1.0">
6 <title>gh-attest | Audit Labs</title>
7 <meta name="description" content="A read-only GitHub App that turns your security configuration into auditor-ready evidence — branch protection, scanning alerts, and org access recorded over time and mapped to SOC 2 and ISO 27001 controls.">
8 <link rel="preconnect" href="https://fonts.googleapis.com">
9 <link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;700&family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@400;500;600&display=swap" rel="stylesheet">
10 <link rel="stylesheet" href="../assets/site.css">
11</head>
12<body>
13
14<nav>
15 <div class="nav-inner">
16 <a href="/" class="logo">AUDIT<span>LABS</span></a>
17 <ul class="nav-links">
18 <li><a href="https://github.com/audit-labs/gh-attest" class="btn-github">View on GitHub →</a></li>
19 </ul>
20 </div>
21</nav>
1#+title: gh-attest | Audit Labs
2#+description: A read-only GitHub App that turns your security configuration into auditor-ready evidence — branch protection, scanning alerts, and org access recorded over time and mapped to SOC 2 and ISO 27001 controls.
3#+nav_label: View source →
4#+nav_url: https://gitbay.org/audit-labs/gh-attest
5#+tagline: an independent, open-source project built for the community.
6#+footer_link_1: Privacy | https://gitbay.org/audit-labs/gh-attest/blob/main/PRIVACY.md
7#+footer_link_2: Security | https://gitbay.org/audit-labs/gh-attest/blob/main/SECURITY.md
228
9#+begin_export html
2310<header class="hero split">
2411 <div class="hero-inner">
2512 <div>
@@ -32,7 +19,7 @@
3219 It never modifies your repositories, permissions, or membership.
3320 </p>
3421 <div class="hero-actions">
35 <a href="https://github.com/audit-labs/gh-attest" class="btn-primary">View on GitHub</a>
22 <a href="https://gitbay.org/audit-labs/gh-attest" class="btn-primary">View source</a>
3623 <a href="#collect" class="btn-secondary">What it collects</a>
3724 </div>
3825 </div>
@@ -137,30 +124,13 @@
137124 <p class="lede" style="margin-top:.8rem; font-size:.9rem;">
138125 It runs in your own Cloudflare account &mdash; a single Worker with D1, R2, and a queue.
139126 There is no hosted instance; your evidence never leaves your account. See the
140 <a href="https://github.com/audit-labs/gh-attest#deployment" style="color:var(--amber); text-decoration:none;">deployment steps</a>,
141 <a href="https://github.com/audit-labs/gh-attest/blob/main/PRIVACY.md" style="color:var(--amber); text-decoration:none;">data handling</a>,
127 <a href="https://gitbay.org/audit-labs/gh-attest#deployment" style="color:var(--amber); text-decoration:none;">deployment steps</a>,
128 <a href="https://gitbay.org/audit-labs/gh-attest/blob/main/PRIVACY.md" style="color:var(--amber); text-decoration:none;">data handling</a>,
142129 and
143 <a href="https://github.com/audit-labs/gh-attest/blob/main/SECURITY.md" style="color:var(--amber); text-decoration:none;">security policy</a>.
130 <a href="https://gitbay.org/audit-labs/gh-attest/blob/main/SECURITY.md" style="color:var(--amber); text-decoration:none;">security policy</a>.
144131 </p>
145132 </div>
146133 </div>
147134 </div>
148135</section>
149
150<footer>
151 <div class="footer-inner">
152 <div class="footer-left">
153 <a href="/" class="footer-logo">AUDIT<span>LABS</span></a>
154 <p>© 2026 Audit Labs — an independent, open-source project built for the community.</p>
155 </div>
156 <div class="footer-links">
157 <a href="/">Home</a>
158 <a href="https://github.com/audit-labs">GitHub</a>
159 <a href="https://github.com/audit-labs/gh-attest/blob/main/PRIVACY.md">Privacy</a>
160 <a href="https://github.com/audit-labs/gh-attest/blob/main/SECURITY.md">Security</a>
161 </div>
162 </div>
163</footer>
164
165</body>
166</html>
136#+end_export
index.html → content/index.org renamed +15 −44
@@ -1,26 +1,13 @@
1<!DOCTYPE html>
2<html lang="en">
3<head>
4 <meta charset="UTF-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1.0">
6 <title>Audit Labs | Open-source audit evidence toolchain</title>
7 <meta name="description" content="An open-source toolchain for audit evidence: collect it from real systems, seal it tamper-evident, map it to SOC 2 / ISO 27001 / NIST controls, and measure how much of a framework you actually cover.">
8 <a rel="me" href="https://c.im/@cmc"></a>
9 <link rel="preconnect" href="https://fonts.googleapis.com">
10 <link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;700&family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@400;500;600&display=swap" rel="stylesheet">
11 <link rel="stylesheet" href="assets/site.css">
12</head>
13<body>
14
15<nav>
16 <div class="nav-inner">
17 <a href="/" class="logo">AUDIT<span>LABS</span></a>
18 <ul class="nav-links">
19 <li><a href="https://github.com/audit-labs" class="btn-github">GitHub →</a></li>
20 </ul>
21 </div>
22</nav>
23
1#+title: Audit Labs | Open-source audit evidence toolchain
2#+description: An open-source toolchain for audit evidence: collect it from real systems, seal it tamper-evident, map it to SOC 2 / ISO 27001 / NIST controls, and measure how much of a framework you actually cover.
3#+nav_label: Source →
4#+nav_url: https://gitbay.org/audit-labs
5#+tagline: an independent, open-source project built for the community.
6#+footer_note: Not affiliated with, sponsored by, or endorsed by any employer, framework body (AICPA, ISO, NIST), or cloud provider. Framework mappings are our own interpretation.
7#+footer_link_1: Security | mailto:security@audit-labs.dev
8#+rel_me: https://c.im/@cmc
9
10#+begin_export html
2411<header class="hero">
2512 <div class="hero-inner">
2613 <div class="hero-label">Open-source · Free to use</div>
@@ -31,7 +18,7 @@
3118 <div class="hero-actions">
3219 <a href="#repos" class="btn-primary">Explore the tools</a>
3320 <a href="/walkthrough/" class="btn-secondary">See it in action</a>
34 <a href="https://github.com/audit-labs/tutorials" class="btn-secondary">See tutorials</a>
21 <a href="https://gitbay.org/audit-labs/tutorials" class="btn-secondary">See tutorials</a>
3522 </div>
3623
3724 <div class="ecosystem" role="img" aria-label="The Audit Labs pipeline: audit-tools collects evidence into a CSV package; evidence-seal seals and verifies that package; audit-report turns each package into a control-mapped JSON report; one or more reports form a corpus that control-coverage turns into a coverage percentage, blind spots, a Statement of Applicability, trend, and crosswalk.">
@@ -96,11 +83,11 @@
9683 <div class="section-inner">
9784 <div class="section-header">
9885 <h2>Six repos.<br>Pick what you need.</h2>
99 <a href="https://github.com/audit-labs" class="section-link">View all on GitHub →</a>
86 <a href="https://gitbay.org/audit-labs" class="section-link">Browse all repos →</a>
10087 </div>
10188 <p class="lede" style="margin: -0.5rem 0 2.4rem;">Each tool does one job and hands off to the next — run a single step or the whole chain, from collecting evidence to measuring control coverage.</p>
10289 <div class="repo-grid">
103 <a href="https://github.com/audit-labs/audit-tools" class="repo-card">
90 <a href="https://gitbay.org/audit-labs/audit-tools" class="repo-card">
10491 <div class="repo-tag">Collect</div>
10592 <h3>audit-labs/audit-tools</h3>
10693 <p>Ready-to-run scripts for common audit procedures: pseudo-random sampling, GITC extraction, database user access, Linux OS reports, and more. Gathers raw evidence into CSV packages — use as-is or adapt to your environment.</p>
@@ -150,7 +137,7 @@
150137 <span class="lang-badge">D1</span>
151138 </div>
152139 </a>
153 <a href="https://github.com/audit-labs/tutorials" class="repo-card">
140 <a href="https://gitbay.org/audit-labs/tutorials" class="repo-card">
154141 <div class="repo-tag">Learn</div>
155142 <h3>audit-labs/tutorials</h3>
156143 <p>Step-by-step guides on building your own audit automation using Python, the CLI, and APIs. Good starting point if you're new to scripting or want to extend any of the tools above.</p>
@@ -227,20 +214,4 @@
227214 </div>
228215 </div>
229216</section>
230
231<footer>
232 <div class="footer-inner">
233 <div class="footer-left">
234 <a href="/" class="footer-logo">AUDIT<span>LABS</span></a>
235 <p>© 2026 Audit Labs — an independent, open-source project built for the community.</p>
236 <p class="footer-note">Not affiliated with, sponsored by, or endorsed by any employer, framework body (AICPA, ISO, NIST), or cloud provider. Framework mappings are our own interpretation.</p>
237 </div>
238 <div class="footer-links">
239 <a href="https://github.com/audit-labs">GitHub</a>
240 <a href="mailto:security@audit-labs.dev">Security</a>
241 </div>
242 </div>
243</footer>
244
245</body>
246</html>
217#+end_export
content/orgo.toml added +28
@@ -0,0 +1,28 @@
1# orgo configuration for audit-labs.dev.
2#
3# content/ is the URL root; every page is a directory index (evidence-seal/index.org
4# publishes at /evidence-seal/). Page bodies are HTML export blocks, laid out by
5# templates/base.html.
6#
7# ./build.sh # build public/
8# ./deploy.sh # build, then publish to the pages branch
9# orgo serve content -o /tmp/audit-labs-preview # write and preview
10
11[site]
12title = "Audit Labs"
13description = "Open-source audit evidence toolchain."
14language = "en"
15base_url = "https://audit-labs.dev"
16
17[nav]
18# The nav is written in templates/base.html.
19mode = "none"
20
21[templates]
22dir = "../templates"
23
24[build]
25assets = ["../static"]
26
27[html]
28toc = false
walkthrough/index.html → content/walkthrough/index.org renamed +10 −101
@@ -1,87 +1,12 @@
1<!DOCTYPE html>
2<html lang="en">
3<head>
4 <meta charset="UTF-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1.0">
6 <title>End-to-end walkthrough | Audit Labs</title>
7 <meta name="description" content="Watch one finding travel the whole Audit Labs pipeline — collect it with audit-tools, seal it with evidence-seal, map it to controls with audit-report, and measure coverage with control-coverage.">
8 <link rel="preconnect" href="https://fonts.googleapis.com">
9 <link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;700&family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@400;500;600&display=swap" rel="stylesheet">
10 <link rel="stylesheet" href="../assets/site.css">
11 <style>
12 /* ---- walkthrough-specific layout (scoped to this page) ---- */
13 .stage { display: grid; grid-template-columns: 1fr 1fr; gap: 2.6rem; margin-top: 2.4rem; align-items: start; }
14 .stage > * { min-width: 0; }
15 @media (max-width: 860px) { .stage { grid-template-columns: 1fr; gap: 1.7rem; } }
16
17 .stage-num { font-family: 'IBM Plex Mono', monospace; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin-bottom: 0.9rem; display: flex; align-items: center; gap: 0.6rem; }
18 .stage-num b { font-weight: 700; color: var(--black); background: #fef3c7; border-radius: 3px; padding: 0.05rem 0.45rem; }
19 .stage-lede { color: var(--gray-3); font-size: 0.98rem; line-height: 1.7; margin-top: 0.7rem; }
20 .stage-lede .mono { color: var(--gray-1); font-family: 'IBM Plex Mono', monospace; font-size: 0.86em; }
21 .stage-lede .ctrl { color: var(--amber); font-family: 'IBM Plex Mono', monospace; font-size: 0.84em; }
22
23 .stage pre { background: #111; color: #e8e0d0; border-radius: 8px; padding: 1.1rem 1.3rem; font-family: 'IBM Plex Mono', monospace; font-size: 0.76rem; line-height: 1.85; overflow-x: auto; margin-top: 1.3rem; }
24 .stage pre .c { color: #555; } .stage pre .p { color: #5a9060; } .stage pre .o { color: #7a9f7a; } .stage pre .h { color: #8a8a8a; }
25
26 /* artifact panel — looks like a small file/output viewer */
27 .panel { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: #fff; }
28 .panel-bar { background: var(--off-white); border-bottom: 1px solid var(--border); padding: 0.5rem 0.9rem; font-family: 'IBM Plex Mono', monospace; font-size: 0.68rem; color: var(--gray-3); display: flex; align-items: center; gap: 0.55rem; }
29 .panel-bar .fname { color: var(--gray-1); font-weight: 700; }
30 .panel-bar .tag { margin-left: auto; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-4); }
31 .panel-body { overflow-x: auto; }
32
33 table.evi { border-collapse: collapse; font-family: 'IBM Plex Mono', monospace; font-size: 0.7rem; width: 100%; white-space: nowrap; }
34 table.evi th { text-align: left; color: var(--gray-4); font-weight: 500; padding: 0.5rem 0.85rem; border-bottom: 1px solid var(--border); }
35 table.evi td { padding: 0.45rem 0.85rem; border-bottom: 1px solid var(--border); color: var(--gray-1); }
36 table.evi tr:last-child td { border-bottom: none; }
37 tr.hl td { background: #fef3c7; color: var(--black); }
38 .bad { color: var(--red); font-weight: 700; }
39 .ok { color: var(--green); }
40
41 /* json artifact */
42 .json { font-family: 'IBM Plex Mono', monospace; font-size: 0.73rem; line-height: 1.75; padding: 1rem 1.15rem; white-space: pre; color: #4a4a4a; }
43 .json .jk { color: var(--gray-1); } .json .js { color: var(--green); } .json .jn { color: var(--amber); }
44 .json .jc { color: var(--amber); font-weight: 700; }
45 .json-hl { background: #fef3c7; display: block; border-radius: 3px; }
46
47 /* coverage meter */
48 .cov { padding: 1.2rem 1.15rem; }
49 .cov-row { display: flex; align-items: baseline; justify-content: space-between; font-family: 'IBM Plex Mono', monospace; font-size: 0.74rem; color: var(--gray-1); margin-bottom: 0.5rem; }
50 .cov-row b { font-size: 1.05rem; color: var(--black); }
51 .meter { height: 8px; background: var(--off-white); border: 1px solid var(--border); border-radius: 999px; overflow: hidden; margin-bottom: 1.2rem; }
52 .meter > span { display: block; height: 100%; width: 63%; background: linear-gradient(90deg, var(--amber), var(--amber-light)); }
53 .cov h5 { font-family: 'IBM Plex Mono', monospace; font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-4); margin: 0.4rem 0 0.55rem; }
54 .chip-row { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 1rem; }
55 .chip { font-family: 'IBM Plex Mono', monospace; font-size: 0.68rem; border-radius: 4px; padding: 0.16rem 0.5rem; border: 1px solid var(--border); color: var(--gray-3); background: #fff; }
56 .chip.on { color: var(--green); border-color: rgba(21,128,61,0.35); background: rgba(21,128,61,0.06); }
57 .chip.here { color: var(--amber); border-color: rgba(217,119,6,0.4); background: #fef3c7; font-weight: 700; }
58 .blind { font-family: 'IBM Plex Mono', monospace; font-size: 0.7rem; color: var(--gray-3); line-height: 1.9; }
59 .blind b { color: var(--red); }
60
61 /* through-line legend */
62 .thread { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; margin-top: 2rem; background: #fff; border: 1px solid var(--border); border-left: 3px solid var(--amber); border-radius: 6px; padding: 0.85rem 1.1rem; }
63 .thread .lab { font-family: 'IBM Plex Mono', monospace; font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); }
64 .thread .val { font-family: 'IBM Plex Mono', monospace; font-size: 0.78rem; color: var(--gray-1); }
65 .thread .val b { color: var(--black); }
66
67 .stage-link { display: inline-block; margin-top: 1.2rem; font-family: 'IBM Plex Mono', monospace; font-size: 0.74rem; color: var(--gray-3); text-decoration: none; border-bottom: 1px solid var(--gray-5); padding-bottom: 1px; transition: color 0.15s; }
68 .stage-link:hover { color: var(--amber); }
69
70 .contract-list { margin-top: 2.2rem; }
71 section.alt { background: var(--warm-white); }
72 </style>
73</head>
74<body>
75
76<nav>
77 <div class="nav-inner">
78 <a href="/" class="logo">AUDIT<span>LABS</span></a>
79 <ul class="nav-links">
80 <li><a href="https://github.com/audit-labs" class="btn-github">GitHub →</a></li>
81 </ul>
82 </div>
83</nav>
1#+title: End-to-end walkthrough | Audit Labs
2#+description: Watch one finding travel the whole Audit Labs pipeline — collect it with audit-tools, seal it with evidence-seal, map it to controls with audit-report, and measure coverage with control-coverage.
3#+nav_label: Source →
4#+nav_url: https://gitbay.org/audit-labs
5#+tagline: an independent, open-source project built for the community.
6#+footer_note: Illustrative example. &ldquo;Northwind&rdquo; and its findings are fictional. Framework mappings are the maintainers&rsquo; own interpretation — a failing row is evidence, not a compliance verdict.
7#+stylesheet: walkthrough.css
848
9#+begin_export html
8510<header class="hero split">
8611 <div class="hero-inner">
8712 <div>
@@ -159,7 +84,7 @@ python audit_tui.py
15984output/aws_audit_northwind_2026-07-29/
16085 <span class="o">iam_users.csv password_policy.csv account_security.csv</span>
16186 <span class="o">open_security_groups.csv config_recorders.csv cloudtrail.csv</span></pre>
162 <a href="https://github.com/audit-labs/audit-tools" class="stage-link">audit-tools on GitHub →</a>
87 <a href="https://gitbay.org/audit-labs/audit-tools" class="stage-link">audit-tools source →</a>
16388 </div>
16489 <div class="panel">
16590 <div class="panel-bar"><span class="fname">iam_users.csv</span><span class="tag">6-file package</span></div>
@@ -350,20 +275,4 @@ control-coverage reports/ --fail-under 60</pre>
350275 </div>
351276 </div>
352277</section>
353
354<footer>
355 <div class="footer-inner">
356 <div class="footer-left">
357 <a href="/" class="footer-logo">AUDIT<span>LABS</span></a>
358 <p>© 2026 Audit Labs — an independent, open-source project built for the community.</p>
359 <p class="footer-note">Illustrative example. &ldquo;Northwind&rdquo; and its findings are fictional. Framework mappings are the maintainers&rsquo; own interpretation — a failing row is evidence, not a compliance verdict.</p>
360 </div>
361 <div class="footer-links">
362 <a href="/">Home</a>
363 <a href="https://github.com/audit-labs">GitHub</a>
364 </div>
365 </div>
366</footer>
367
368</body>
369</html>
278#+end_export
deploy.sh added +23
@@ -0,0 +1,23 @@
1#!/usr/bin/env bash
2# Build, then publish public/ as a commit on the pages branch, which gitbay serves at
3# audit-labs.dev. Run from an up-to-date main.
4set -euo pipefail
5cd "$(dirname "$0")"
6
7./build.sh
8src=$(git rev-parse --short HEAD)
9
10git fetch -q origin pages
11tree=$(mktemp -d)
12trap 'git worktree remove --force "$tree"; git worktree prune' EXIT
13git worktree add -q --detach "$tree" origin/pages
14
15rsync -a --delete --exclude .git public/ "$tree/"
16git -C "$tree" add -A
17if git -C "$tree" diff --cached --quiet; then
18 echo "deploy.sh: pages already matches $src"
19 exit 0
20fi
21git -C "$tree" commit -q -m "Build $src"
22git -C "$tree" push -q origin HEAD:refs/heads/pages
23echo "deploy.sh: published $src to pages"
assets/site.css → static/assets/site.css renamed
static/assets/walkthrough.css added +60
@@ -0,0 +1,60 @@
1/* Walkthrough-page layout, linked only from walkthrough/. */
2.stage { display: grid; grid-template-columns: 1fr 1fr; gap: 2.6rem; margin-top: 2.4rem; align-items: start; }
3.stage > * { min-width: 0; }
4@media (max-width: 860px) { .stage { grid-template-columns: 1fr; gap: 1.7rem; } }
5
6.stage-num { font-family: 'IBM Plex Mono', monospace; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin-bottom: 0.9rem; display: flex; align-items: center; gap: 0.6rem; }
7.stage-num b { font-weight: 700; color: var(--black); background: #fef3c7; border-radius: 3px; padding: 0.05rem 0.45rem; }
8.stage-lede { color: var(--gray-3); font-size: 0.98rem; line-height: 1.7; margin-top: 0.7rem; }
9.stage-lede .mono { color: var(--gray-1); font-family: 'IBM Plex Mono', monospace; font-size: 0.86em; }
10.stage-lede .ctrl { color: var(--amber); font-family: 'IBM Plex Mono', monospace; font-size: 0.84em; }
11
12.stage pre { background: #111; color: #e8e0d0; border-radius: 8px; padding: 1.1rem 1.3rem; font-family: 'IBM Plex Mono', monospace; font-size: 0.76rem; line-height: 1.85; overflow-x: auto; margin-top: 1.3rem; }
13.stage pre .c { color: #555; } .stage pre .p { color: #5a9060; } .stage pre .o { color: #7a9f7a; } .stage pre .h { color: #8a8a8a; }
14
15/* artifact panel — looks like a small file/output viewer */
16.panel { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: #fff; }
17.panel-bar { background: var(--off-white); border-bottom: 1px solid var(--border); padding: 0.5rem 0.9rem; font-family: 'IBM Plex Mono', monospace; font-size: 0.68rem; color: var(--gray-3); display: flex; align-items: center; gap: 0.55rem; }
18.panel-bar .fname { color: var(--gray-1); font-weight: 700; }
19.panel-bar .tag { margin-left: auto; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-4); }
20.panel-body { overflow-x: auto; }
21
22table.evi { border-collapse: collapse; font-family: 'IBM Plex Mono', monospace; font-size: 0.7rem; width: 100%; white-space: nowrap; }
23table.evi th { text-align: left; color: var(--gray-4); font-weight: 500; padding: 0.5rem 0.85rem; border-bottom: 1px solid var(--border); }
24table.evi td { padding: 0.45rem 0.85rem; border-bottom: 1px solid var(--border); color: var(--gray-1); }
25table.evi tr:last-child td { border-bottom: none; }
26tr.hl td { background: #fef3c7; color: var(--black); }
27.bad { color: var(--red); font-weight: 700; }
28.ok { color: var(--green); }
29
30/* json artifact */
31.json { font-family: 'IBM Plex Mono', monospace; font-size: 0.73rem; line-height: 1.75; padding: 1rem 1.15rem; white-space: pre; color: #4a4a4a; }
32.json .jk { color: var(--gray-1); } .json .js { color: var(--green); } .json .jn { color: var(--amber); }
33.json .jc { color: var(--amber); font-weight: 700; }
34.json-hl { background: #fef3c7; display: block; border-radius: 3px; }
35
36/* coverage meter */
37.cov { padding: 1.2rem 1.15rem; }
38.cov-row { display: flex; align-items: baseline; justify-content: space-between; font-family: 'IBM Plex Mono', monospace; font-size: 0.74rem; color: var(--gray-1); margin-bottom: 0.5rem; }
39.cov-row b { font-size: 1.05rem; color: var(--black); }
40.meter { height: 8px; background: var(--off-white); border: 1px solid var(--border); border-radius: 999px; overflow: hidden; margin-bottom: 1.2rem; }
41.meter > span { display: block; height: 100%; width: 63%; background: linear-gradient(90deg, var(--amber), var(--amber-light)); }
42.cov h5 { font-family: 'IBM Plex Mono', monospace; font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-4); margin: 0.4rem 0 0.55rem; }
43.chip-row { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 1rem; }
44.chip { font-family: 'IBM Plex Mono', monospace; font-size: 0.68rem; border-radius: 4px; padding: 0.16rem 0.5rem; border: 1px solid var(--border); color: var(--gray-3); background: #fff; }
45.chip.on { color: var(--green); border-color: rgba(21,128,61,0.35); background: rgba(21,128,61,0.06); }
46.chip.here { color: var(--amber); border-color: rgba(217,119,6,0.4); background: #fef3c7; font-weight: 700; }
47.blind { font-family: 'IBM Plex Mono', monospace; font-size: 0.7rem; color: var(--gray-3); line-height: 1.9; }
48.blind b { color: var(--red); }
49
50/* through-line legend */
51.thread { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; margin-top: 2rem; background: #fff; border: 1px solid var(--border); border-left: 3px solid var(--amber); border-radius: 6px; padding: 0.85rem 1.1rem; }
52.thread .lab { font-family: 'IBM Plex Mono', monospace; font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); }
53.thread .val { font-family: 'IBM Plex Mono', monospace; font-size: 0.78rem; color: var(--gray-1); }
54.thread .val b { color: var(--black); }
55
56.stage-link { display: inline-block; margin-top: 1.2rem; font-family: 'IBM Plex Mono', monospace; font-size: 0.74rem; color: var(--gray-3); text-decoration: none; border-bottom: 1px solid var(--gray-5); padding-bottom: 1px; transition: color 0.15s; }
57.stage-link:hover { color: var(--amber); }
58
59.contract-list { margin-top: 2.2rem; }
60section.alt { background: var(--warm-white); }
templates/base.html added +66
@@ -0,0 +1,66 @@
1{#- The layout for every page. Each page's body is an HTML export block; the keywords
2 below fill in the head, the nav button and the footer.
3
4 #+nav_label / #+nav_url the nav button
5 #+tagline the footer copyright line, after "© 2026 Audit Labs — "
6 #+footer_note optional small print under it (HTML)
7 #+footer_link_N extra footer links, "Label | url", N from 1
8 #+stylesheet optional page stylesheet in assets/
9 #+rel_me optional rel="me" identity link #}
10{%- set k = page.keywords -%}
11<!DOCTYPE html>
12<html lang="{{ site.language }}">
13<head>
14 <meta charset="UTF-8">
15 <meta name="viewport" content="width=device-width, initial-scale=1.0">
16 <title>{{ page.title }}</title>
17 <meta name="description" content="{{ k.description }}">
18{%- if k.rel_me %}
19 <link rel="me" href="{{ k.rel_me }}">
20{%- endif %}
21 <link rel="preconnect" href="https://fonts.googleapis.com">
22 <link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;700&family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@400;500;600&display=swap" rel="stylesheet">
23 <link rel="stylesheet" href="{{ root }}assets/site.css">
24{%- if k.stylesheet %}
25 <link rel="stylesheet" href="{{ root }}assets/{{ k.stylesheet }}">
26{%- endif %}
27</head>
28<body>
29
30<nav>
31 <div class="nav-inner">
32 <a href="/" class="logo">AUDIT<span>LABS</span></a>
33 <ul class="nav-links">
34 <li><a href="{{ k.nav_url }}" class="btn-github">{{ k.nav_label }}</a></li>
35 </ul>
36 </div>
37</nav>
38{{ body | safe }}
39
40<footer>
41 <div class="footer-inner">
42 <div class="footer-left">
43 <a href="/" class="footer-logo">AUDIT<span>LABS</span></a>
44 <p>© 2026 Audit Labs — {{ k.tagline }}</p>
45{%- if k.footer_note %}
46 <p class="footer-note">{{ k.footer_note | safe }}</p>
47{%- endif %}
48 </div>
49 <div class="footer-links">
50{%- if page.url != "index.html" %}
51 <a href="/">Home</a>
52{%- endif %}
53 <a href="https://gitbay.org/audit-labs">Source</a>
54{%- for n in range(1, 10) %}
55{%- set link = k["footer_link_" ~ n] %}
56{%- if link %}
57{%- set parts = link | split(" | ") | list %}
58 <a href="{{ parts[1] }}">{{ parts[0] }}</a>
59{%- endif %}
60{%- endfor %}
61 </div>
62 </div>
63</footer>
64
65</body>
66</html>