You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you are reporting a problem, please make sure the following information are provided:
Expected behavior and actual behavior:
I expected that call to /api/v2.0/export/cve would work with a bot-account similarly as with a non-bot account given that the permissions are correct. Instead I get the response 404 Not Found with the error message: "message": "user <robot_account_name> not found"
Steps to reproduce the problem:
Create bot-account to Harbor project with Export CVECreate and Read permissions.
Call endpoint with https://<harbor_url>/api/v2.0/export/cve with payload like this:
Damn, it seems that it's missing in the previous message but it was there on my saved HTTP request and the error reported in the original message also had it correctly set, so the error message there is correct. So what I had as username was robot-<myorg_here_containing_only_[a-z-]>+bot-test-export-cve. Our Robot Name Prefix is robot-.
If you are reporting a problem, please make sure the following information are provided:
Expected behavior and actual behavior:
I expected that call to
/api/v2.0/export/cve
would work with a bot-account similarly as with a non-bot account given that the permissions are correct. Instead I get the response 404 Not Found with the error message:"message": "user <robot_account_name> not found"
Steps to reproduce the problem:
Export CVE
Create
andRead
permissions.https://<harbor_url>/api/v2.0/export/cve
with payload like this:Versions:
Please specify the versions of following systems.
Additional context:
The text was updated successfully, but these errors were encountered: