Skip to content

grc-evidence 2.2.0

Choose a tag to compare

@cdevarenne cdevarenne released this 12 Oct 19:06
· 29 commits to main since this release

Spec I Part A: keep up with new findings without accepting anything unsigned.

One suppression, several named files. A suppression may list finding.targets (two or more files) in place of target: one owner, reason, expiry and signature cover one rule in every listed file. Still no wildcards; a new file with the same advisory is a new finding until a person adds it. A listed file that matches no finding is reported under Unused suppressions (unused_targets in mapping.json, output contract 1.4).

grc suppress draft. Writes a pending suppression from the last scan, with every field except the reason and verified, plus what the scanner reported for each file. It refuses a file with no such finding, an accepted risk on a coverage gap, a finding another suppression already names, --days outside 1 to 90, and an owner that is not human:<name>. Until a person writes the reason and signs it, the scan lists it as pending and grc check fails on it; a signed file that still has a draft marker line fails to load.

grc gate prints the draft command for each new finding it fails on, one per tool and rule id with every failing file, in its failure message and under Draft suppressions in the job summary. Every value is shell-quoted; the owner is printed as 'human:<you>', which the command refuses until you put your name.

No change to statuses, OSCAL or the report for bundles without targets, apart from the contract version.

Install: uv tool install git+https://github.com/cdevarenne/grc-evidence@v2.2.0. Spec: docs/superpowers/specs/2026-10-12-mini-spec-i-part-a-suppression-drafts.md. Issues: #143, #153–#157.