Compliant Version Selection

When a developer requests a package version that is blocked by a curation policy, Compliant Version Selection (CVS) automatically identifies and returns the highest available version that passes all active policies. Instead of failing the request, Curation seamlessly resolves to a compliant alternative — keeping builds running and minimizing developer disruption.

CVS operates at the dependency resolution stage, evaluating both direct and transitive dependencies against all applicable curation policies in real time. It integrates with the JFrog Catalog to assess version metadata, ensuring that only vetted and policy-compliant versions are delivered to developers.

How It Works

When a requested package version fails a curation policy (for example, block immature or missing in Catalog):

  1. Artifactory retrieves all versions that satisfy the dependency range.
  2. Curation evaluates each version against all active policies for the repository.
  3. The highest version that passes all policies is returned to Artifactory.
  4. The developer receives the compliant version transparently — no manual action required.
  5. The Curation audit log records the original request and the compliant version that was delivered.

If the originally requested version is later updated in the Catalog and passes policy, subsequent requests for it will succeed normally.

Capabilities

Capabilities include:

  • Automatic Compliant Version Selection – Returns the highest compliant version when a requested version is blocked, covering both direct and transitive dependencies.
  • Policy Evaluation – Evaluates all active curation policies (security, license, operational) for the repository when selecting a compliant version.
  • Seamless Developer Experience – Developers are not notified when a different version is delivered. Builds succeed transparently without interruption.

Supported Package Types

Package TypeSupport LevelMinimal Artifactory VersionMinimal Curation Version (Xray Version)Notes
npmFull Support7.124.03.131.4Compliant Version Selection is enabled by default for npm.
PyPIFull Support7.124.03.131.4
MavenFull Support7.124.03.131.4
GoFull Support7.141.13.141.14CVS is not supported for Go packages that have only pseudo-versions in their version list.
NuGetFull Support7.143.23.142.3Only NuGet v3 repositories are supported. NuGet v2 repositories are not supported.
GemsFull Support7.143.23.142.3
CondaPartial Support7.144.03.142.3
  • Currently supports only the Immaturity policy.
  • CVS does not support Conda Shards yet.
ComposerFull Support7.149.03.146.3
GradleFull Support7.155.03.147.0
VS CodeFull Support7.160.03.150.0
SBTFull Support7.160.03.150.0

Key Considerations

  • npm default behavior — Compliant Version Selection is enabled by default for npm, even before you explicitly enable it for other package types.
  • Version-based waivers are not supported with CVS. To ensure waivers function correctly, configure waivers using labels rather than explicit package versions.
  • If a developer requests a specific, locked version that is blocked by policy, the request fails (no fallback is attempted for locked versions).

Configure Compliant Version Selection in Fallback Behavior for Blocked Packages


Did this page help you?