Skip to content

Phase 14 G5c: read-only auditor links - #278

Merged
derpenstiltskin merged 3 commits into
mainfrom
grc/audit-links
Nov 29, 2026
Merged

derpenstiltskin merged 3 commits into
mainfrom
grc/audit-links

Conversation

@derpenstiltskin

Copy link
Copy Markdown
Contributor

Time-limited, read-only access to one compliance program for an outside auditor (ADR-104).

  • Staff with grc:manage make an auditor link for a program, valid 1 to 90 days, with a name for who it's for. The token (hxau_…) is shown once and stored hashed (SHA-256).
  • The auditor opens /audit/{token} without signing in. They see the program's frameworks, Statement of Applicability, controls with implementation status, and current evidence, and can download evidence files (withheld if a malware scan hasn't cleared them).
  • Every view and download is logged against the link. Links can be turned off at any time, and expire on their own.
  • Public route outside /api/v1, rate-limited like public forms.
  • docs/security.md threat model gains the auditor link entry.

Tests: API (tests/grc.rs: open, download, logging, expiry and revocation), web Playwright.

🤖 Generated with Claude Code

derpenstiltskin and others added 3 commits November 29, 2026 03:41
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FB5egiieMza7X9uZ6i71GD
- Time-limited (1–90 days), revocable links to one compliance program for
  an auditor; the token is shown once and stored hashed (ADR-104).
- /public/audit/{token}: frameworks and posture, the Statement of
  Applicability, the controls matrix and current evidence; evidence files
  download through it. Rate limited; every view and download audited.
- Auditor access card on the program's Details tab; a public /audit page.
- Threat model row for the new public surface.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FB5egiieMza7X9uZ6i71GD
@derpenstiltskin
derpenstiltskin merged commit adc928f into main Nov 29, 2026
14 checks passed
@derpenstiltskin
derpenstiltskin deleted the grc/audit-links branch November 29, 2026 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant