Skip to main content
The endorctl recommend command returns prioritized updates to fix findings across your tenant, projects, or packages. Each recommendation weighs the number of issues and complexity of an upgrade. The command uses the same upgrade selection and remediation risk as Upgrade Impact Analysis. See Remediation risk to understand how Endor Labs rates each upgrade.

Usage

To recommend dependency updates across all projects in your namespace.
To recommend dependency updates across a specific project in your namespace:
  1. Retrieve the UUID of your project. In the following example, we are retrieving the UUID of the project “https://github.com/endorlabs/app-java-demo” and saving it as an environment variable.
  2. Run the recommend dependency-upgrades command.
To recommend dependency updates across a specific package in your namespace:
  1. Retrieve the UUID of your package version. The following example looks for a project with the name “https://github.com/endorlabs/app-java-demo” and saves it as an environment variable.
  2. Run the recommend dependency-upgrades command.

Options

The following flags and environment variables are available for the endorctl recommend command.