Commit bde4d29680

bde4d29680e8611a277a34902598f9565eb347d7

parent: 843d768618

Unsigned

cmc <hello@cleberg.net> · 2026-11-05 22:33 UTC

Build with orgo; link source to gitbay (!2)

Moves the site from hand-written HTML to orgo. Design and copy are unchanged apart from the source links.

- **Pages**: each `*/index.html` is now `content/*/index.org`. The body between nav and footer is an HTML export block, unchanged. `templates/base.html` writes the head, nav and footer from page keywords (`#+nav_label`, `#+nav_url`, `#+tagline`, `#+footer_note`, `#+footer_link_N`, `#+stylesheet`, `#+rel_me`).
- **Styles**: `assets/` → `static/assets/`. The walkthrough's inline `<style>` is now `assets/walkthrough.css`, linked from that page only.
- **Source links**: `github.com/audit-labs/*` → `gitbay.org/audit-labs/*` (all repos, including tutorials and gh-attest's PRIVACY/SECURITY, exist there). Labels: "GitHub →" → "Source →", "View on GitHub" → "View source", "View all on GitHub →" → "Browse all repos →", "audit-tools on GitHub →" → "audit-tools source →", footer "GitHub" → "Source". References to GitHub as a product (gh-attest, collectors, rulesets) are unchanged.
- **rel="me"**: was an `<a>` inside `<head>`, which made browsers move it and the three `<link>` elements after it into `<body>`. Now a `<link rel="me">` in `<head>`.
- **Deploy**: `build.sh` builds `public/`. `deploy.sh` builds, commits `public/` to the `pages` branch as "Build <sha>", and pushes. `/LICENSE` is no longer published on the site; it stays in the repo.

Checked against the current HTML:
- `orgo build --strict`: 6 pages, 0 unresolved links, 0 diagnostics.
- Token diff of every page (tags, attributes, text): only the link, label, rel="me" and stylesheet changes above.
- `site.css` byte-identical; `walkthrough.css` identical to the inline style ignoring whitespace and comments.
- Element boxes and computed colours/fonts at 1280px identical on all 6 pages, except the widths of the relabeled links.

Not covered: the deploy itself.

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> 1#+title: audit-report | Audit Labs
2<html lang="en"> 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<head> 3#+nav_label: View source →
4 <meta charset="UTF-8"> 4#+nav_url: https://gitbay.org/audit-labs/audit-report
5 <meta name="viewport" content="width=device-width, initial-scale=1.0"> 5#+tagline: a two-person team building for the community.
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>
22 6
7#+begin_export html
23<header class="hero split"> 8<header class="hero split">
24 <div class="hero-inner"> 9 <div class="hero-inner">
25 <div> 10 <div>
@@ -31,7 +16,7 @@
31 rendered as Markdown, self-contained HTML, or JSON. Diff and trend modes track drift over time. 16 rendered as Markdown, self-contained HTML, or JSON. Diff and trend modes track drift over time.
32 </p> 17 </p>
33 <div class="hero-actions"> 18 <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>
35 <a href="#install" class="btn-secondary">Install &amp; quickstart</a> 20 <a href="#install" class="btn-secondary">Install &amp; quickstart</a>
36 </div> 21 </div>
37 </div> 22 </div>
@@ -140,19 +125,4 @@ audit-report ./output/aws_audit_prod_2026-08 \
140 </div> 125 </div>
141 </div> 126 </div>
142</section> 127</section>
143 128#+end_export
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>
control-coverage/index.html → content/control-coverage/index.org renamed +8 −38
@@ -1,25 +1,10 @@
1<!DOCTYPE html> 1#+title: control-coverage | Audit Labs
2<html lang="en"> 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<head> 3#+nav_label: View source →
4 <meta charset="UTF-8"> 4#+nav_url: https://gitbay.org/audit-labs/control-coverage
5 <meta name="viewport" content="width=device-width, initial-scale=1.0"> 5#+tagline: a two-person team building for the community.
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>
22 6
7#+begin_export html
23<header class="hero split"> 8<header class="hero split">
24 <div class="hero-inner"> 9 <div class="hero-inner">
25 <div> 10 <div>
@@ -33,7 +18,7 @@
33 Statement of Applicability &mdash; from audit-report JSON you already have. 18 Statement of Applicability &mdash; from audit-report JSON you already have.
34 </p> 19 </p>
35 <div class="hero-actions"> 20 <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>
37 <a href="#install" class="btn-secondary">Install &amp; quickstart</a> 22 <a href="#install" class="btn-secondary">Install &amp; quickstart</a>
38 </div> 23 </div>
39 </div> 24 </div>
@@ -140,19 +125,4 @@ control-coverage ./reports/ \
140 </div> 125 </div>
141 </div> 126 </div>
142</section> 127</section>
143 128#+end_export
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>
evidence-seal/index.html → content/evidence-seal/index.org renamed +8 −38
@@ -1,25 +1,10 @@
1<!DOCTYPE html> 1#+title: evidence-seal | Audit Labs
2<html lang="en"> 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<head> 3#+nav_label: View source →
4 <meta charset="UTF-8"> 4#+nav_url: https://gitbay.org/audit-labs/evidence-seal
5 <meta name="viewport" content="width=device-width, initial-scale=1.0"> 5#+tagline: a two-person team building for the community.
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>
22 6
7#+begin_export html
23<header class="hero split"> 8<header class="hero split">
24 <div class="hero-inner"> 9 <div class="hero-inner">
25 <div> 10 <div>
@@ -31,7 +16,7 @@
31 names anything that moved. Signing and trusted timestamps prove <em>who</em> and <em>when</em>. 16 names anything that moved. Signing and trusted timestamps prove <em>who</em> and <em>when</em>.
32 </p> 17 </p>
33 <div class="hero-actions"> 18 <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>
35 <a href="#install" class="btn-secondary">Install &amp; quickstart</a> 20 <a href="#install" class="btn-secondary">Install &amp; quickstart</a>
36 </div> 21 </div>
37 </div> 22 </div>
@@ -129,19 +114,4 @@ evidence-seal verify ./evidence</pre>
129 </div> 114 </div>
130 </div> 115 </div>
131</section> 116</section>
132 117#+end_export
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>
gh-attest/index.html → content/gh-attest/index.org renamed +13 −43
@@ -1,25 +1,12 @@
1<!DOCTYPE html> 1#+title: gh-attest | Audit Labs
2<html lang="en"> 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<head> 3#+nav_label: View source →
4 <meta charset="UTF-8"> 4#+nav_url: https://gitbay.org/audit-labs/gh-attest
5 <meta name="viewport" content="width=device-width, initial-scale=1.0"> 5#+tagline: an independent, open-source project built for the community.
6 <title>gh-attest | Audit Labs</title> 6#+footer_link_1: Privacy | https://gitbay.org/audit-labs/gh-attest/blob/main/PRIVACY.md
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."> 7#+footer_link_2: Security | https://gitbay.org/audit-labs/gh-attest/blob/main/SECURITY.md
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>
22 8
9#+begin_export html
23<header class="hero split"> 10<header class="hero split">
24 <div class="hero-inner"> 11 <div class="hero-inner">
25 <div> 12 <div>
@@ -32,7 +19,7 @@
32 It never modifies your repositories, permissions, or membership. 19 It never modifies your repositories, permissions, or membership.
33 </p> 20 </p>
34 <div class="hero-actions"> 21 <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>
36 <a href="#collect" class="btn-secondary">What it collects</a> 23 <a href="#collect" class="btn-secondary">What it collects</a>
37 </div> 24 </div>
38 </div> 25 </div>
@@ -137,30 +124,13 @@
137 <p class="lede" style="margin-top:.8rem; font-size:.9rem;"> 124 <p class="lede" style="margin-top:.8rem; font-size:.9rem;">
138 It runs in your own Cloudflare account &mdash; a single Worker with D1, R2, and a queue. 125 It runs in your own Cloudflare account &mdash; a single Worker with D1, R2, and a queue.
139 There is no hosted instance; your evidence never leaves your account. See the 126 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>, 127 <a href="https://gitbay.org/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>, 128 <a href="https://gitbay.org/audit-labs/gh-attest/blob/main/PRIVACY.md" style="color:var(--amber); text-decoration:none;">data handling</a>,
142 and 129 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>.
144 </p> 131 </p>
145 </div> 132 </div>
146 </div> 133 </div>
147 </div> 134 </div>
148</section> 135</section>
149 136#+end_export
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>
index.html → content/index.org renamed +15 −44
@@ -1,26 +1,13 @@
1<!DOCTYPE html> 1#+title: Audit Labs | Open-source audit evidence toolchain
2<html lang="en"> 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<head> 3#+nav_label: Source →
4 <meta charset="UTF-8"> 4#+nav_url: https://gitbay.org/audit-labs
5 <meta name="viewport" content="width=device-width, initial-scale=1.0"> 5#+tagline: an independent, open-source project built for the community.
6 <title>Audit Labs | Open-source audit evidence toolchain</title> 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 <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."> 7#+footer_link_1: Security | mailto:security@audit-labs.dev
8 <a rel="me" href="https://c.im/@cmc"></a> 8#+rel_me: https://c.im/@cmc
9 <link rel="preconnect" href="https://fonts.googleapis.com"> 9
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"> 10#+begin_export html
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
24<header class="hero"> 11<header class="hero">
25 <div class="hero-inner"> 12 <div class="hero-inner">
26 <div class="hero-label">Open-source · Free to use</div> 13 <div class="hero-label">Open-source · Free to use</div>
@@ -31,7 +18,7 @@
31 <div class="hero-actions"> 18 <div class="hero-actions">
32 <a href="#repos" class="btn-primary">Explore the tools</a> 19 <a href="#repos" class="btn-primary">Explore the tools</a>
33 <a href="/walkthrough/" class="btn-secondary">See it in action</a> 20 <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>
35 </div> 22 </div>
36 23
37 <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."> 24 <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 @@
96 <div class="section-inner"> 83 <div class="section-inner">
97 <div class="section-header"> 84 <div class="section-header">
98 <h2>Six repos.<br>Pick what you need.</h2> 85 <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>
100 </div> 87 </div>
101 <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> 88 <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>
102 <div class="repo-grid"> 89 <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">
104 <div class="repo-tag">Collect</div> 91 <div class="repo-tag">Collect</div>
105 <h3>audit-labs/audit-tools</h3> 92 <h3>audit-labs/audit-tools</h3>
106 <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> 93 <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 @@
150 <span class="lang-badge">D1</span> 137 <span class="lang-badge">D1</span>
151 </div> 138 </div>
152 </a> 139 </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">
154 <div class="repo-tag">Learn</div> 141 <div class="repo-tag">Learn</div>
155 <h3>audit-labs/tutorials</h3> 142 <h3>audit-labs/tutorials</h3>
156 <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> 143 <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 @@
227 </div> 214 </div>
228 </div> 215 </div>
229</section> 216</section>
230 217#+end_export
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>
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> 1#+title: End-to-end walkthrough | Audit Labs
2<html lang="en"> 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<head> 3#+nav_label: Source →
4 <meta charset="UTF-8"> 4#+nav_url: https://gitbay.org/audit-labs
5 <meta name="viewport" content="width=device-width, initial-scale=1.0"> 5#+tagline: an independent, open-source project built for the community.
6 <title>End-to-end walkthrough | Audit Labs</title> 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 <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."> 7#+stylesheet: walkthrough.css
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>
84 8
9#+begin_export html
85<header class="hero split"> 10<header class="hero split">
86 <div class="hero-inner"> 11 <div class="hero-inner">
87 <div> 12 <div>
@@ -159,7 +84,7 @@ python audit_tui.py
159output/aws_audit_northwind_2026-07-29/ 84output/aws_audit_northwind_2026-07-29/
160 <span class="o">iam_users.csv password_policy.csv account_security.csv</span> 85 <span class="o">iam_users.csv password_policy.csv account_security.csv</span>
161 <span class="o">open_security_groups.csv config_recorders.csv cloudtrail.csv</span></pre> 86 <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>
163 </div> 88 </div>
164 <div class="panel"> 89 <div class="panel">
165 <div class="panel-bar"><span class="fname">iam_users.csv</span><span class="tag">6-file package</span></div> 90 <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>
350 </div> 275 </div>
351 </div> 276 </div>
352</section> 277</section>
353 278#+end_export
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>
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>