Snyk Pull or Merge Requests
How Snyk pull and merge requests fix and upgrade dependencies
Snyk Pull or Merge Requests
In addition to providing fix advice, Snyk enables you create automatic or manual pull requests for supported package managers and ecosystems. To create PRs automatically in implementations with Snyk Broker, your administrator must upgrade to v4.55.0 or later.
Manual Fix PRs
For specific supported languages, you can create pull requests to remediate issues using the Snyk web UI. These combine Snyk fix advice with the list of remediated vulnerabilities to create a pull request that developers can review and merge into their repo's main branch.
You can start the process from any supported Project's open source vulnerability view.

Defining Automatic Snyk PRs
For Projects imported through an SCM integration, Snyk offers automatic pull request generation for vulnerability fixes, package upgrades, and backlog vulnerabilities. To learn more, visit:
Reviewing Snyk PRs
After Snyk submits a pull request on your behalf, you can view the pull request and all related details directly from the relevant repository.
To quickly review the pull request, hover over it. You can see the recommended upgrade and other pull request summary details:

Open the pull request to view in-depth details, including package release notes and vulnerabilities included in the recommended upgrade. For package upgrade pull requests, Snyk includes a breakability risk level in the PR description and posts a follow-up comment with a more detailed analysis. For risk level definitions and guidance, see Breakability risk levels.

Click the Issue link from the table to view all details for the specified vulnerability directly from the Snyk database.
After you have reviewed the pull request, you can approve the merge.
Generated Pull Requests report
Snyk provides a report for Enterprise customers that gives an overview of how Fix, Backlog, and Upgrade PRs are used and highlights the efficiency of PR merges. For more information, see Snyk Generated Pull Requests report.
Snyk SCM webhooks
To track pull request events, Snyk adds webhooks to your imported repositories. For more information, see the GitHub and Git repository integrations.
Snyk uses these webhooks to:
Track the state of Snyk pull requests: when PRs are triggered, created, updated, merged, and so on.
Send push events to trigger PR checks.
Last updated
Was this helpful?

