Overview
A registry connection stores one set of credentials for a private registry at the organization level so ZeroPath can reach it whenever it needs to — without you pasting a token into every scan. Connect once, ZeroPath validates the credentials live before saving, and every later scan reuses the stored connection. There are two kinds of connection, managed from the same place:Container registries
Let Container Scanning pull and scan images from a private
registry — Docker Hub, GHCR, ECR, GAR, ACR, Artifactory, or any OCI registry.
Package registries
Let dependency analysis resolve internal packages from private registries
(Artifactory, Nexus, and the like) for npm, Maven, Gradle, sbt, Ivy, PyPI, NuGet, Cargo,
RubyGems, Composer, and Go, so private transitive dependencies stop showing up as coverage gaps.
How credentials are handled. Saved credentials are encrypted at rest and
are not displayed when you view a connection. ZeroPath checks registry access
before saving a new connection.
Prerequisites
- The Create Integrations permission to open the Manage Registries dialog and to create, edit, or delete a connection. Using an existing container connection from the Scan image dialog’s Connected registry picker needs only organization membership, so developers who should not handle raw credentials can still scan with a saved connection.
- The registry must be reachable from ZeroPath over the public internet. Hosts that resolve
to private or loopback addresses are rejected when the connection is created. That includes
registries inside a VPC or behind a firewall ZeroPath cannot traverse. ZeroPath does not ship a
customer-side relay or broker. Self-hosted deployments are the exception: a ZeroPath instance
running in your own cluster may connect to registries on your private network and to internal
hostnames (for example
registry.corp.internal), because those are the registries it exists to scan. Loopback and cloud-metadata addresses stay blocked there too. - Where the provider supports it, use read-only scopes and a dedicated token or service account rather than a personal password.
Open the Registries manager
1
Go to Integrations
Open Settings → Integrations.
2
Add the Registries integration
Click Add Integration and choose Registries.
3
Manage connections
The Manage Registries dialog has two sections — Container registries and
Package registries — where you add, edit, and delete connections.
Container registries
Container connections let a scan pull a private image without inline credentials. Each provider collects the credentials it needs to list and pull:
For AWS and Google, static keys are never used to pull directly — ZeroPath exchanges them for a
short-lived pull token per scan (ECR authorization tokens last 12 hours; GAR access tokens last
60 minutes) and never persists the minted token.
Full per-provider credential instructions, the scan-dialog Connected registry mode, and the
API/CLI ways to reference a connection live on the
Container Scanning page. Connect the registry
here, then scan from there.
Package registries
If your builds pull internal packages from a private registry, dependency analysis cannot resolve those packages without credentials — their transitive dependencies stay invisible and surface as coverage gaps. A package-registry connection gives the resolver the credentials it needs so private packages resolve alongside public ones. Supported ecosystems include npm, Maven, Gradle, sbt, Ivy, PyPI, NuGet, Cargo, RubyGems, Composer, and Go.Point ZeroPath at a virtual / group repository that also proxies the public upstream (for
example an Artifactory npm-virtual or a Maven group repo), not at a private-only repository.
The resolver uses the one connected URL for the whole ecosystem, so it must serve both your
internal packages and their public dependencies. Ivy projects with an explicit
ivysettings.xml select their own resolver chain; the Maven connection supplies
credentials only for requests within its configured repository root.Fields
npm
npm
- Registry URL — the full base URL, e.g.
https://mycorp.jfrog.io/artifactory/api/npm/npm-virtual/. A trailing slash is optional. Must behttps, and must not contain a newline,#, or;. - Authentication — Basic (username + password/token) or Bearer token.
- Username — required for Basic auth only; omit it for Bearer.
- Password / identity token or Bearer token — the secret.
.npmrc.Maven / Gradle
Maven / Gradle
This connection supports Basic or Bearer authentication for Maven and Gradle
builds. You need an HTTPS virtual/group repository URL, read-only credentials,
and a private
group:artifact:version to verify access when you create a
connection in the dashboard.When you provide a validation artifact, ZeroPath fetches its POM file first
without credentials. If the fetch succeeds, the connection setup fails with
“The validation package is public” — choose a package that requires
authentication so the check is meaningful. With credentials, ZeroPath
confirms the POM is reachable and returns Maven XML before saving the
connection.Follow Connect Maven or Gradle
for the fields, package verification, and private Gradle plugin setup.Native Ivy scans also use this connection. With no ivysettings.xml, the
connected URL supplies Ivy’s default Maven repository. With project settings,
connect the HTTPS root of the private Maven or Ivy layout in that resolver
chain. Credentials apply only to that origin and path; redirects outside
that scope do not receive credentials.
Store credentials here rather than in Ivy XML or repository URLs.For Maven packages available only in private repositories, some transitive
dependencies may remain unresolved after connecting. See the
coverage limitation and verification steps.Apache Ivy
Apache Ivy
Choose Apache Ivy under Package registries. This connection accepts
Basic or Bearer authentication and requires the registry root URL and two
additional fields:
- Private descriptor path — a path relative to the registry URL pointing to
an existing Ivy descriptor (
ivy.xml) in your private repository, for examplecom.example/internal-client/1.0/ivy.xml. ZeroPath fetches this path with your credentials when saving to verify access. No Maven POM is required. - Descriptor pattern — the Ivy repository pattern ZeroPath uses to locate
descriptors, expressed with
[organisation],[module], and[revision]tokens below the registry URL, for example[organisation]/[module]/[revision]/ivy.xml.
ivysettings.xml or repository URLs.PyPI, NuGet, Cargo, RubyGems, Composer, Go
PyPI, NuGet, Cargo, RubyGems, Composer, Go
For each of these ecosystems, choose the ecosystem name under Package
registries and fill in:
- Registry URL — the HTTPS URL of your virtual/group repository that serves
both internal and public packages. Use the registry root (for example
https://nexus.example.com/repository/pypi-group/simplefor PyPI orhttps://nexus.example.com/repository/nuget-group/index.jsonfor NuGet). - Authentication — Basic (username + password/token) for PyPI, NuGet, RubyGems, and Go. Cargo and Composer also accept a Bearer token.
- Credential scope URL — the repository root that both metadata and package download requests fall under. Use an account restricted to this repository.
- Private metadata path — a path relative to the registry URL that points to a resource your credentials can access but that is inaccessible anonymously. ZeroPath fetches this path to verify access before saving.
sbt (Scala / Java)
Choose sbt (Scala / Java) under Package registries. This separate connection requires Basic authentication, the registry’s authentication realm, and a privategroup:artifact:version to verify. Add an Ivy repository if
your launcher or plugins need it.
When you save the connection, ZeroPath fetches the package’s POM file without
credentials first. If that fetch succeeds, setup fails with “The validation
package is public” — the coordinate must require authentication. ZeroPath then
verifies the authentication realm in the server’s challenge matches what you
entered; a mismatch is reported as “The authentication realm does not match the
private registry challenge.” If an Ivy repository URL is provided, ZeroPath also
confirms the Ivy metadata file is reachable with the same credentials.
Follow Connect sbt for the fields and examples.
After connecting, run a new scan and check coverage.
Connection validation verifies the selected package; the scan checks the rest of
the build and its transitive dependencies.
How it behaves
- Automatic once connected. There is nothing to enable per scan. The next dependency analysis for the organization picks up the connection and uses it to resolve that ecosystem.
- Check coverage after setup. Run a new scan and review coverage warnings.
- Check scan errors and coverage warnings. Invalid saved package-registry settings can stop SCA with a registry error. Package download or build-resolution failures appear in coverage warnings. Check the reported error, correct the connection or build settings, and rerun the scan.
Managing connections
- Edit — update the URL, auth mode, username, or secret. Leave the secret field blank to keep the stored one. Switching between Basic and Bearer auth requires re-entering the secret.
- Delete — remove the connection. Container scans then need inline credentials again, and affected package resolution reverts to public-only. A container registry connection cannot be deleted while container images still reference it — the platform reports which images are blocking the deletion (up to ten) so you can remove or reassign them first.
Opening the Manage Registries dialog requires the Create Integrations permission; without
it, the dialog fails to load. Members without the permission can still pick an existing container
connection from the Scan image dialog using organization membership alone.