bworkx.

Application security

Dependency-Track v4 to v5 migration

A v5 migration that does not surprise your CI or your notification templates.

Prefer to talk? Book a 30-minute call.

Who it is for

  • Organisations running Dependency-Track 4.x in production.
  • Teams whose CI pipelines, API clients, or notification templates depend on v4 behaviour.
  • Operators who need a tested migration rather than an in-place upgrade attempt.
  • Security teams that want v5 PostgreSQL, scaling, and integrity features without a failed cutover.

When it is not the right fit

  • An organisation with no existing Dependency-Track deployment; start with the supply chain assessment instead.
  • A request for an in-place v4 to v5 upgrade; v5 does not support it.
  • A compliance certification or a guarantee of zero downtime.
  • A migration without access to the v4 database, configuration, and integration inventory.

Scope

What is included

The scope is written down before work starts. Anything outside it is a change, with a cost and a date.

A v4 inventory: version, database, projects, users, teams, policies, feeds, and integrations.

A v5 architecture and sizing plan with PostgreSQL and separate API and frontend services.

An offline migration plan using the v4 migrator, with a sandbox rehearsal.

A compatibility review of REST API clients, CI plugins, and automation.

Notification template migration from v4 payloads to v5 Protobuf payloads.

Validation checks for projects, components, vulnerabilities, policies, and access control.

A cutover plan, rollback path, and post-migration verification.

Handover documentation for operations and upgrades.

Delivery

How an engagement runs

  1. Assess

    We inventory the v4 deployment, database, integrations, and custom automation. The output is a migration scope and a list of things that will break if they are not changed.

  2. Plan

    We design the v5 deployment, PostgreSQL topology, migration sequence, validation checks, cutover window, and rollback. The plan is written down before a migration environment is built.

  3. Provision

    A v5 environment is stood up with PostgreSQL and separate API and frontend services. It is isolated from production until the migration is validated.

  4. Migrate

    The v4 database is migrated offline with the supported migrator. The sandbox rehearsal proves the sequence, the duration, and the failure modes before the production cutover.

  5. Validate

    We compare projects, components, vulnerabilities, policies, users, teams, and API behaviour. Integrations are tested against v5, including notification payloads and CI uploads.

  6. Cutover

    The production cutover follows the agreed window and rollback plan. After cutover, feeds, policies, and integrations are monitored until the portfolio is stable.

Why migrate now

Dependency-Track v5 is a major redesign, not a patch release. It standardises on PostgreSQL, separates the API server and frontend, adds horizontal scaling and durable processing, and changes the API and notification surface.

The v4.14.x line is in security-fix-only mode. Staying on v4 indefinitely is a maintenance risk, especially for a platform that is supposed to warn you about supply chain risk.

The breaking changes that matter

  • PostgreSQL only. H2, MySQL, and Microsoft SQL Server are no longer supported.
  • Offline migration. v5 needs a separate PostgreSQL cluster and the supported v4 migrator; in-place upgrade is not supported.
  • Notification payloads move to Protobuf. Existing templates and webhook consumers need updating.
  • REST API enforces pagination and changes some response schemas. API clients and CI plugins need a compatibility review.
  • Separate images. The bundled WAR and all-in-one container are discontinued; the API server and frontend are deployed separately.
  • Lucene fuzzy matching is removed. Vulnerability matching behaviour changes.

Migration sequence

1. Inventory

We record the v4 version, database, projects, components, users, teams, policies, feeds, notification publishers, API clients, and CI integrations. Anything that reads or writes Dependency-Track is in scope.

2. Rehearse

A v5 environment is built in isolation. The v4 database is migrated with the supported migrator, and the sequence is timed and documented. The rehearsal is where the surprises should happen.

3. Validate

We compare the portfolio before and after: project counts, component counts, vulnerabilities, policy violations, users, teams, and API responses. CI uploads and notification payloads are tested against v5.

4. Cut over

The production migration follows the agreed window. The v4 system is kept available for rollback until the v5 portfolio is stable and the integrations are confirmed.

What this service is not

It is not an in-place upgrade, a zero-downtime guarantee, or a compliance certification. It is a planned, tested migration with a rollback path and a validated portfolio.

Related work

See the approach in practice

Lab builds use synthetic data in the bworkx environment. Reference methods describe how the work is scoped and delivered. Neither is a client case study.

Dependency-Track v4 to v5 migration method

Reference method — inventory, PostgreSQL, offline migration, validation, and cutover. Not a client engagement.

Read more

Questions

Before you ask

Can we upgrade in place?

No. Dependency-Track v5 requires a separate PostgreSQL cluster and an offline migration from v4. An in-place upgrade is not supported.

Will there be downtime?

Plan for a cutover window. The migration is offline, so some downtime or a parallel-run period is normal. We design the window and the rollback before the production migration.

What breaks between v4 and v5?

The database changes to PostgreSQL only. Notification payloads move to Protobuf. The REST API enforces pagination and changes some response schemas. The bundled WAR is discontinued in favour of separate API and frontend images. Lucene fuzzy matching is removed. CI plugins and API clients need review.

How long does it take?

Typically one to four weeks, depending on the size of the portfolio, the number of integrations, and how much custom automation depends on v4 behaviour.

Can you migrate our data?

Yes, using the supported v4 migrator against a separate PostgreSQL cluster. We rehearse in a sandbox and validate the portfolio before the production cutover.

Do you support v5.0 or v5.1?

We migrate to the current 5.x release that passes the validation checks. v5.0 is the feature baseline; later 5.x releases include fixes and should be preferred where compatible.

Application security

More in this practice

Other services in this practice. Each is scoped separately.

Software supply chain risk assessment

SBOM-driven risk assessment for the software you build and buy: Dependency-Track, CycloneDX, vulnerability, license, and policy triage.

  • CycloneDX SBOM generation from source, containers, or supplier artifacts.
  • Dependency-Track 5.x deployment or review, with PostgreSQL and a project hierarchy.
  • Vulnerability feed configuration: NVD, OSV, GitHub Advisories, and Sonatype OSS Index.
  • Policy configuration for vulnerability, license, and component risk.
See how it works

OWASP ASVS 5.0 verification assessment

A requirement-by-requirement verification against OWASP ASVS 5.0, with evidence, gaps, and a prioritized remediation plan.

  • A scope and ASVS level or profile decision based on risk, not marketing.
  • A chapter-by-chapter verification against ASVS 5.0.
  • Evidence for each requirement: configuration, code, test, or documented control.
  • A gap register with pass, partial, fail, and not-applicable status.
See how it works

OWASP SAMM 2.0 maturity assessment

A structured assessment of your software assurance programme across the five SAMM 2.0 business functions and 15 practices, with a costed roadmap.

  • A scoped SAMM 2.0 assessment covering the relevant business functions and practices.
  • Interviews and evidence review with engineering, security, and product owners.
  • Maturity scores for coverage and quality, with the evidence behind each score.
  • A gap analysis tied to the organisation risk and delivery model.
See how it works

Next step

Start with the situation, not the solution.

Describe what is happening today, what has been tried, and what a good outcome looks like. We will tell you whether this service is the right fit.