Configure integration from Snyk with your Google container registries to scan for vulnerabilities and fix security and license issues accordingly.
Prerequisites:
Set up a new service account key from your GCR account.
Steps:
Navigate to your Snyk organization, and go to Integrations=>GCR.
From the GCR hostname, enter the registry storage region for the images you want to scan in the format region.gcr.io. For example: gcr.io or asia.gcr.io.
-
Paste the entire contents of the JSON key file you created from Google into the JSON key file field in your Snyk account, like the following:
-
Click Save.
Snyk checks the credentials and when successful, the page reloads with a notification that the connection succeeded.