Upgrade Guidance is in beta. Beta features are subject to change with continued internal benchmarking and customer feedback.
Enable Upgrade Guidance
Upgrade Guidance is available for JavaScript or Python projects on GitHub Cloud or GitLab Cloud.2
In Semgrep AppSec Platform, go to Settings > General > Supply Chain and turn on Upgrade Guidance.
3
Review Upgrade Guidance
1
In Semgrep AppSec Platform, go to Supply Chain.
2
Select a finding.
3
Review the upgrade information on the finding’s Details page.
Upgrade results
How Upgrade Guidance works
After each full Supply Chain scan, Semgrep analyzes eligible findings and labels them based on the available upgrade. To verify an upgrade, Semgrep runs the package manager’s dependency resolver against the project manifest. This allows Semgrep to:- Confirm that a fixed version can be installed.
- Identify dependencies that must be upgraded together.
- Detect code that might be affected by breaking changes.
In this diagram, a finding with a fix available has a patched version that remediates the vulnerability. That is separate from the Safe to upgrade badge, which means the upgrade is unlikely to cause breaking changes in your code.