Disable repository listing in the Container Registry Agent
We've just released an enhancement for the Snyk Container Registry Agent to improve compatibility with a wider range of container registries. You can now disable the repository listing feature to prevent integration errors and reduce API calls.
This is especially useful if you are using a registry that does not support the GET /v2/_catalog endpoint
, or if your organization's security policies restrict access to it.
Key Benefits
Expanded Registry Support: Ensures smooth integration with registries like GitHub Container Registry and GitLab Container Registry.
Work Around Permission Issues: Allows the agent to function correctly even when it doesn't have permissions to list all repositories.
Reduce API Calls: Optimizes performance by preventing unnecessary calls to your registry's catalog endpoint.
How to Enable
You can enable this feature by setting the SNYK_DISABLE_LIST_REPOS
environment variable to true
in your deployment. When enabled, the agent immediately returns an empty list instead of trying to query the registry, resolving potential errors.
For full setup instructions for Docker, Helm, and Kubernetes, please see the updated Snyk Container Registry Agent documentation.

Pratip Banerji | Senior Director, Product Management