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.-
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.
-
Run the
recommend dependency-upgradescommand.
-
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.
-
Run the
recommend dependency-upgradescommand.
Options
The following flags and environment variables are available for theendorctl recommend command.