Repository navigation
feat: import Snyk Open Source SARIF findings - #1687
Draft
mldangelo-oai wants to merge 5 commits into
Draft
mldangelo-oai wants to merge 5 commits into
mldangelo-oai wants to merge 5 commits into
Conversation
3 tasks done
This branch has not been deployed
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
Adds Snyk Open Source SARIF imports to the existing findings publisher. Users can preview vulnerability findings, confirm publication, and replay updated reports with stable identities while keeping source claims separate from Cloud assessments. Stacked on #1632.
Changes
Retains each selected rule, result, and document context as original evidence. Identity uses the advisory and manifest set within a stable organization/project/branch source key. Source severity and dependency paths survive normalization without invented fixes or source lines.
New uploads check retained repository claims against the selected Cloud repository. Saved requests remain bound to their original repository ID, including after a repository rename. Unsupported products, license findings, unresolved indexed/base-relative artifacts, inconsistent references, malformed UTF-8, and ambiguous duplicate identities are rejected or explicitly excluded.
Testing
a54b1e85.Hosted CI must qualify this updated head. Live Snyk tenant and Cloud upload/readback verification remain pending.
Risk and rollout
Requires the parent publisher and compatible Cloud import support. Preserve the same source key across exports and inspect exclusions before publishing. This does not run validation scans, fetch report URLs, or enable deployment gates.
Public disclosure review