This message was deleted.
# neuvector-security
a
This message was deleted.
a
Hi Reza,
2 things I think you can double-check… 1. Make sure you are using the Gitlab Registry type. (Top level Add Registry > Registry Type) 2. Also make sure that you are able to log into a proper gitlab registry URL. When I try to hit https://registry.gitlab.com, it does not resolve for my userid. Can you “test settings” when creating the registry? Are you getting any other errors? Anything that would confirm the login working before getting the list of images to scan?
h
Hello. I've tried to add a custom docker registry instead of the gitlab registry. It works, but I have to create a registry for each image present into this registry, with a "*" for tags. In gitlab registry type, I don't have any "test settings" button in the form and I don't have mush more logs in controller.
h
I’ve the same problem. In the logs i can see
Copy code
2023-08-21T19:24:18.311|ERRO|CTL|scan.(*Registry).getScanImages: Failed to get repository list - error=json: cannot unmarshal object into Go value of type []scan.gitUser
Seems like the Integration isn’t really working. When i remove the Username i get
Copy code
2023-08-21T19:31:12.188|ERRO|CTL|registry.(*Registry).Ping: - error=Get "<https://acr.run/v2/>": http: non-successful response (status=401 body="{\"errors\":[{\"code\":\"UNAUTHORIZED\",\"message\":\"authentication required\",\"detail\":null}]}\n")