Repository navigation
grc-evidence 2.0.0
grc-evidence 2.0.0 collects SOC 2 Type 2 evidence over an audit window, and renames the package from okf-grc to grc-evidence.
uv tool install 'grc-evidence[llm,mcp] @ git+https://github.com/cdevarenne/grc-evidence@v2.0.0'
Type 2 evidence over a window (Spec H Part A)
A scan of one commit shows one day. A Type 2 audit asks whether controls operated over months. With a window and a list of GitHub repos in grc.yaml, grc run now also reads each repo through the GitHub API, read only and without a clone:
- Repo settings (
scm-*findings): required reviews, required checks, who can bypass them (admins, ruleset bypass actors in any mode, classic review bypass allowances), and whether each scanner job can fail the build. Rules the token cannot read givescm-rules-unreadable, never a pass. - Change population (
change-*findings): every change merged into a production branch in the window, with its author, merger and independent approvers, and the count of all merged changes beside it. An approval counts only when the reviewer can push to the repo and approved the final commit; a comment does not withdraw it. A bot's review counts only whengithub.accepted_botslists it with a reason, and the change is then flaggedbot_approval. - Evidence ledger:
evidence/ledger.jsonl, append-only JSON Lines with a hash chain.grc ledger verifyfails on an edited, deleted, reordered, back-dated or future-dated line. Written only whengrc.yamlhas awindow. grc sample --list FILE: the evidence for the changes an auditor sampled: approvers, CI conclusion, scanner checks, and what is missing.grc window: each control's history over the window from the ledger'srunentries, with its gaps.people: pseudonymous: logins becomep-plus an HMAC with a salt that is never written, and titles are left empty, for outputs that are published.
Each rule fails closed: a review or check list cut at 100, a collector that did not run, a 404 other than "Branch not protected", and a rate limit (the run stops, writes nothing and names the retry time) are never read as a pass. The MCP scan tool never runs the collectors or writes the ledger. See docs/limits.md for what is not covered.
examples/collect/ holds a population and a sample from Google's microservices-demo, June to August 2026, pseudonymized and reproducible offline (make examples-h).
Breaking changes
- Package and module:
okf-grcis nowgrc-evidence, and the moduleokf_grcisgrc_evidence.import okf_grcstill works for one minor release, with aDeprecationWarning. The CLI staysgrc. - OSCAL property namespace:
https://github.com/cdevarenne/grc-evidence/ns/oscal(was.../okf-grc-skill/ns/oscal). - MCP server name:
grc-evidence, so its tools aremcp__grc-evidence__*in a run's config. run.json:engine.packageisgrc-evidence, and the resolved config has the new keys, so the layout hash changes.
Output contract 1.2 (additive)
Tool github and targets github:<owner>/<name>[#n] in findings; collect/github-findings.json lists the collectors that ran; run.json hashes the collect/ outputs a run wrote.
Upgrading from 1.8.1
uv tool install 'grc-evidence[llm,mcp] @ git+https://github.com/cdevarenne/grc-evidence@v2.0.0'
grc sync-base # base_version 2.0.0; adds scanners/github.md (CC8.1)
Without window or github in grc.yaml, scan results and the gate do not change: on the demo repository, 1.8.1 and 2.0.0 give the same 19 control statuses, 420 findings on controls and 5 coverage gaps.
Full Changelog: v1.8.1...v2.0.0