Repository navigation
v1.8.1
okf-grc 1.8.1 closes a hole in 1.8.0's number binding, found on its first run on the demo repository.
uv tool install 'okf-grc[llm,mcp] @ git+https://github.com/cdevarenne/okf-grc-skill@v1.8.1'
Fixes (#125)
- A number beside an identifier binds to it, not to a matching total. 1.8.0's first
posturedraft on the demo repository wrote "trivy:CVE-2026-44432 (4), and 7 more CVEs at 4 findings each". 7 was the right figure, but a count no tool reports; it passed only because 7 was also a reported total (seven controls not satisfied), and a wrong 7 would have passed the same way. Now a number within 16 characters after a control, rule, or suppression, or right before one ("12 deny_latest_tag"), must be that identifier's count. Reported totals bind only numbers farther from any identifier, which can still match one by coincidence. - Dates written with a month name ("active through December 30") are read as the reported date they are, not as a count.
suppressionsreportsfindings_by_suppression, how many findings each applied suppression covers, so a draft can state it.
On the demo repository
The posture run with 1.8.1 gave three rules a range ("each have 12-13 findings"); that draft was rejected, and the correction round put each count next to its rule: CKV_K8S_43 (13), CKV_K8S_14 (12), deny_latest_tag (12), KSV-0013 (12), all matching the scan. Both attempts are a replay test. The drafts recorded under 1.8.0, including the one 1.8.0 passed after correcting it, are rejected under 1.8.1; the tests keep them as examples.
Upgrading from 1.8.0
grc sync-base # base_version 1.8.1; the base bundle's content did not change
No change to scan results, the gate, or output contract 1.1.
Full Changelog: v1.8.0...v1.8.1