ci(supply-chain): add Rekor identity + consistency monitor#1480
Merged
Conversation
Add an hourly scheduled workflow that calls the upstream sigstore/rekor-monitor reusable workflow to monitor the public-good Rekor transparency log for AICR's release supply chain: verifying the log stays append-only (consistency) and watching for entries under AICR's release signing identity that a release did not produce (identity). Files an issue on failure. Pinned to a main commit SHA (upstream has no tags/releases), least-privilege permissions, and leaves the Rekor URL unset so it tracks the public-good log (incl. Rekor v2) via TUF discovery. Fixes #1460
Contributor
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Enterprise Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughAdds a new GitHub Actions workflow that runs hourly and on manual dispatch, invokes the pinned Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Contributor
Coverage Report ✅
Coverage BadgeNo Go source files changed in this PR. |
mchmarny
approved these changes
Jun 26, 2026
15 tasks
atif1996
added a commit
that referenced
this pull request
Jun 29, 2026
- Restore .github/workflows/rekor-monitor.yaml lost during squash (was added in #1480, absent from stale branch base) - Remove verifyClusterPolicyReady call and function reverted by squash (#1495 had removed it; stale branch base brought it back) - Update apiVersion aicr.nvidia.com/v1alpha1 → aicr.run/v1alpha2 in l40s-any, l40s-oke-training, l40s-oke-inference overlays (post-#1499 domain migration) - Add `ol` to OS enum description in pkg/client/v1/types.go and pkg/fingerprint/doc.go Signed-off-by: Atif Mahmood <[email protected]> Signed-off-by: Atif Mahmood <[email protected]>
atif1996
added a commit
that referenced
this pull request
Jun 29, 2026
- Restore .github/workflows/rekor-monitor.yaml lost during squash (was added in #1480, absent from stale branch base) - Remove verifyClusterPolicyReady call and function reverted by squash (#1495 had removed it; stale branch base brought it back) - Update apiVersion aicr.nvidia.com/v1alpha1 → aicr.run/v1alpha2 in l40s-any, l40s-oke-training, l40s-oke-inference overlays (post-#1499 domain migration) - Add `ol` to OS enum description in pkg/client/v1/types.go and pkg/fingerprint/doc.go Signed-off-by: Atif Mahmood <[email protected]> Signed-off-by: Atif Mahmood <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add an hourly scheduled workflow that monitors the public-good Rekor transparency log for AICR's release supply chain: log consistency (append-only) and AICR's release signing identity.
Motivation / Context
AICR signs its releases and logs them to Rekor, but nothing watched the log itself. This adds detection for two risks: an entry appearing under AICR's release identity that a release did not produce (OIDC/key compromise), and the log no longer being append-only. It protects the trust root every AICR consumer depends on (release binaries, signed recipe catalog, container images all chain to that one identity).
Fixes: #1460
Related: #1149
Type of Change
Component(s) Affected
docs/,examples/).github/workflows)Implementation Notes
sigstore/rekor-monitorreusable workflow (reusable_monitoring.yml). A single run does both required behaviors:RunConsistencyCheckadvances/verifies the append-only checkpoint, andIdentitySearchscans entries added since the last checkpoint for the configured identity. Identity monitoring is incremental by design (new entries since last checkpoint), which is why the checkpoint artifact is retained..goreleaser.yamland.github/workflows/on-tag.yaml):certSubjectregex foron-tag.yaml@refs/tags/*,issuerspinned totoken.actions.githubusercontent.com.maincommit SHA (170374c…); upstream has no tags/releases. Matches the repo convention of SHA-pinning actions with a version/date comment.permissions: {}; the job grants onlycontents: read,issues: write,id-token: write(exactly what the reusable workflow requires). Aconcurrencygroup withcancel-in-progress: falseserializes runs without killing an in-flight checkpoint write.urlis intentionally unset so the monitor uses the public-good default and discovers current log shards (including Rekor v2) via TUF, rather than hardcoding an endpoint that could drift.artifact_retention_days: 30comfortably exceeds the hourly cron so the consistency checkpoint never expires between runs.docs/contributor/maintaining.mdadds a short pointer.Testing
No Go source changed, so
make test/ coverage gates do not apply. A scheduled workflow cannot run from a branch; after merge,workflow_dispatchcan trigger a manual run onmainto confirm it executes and files an issue correctly.Risk Assessment
Rollout notes: No migration. First scheduled run establishes the baseline consistency checkpoint and begins scanning forward; it does not retroactively sweep historical entries.
Checklist
actionlint+yamllint)git commit -S)No Go code changed, so unit tests / new tests are not applicable.