Automated pull request creation for new fixes
The following rules are applied to automatic PR creation for vulnerabilities:
Pull requests are created based on the Test & Automated Pull Request Frequency (see screenshot below) setting
If a scan is manually run (you clicked Retest now for the project), the 24-hour window is marked as having been run and no automatic PR is created until the next automated scan runs
One pull request is created per project
If either the vulnerability itself is new and has a fix available or if the fix is new and is not ignored
For known vulnerabilities see Automated pull request for known vulnerabilities (backlog)

To know when your last 24-hour window was kicked off, check the project page for Snapshot taken by recurring test--also check your email for [snyk] Vulnerability alert for specific scan results:

Pull requests for new vulnerabilities are enabled by default for new integrations.
See Git repository SCM integrations for full details of supported integrations.
Enable or disable pull requests for an integration
Enable at the global integration level:
Navigate to settings
> Integrations.
Select an SCM integration (for example, GitHub).
Enable New vulnerabilities
Apply changes to all overridden projects will update all of the individual project settings for "Automatic fix pull requests". If a project previously had its own settings for this, clicking on this button will override it with the global setting.

Enable or disable pull requests for a single project
Enabling/disabling at a project level will override this single project rather than inheriting it from the global integration setting.
Under Projects select a project and select Settings (top right-hand corner).
Select GitHub integration.
Under the Automatic fix pull requests section:
Select Customize for only this project
Enable New vulnerabilities
Select Save changes

Last updated
Was this helpful?