Skip to content

grc-evidence 2.0.0

Choose a tag to compare

@github-actions github-actions released this 06 Oct 20:13
· 58 commits to main since this release

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 give scm-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 when github.accepted_bots lists it with a reason, and the change is then flagged bot_approval.
  • Evidence ledger: evidence/ledger.jsonl, append-only JSON Lines with a hash chain. grc ledger verify fails on an edited, deleted, reordered, back-dated or future-dated line. Written only when grc.yaml has a window.
  • 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's run entries, with its gaps.
  • people: pseudonymous: logins become p- 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-grc is now grc-evidence, and the module okf_grc is grc_evidence. import okf_grc still works for one minor release, with a DeprecationWarning. The CLI stays grc.
  • 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 are mcp__grc-evidence__* in a run's config.
  • run.json: engine.package is grc-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