Skip to content

grc-evidence 2.1.0

Choose a tag to compare

@github-actions github-actions released this 07 Oct 03:08
· 40 commits to main since this release

grc-evidence 2.1.0 reads the bundle with okflib as well as its own parser, and asks a person to review a concept again when its verification gets old (Spec J). No scan output changes.

uv tool install 'grc-evidence[llm,mcp] @ git+https://github.com/cdevarenne/grc-evidence@v2.1.0'

okflib checks every concept

okflib 0.5.0 (Apache-2.0) is a runtime dependency, pinned exactly. It reads each concept's OKF fields and v0.2 signals (generated, verified, stale_after) next to the engine's own parser, which stays the source of the frontmatter, the body and the links. A field okflib cannot read, such as a malformed date or a verified that is not a list of stamps, now fails the load with the file's path. okflib's LLM and MCP modules are never imported.

On five bundles (this repo's knowledge/, the base bundle, the demo's, two test fixtures), every parsed concept and the mapping, OSCAL and report built from them are byte-identical to 2.0.1.

Review intervals

A review: section in grc.yaml sets how long a person's verification stays valid, per concept type:

review:
  default: 1y
  by_type:
    Stack Component: 90d
    Crosswalk: 6m
  warn_before: 30d
  base: warn

A concept is due at its latest human: verification plus its interval, or at its own stale_after, whichever is earlier. grc check warns before the date and fails after it. An overdue base-bundle copy only warns in an adopter's repo (base: warn), because only an engine release can re-verify it. Suppressions keep their own expires. Without a review: section, only stale_after counts, so nothing changes until you opt in.

Also

  • Schemas for the bundle's extension fields (rule_ids, framework, applies_when, sdks, the suppression fields, base_version) in src/grc_evidence/data/schemas/concepts/, described in docs/okf-extensions.md. They cover field syntax; rules across fields, the body or the bundle stay load-time checks.
  • make render uses okflib view for the interactive graph, so the OKF reference visualizer's git pin (OKF_COMMIT) is gone from tools.lock. make graph-image draws the README's picture with Graphviz, colored by folder.

Breaking change

  • The okf_grc alias is removed. 2.0 kept import okf_grc working with a deprecation warning; 2.1.0 drops it. Import grc_evidence.

Fixes

  • LLM_MODE=claude-cli works again with current Claude Code. Claude Code now passes --json-schema to the model as a tool whose property names cannot contain :, so grc narrate failed on control keys such as soc2:cc8.1, with an empty error. The engine now renames those keys for the call and back in the answer, and an error shows Claude Code's own message.

Upgrading from 2.0.1

grc sync-base   # base_version 2.1.0; the base bundle's content did not change

Optional: add a review: section to grc.yaml (see docs/new-repo.md).

Full Changelog: v2.0.1...v2.1.0