feat(container): surface provenance attestations behind feature flag [PRIM-100] - #7047
Open
bdemeo12 wants to merge 1 commit into
Open
feat(container): surface provenance attestations behind feature flag [PRIM-100]#7047bdemeo12 wants to merge 1 commit into
bdemeo12 wants to merge 1 commit into
Conversation
…[PRIM-100] Bump snyk-docker-plugin to ^9.18.0 (adds provenance attestation extraction) and gate the provenanceMetadata fact behind the surfaceProvenanceAttestations feature flag in filterDockerFacts, mirroring the allowNewContainerFacts pattern. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Contributor
|
kateeselius
approved these changes
Jul 28, 2026
bdemeo12
marked this pull request as ready for review
July 28, 2026 14:50
PR Reviewer Guide 🔍
|
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.
What
Surfaces container image provenance attestations through the CLI, gated behind a feature flag.
snyk-docker-plugin^9.16.0→^9.18.0, which adds provenance attestation extraction (emits theprovenanceMetadatafact).surfaceProvenanceAttestationsfeature flag infilterDockerFacts, mirroring the existingallowNewContainerFactspattern. When the flag is off,provenanceMetadatais filtered out before facts are sent downstream; when on, it is forwarded to Registry for upsert.The provenance flag is independent of
allowNewContainerFactsso it can be rolled out separately.Changes
package.json/package-lock.json— bumpsnyk-docker-pluginto^9.18.0.src/cli/commands/constants.ts— addSURFACE_PROVENANCE_ATTESTATIONS_FEATURE_FLAG = 'surfaceProvenanceAttestations'.src/lib/ecosystems/common.ts— infilterDockerFacts, filterprovenanceMetadataunless the flag is enabled.Feature flag
surfaceProvenanceAttestations— defined in registry (snyk/registry#44819).Downstream
This is the CLI half of the end-to-end provenance work. Registry relays the fact and assets-api persists it.
Notes
n/a