Automatically generate pull requests with dependency upgrades and security fixes.
You can set up Remediation PRs in your GitHub environment if you use the Endor Labs GitHub App (Pro) or the Endor Labs GitHub Enterprise Server App. When Remediation PRs are set up, Endor Labs creates a PR to update the manifest files with dependency version upgrades, based on a remediation policy, to address vulnerability findings.
You cannot have both the GitHub App and the GitHub App (Pro) simultaneously in your environment. When you migrate from one app to the other, select the same set of repositories as before to preserve the currently scanned projects and vulnerability findings after the migration.
Your tenant must have the upgrades and remediation feature for Remediation PRs to function.
If Endor Labs identifies any fixes that address vulnerability findings according to the remediation policy in the next scan, it creates a pull request in GitHub with the details of the patch. You can merge the PR after review to fix the vulnerability findings.Endor Labs updates the PR if there is a recommendation change in upgrade impact analysis. If there are any changes in the vulnerability findings, Endor Labs updates the PR description. If there is new patch version available, Endor Labs closes the existing PR with comments and opens a new PR. If you resolve the notification in Endor Labs, the PR is closed with a comment.Endor Labs does not further update the PR in the following scenarios, if you:
Currently, Remediation PRs have the following limitations:
Maven projects that use dependencyManagement tags and rely solely on dependency information in the parent pom file are not supported.
Gradle projects with convention files (Groovy files with .gradle extension with any name) are not supported.
Gradle projects with resource catalogues (version defined in .toml files) are not supported.
Gradle projects that use Spring Framework plugins, such as the Spring Boot Gradle plugin, to manage dependency versions are not supported. These plugins handle versioning internally, so dependency versions are not explicitly declared in the Gradle manifest file.
Go projects that use the replace directive in go.mod are not supported. replace directives are commonly used for local development, debugging, or patching dependencies.
JavaScript projects using npm and Yarn workspaces are not supported.
.NET projects using Directory.Packages.props (central dependency management) or packages.config, are not supported.
Dependency names are case sensitive.
Updates to .NET dependencies with wildcard characters in their names are not supported.
Create a GitHub PR for remediations notification integration
Remediation notification integration allows Endor Labs to get a notification from GitHub regarding pull requests. The notification alerts the GitHub App to perform Remediation PRs.
Select User menu > Integrations from the left sidebar.
Under Notifications, click Add for GitHub PR for Remediations.
Click Add Notification Integration.
Enter a name and description for this integration.
Select Enable GitHub PR Notification Integration for Remediations.
Optionally, select Propagate this notification target to all child namespaces so that the notification integration applies to all child namespaces.
Endor Labs automatically generates pull requests in GitHub repositories for dependency upgrades and security fixes. Each PR contains version changes, vulnerability details, and compatibility analysis.To view the remediation PRs:
Navigate to your GitHub repository.
Click Pull Requests to view all the remediation PRs in the repository.
Click on a PR to view it’s details.
Select Conversation to view the version changes, security impact, fixed vulnerabilities, and potential risks, providing context to assess the upgrade.
Select Files changed to view the changes made to the manifest files.
Was this page helpful?
Assistant
Responses are generated using AI and may contain mistakes.