Problem
Projects are being created with ID numbers in the project name such as 53b1c695-1813-4d5a-b656-75f79ecdaab1
.
Discussion
When you run snyk monitor
, snyk uses the name
of the root package to find the appropriate project. If a project for that package-name
is not found, snyk creates one using that name
. The CLI uses the directory base-name if the root package has no name.
Similarly, snyk uses the remote-repo url
for the project group name.
You can override the project name in the Snyk UI by using the --project-name
option for the monitor command
in the CLI.
You can override the project group name in the snyk UI by using the --remote-repo-url
option in the CLI.
Note: You must be running CLI version 1.217.3 or above to use the --remote-repo-url
option.
Example
The following command:
snyk monitor --remote-repo-url='Group_name' --project-name='Project_name'
results in the Group-name shown in the following screenshot: