Migrate from Snyk to Trivy and Dependency-Track

Moving off Snyk means rebuilding scanning in CI with Trivy, feeding CycloneDX SBOMs into Dependency-Track for the portfolio view, and carrying policies and history across before cancelling. This page sets out what moves cleanly, what needs rework, and how to plan the cutover.

On this page

How do you migrate from Snyk to Trivy and Dependency-Track without losing coverage?

Trivy replaces the scanning that runs in your CI pipeline, and Dependency-Track replaces the portfolio view that Snyk's project monitoring gives you. The work is mostly pipeline changes, policy rebuilding and history handling, and it runs as a parallel period followed by cutover, not as a single switch. Start from the reason you are reading this: a renewal date, a plan limit that blocks a project or a data residency requirement. That reason sets the deadline, and the deadline decides how long the parallel run can last. Platform or application security engineering usually does the pipeline and API work, with a named security owner who signs off on policies, risk acceptance and the final cutover. Effort depends mainly on how many projects and build pipelines you have, how many Snyk policies and ignore rules must be rebuilt, and whether your teams depend on Snyk fix pull requests, which Trivy does not provide.

Begin by inventorying what Snyk does for you today: which projects are monitored, which integrations post findings, which policies block builds and which ignore rules carry justifications. Then build a pilot on a small set of repositories. In each build, generate a CycloneDX SBOM with Trivy, upload it to Dependency-Track, and run Trivy's scan alongside the existing Snyk step. Compare the two outputs for the same commit and record every difference. Differences usually come from advisory sources, severity mapping and suppression handling, so treat each one as a decision rather than a bug to ignore. Confirm the exact Trivy and Dependency-Track versions you plan to deploy, the report formats you need (for example, SARIF for code hosting), and how the vulnerability databases will be mirrored and refreshed in your environment. Ask your vendor or your own platform team to confirm these details, since they change between releases.

Moving history is the step most teams underestimate. Snyk's Export API and SBOM API are mostly limited to Enterprise plans, so check your plan before you plan around them, and confirm what your contract allows you to retrieve before it ends. Historical findings you need for audit evidence should be exported and stored in a location your compliance team controls. Keep the parallel run open until Dependency-Track's notifications reach the same channels as Snyk's alerts, your policies block the same classes of build, and each ignore decision has a recorded owner and reason. Only then cancel Snyk, with a written record of the cutover date and the retained exports.

Which Snyk capabilities move to Trivy and Dependency-Track, and which need rework

This table maps each Snyk capability to the Trivy scanner, Trivy report format or Dependency-Track feature that covers it, and marks it as clean, needs rework or gap. Read the status column first, then the notes, because several Snyk features have no open-source equivalent and need a separate plan. Semgrep Community Edition covers SAST, which is a separate migration from the scanning and portfolio work described here.

Snyk capabilityOpen-source replacementStatus and notes
Open Source dependency CVEs in CITrivy filesystem or repository scan on lockfiles and manifests, output as JSON or SARIFClean. Gate builds on severity thresholds in the pipeline; confirm coverage for each language ecosystem your repos use.
Container image scanningTrivy image scan in CI, with mirrored vulnerability databases for offline runnersClean. Base image upgrade advice is not provided by Trivy, so teams need their own rebuild process.
Infrastructure as code findingsTrivy misconfiguration scanning for Terraform, Kubernetes and Helm, with custom checksNeeds rework. Rule sets differ from Snyk IaC, so map each suppressed rule and custom policy before cutover.
Software license findingsTrivy license scanning for SBOM and filesystem targets, plus Dependency-Track license policiesNeeds rework. Rebuild license policies per project in Dependency-Track and confirm legal approval of the allowed list.
Per-project monitoring and alertsDependency-Track with CycloneDX SBOM uploads per build, feeding policies and notificationsNeeds rework. Alerts must be rebuilt for Slack, Teams, Mattermost, email, Jira or webhooks, and each project needs its own SBOM upload step.
Fix pull requests and automated upgrade suggestionsNo direct equivalent in Trivy or Dependency-TrackGap. Plan manual or Dependabot-style upgrade workflows, and confirm what your Git platform offers.
Hosted dashboard and developer portalDependency-Track web UI and Trivy reports stored as build artifactsGap. Trivy has no hosted dashboard; Dependency-Track is self-hosted and needs its own access controls and backups.
Source code analysis (SAST)Not covered by Dependency-Track, which analyzes components, not source code. Semgrep Community Edition is a separate SAST migration.Gap for this migration. Assess Semgrep CE rules and language coverage in its own workstream.

The migration sequence from inventory to decommissioning Snyk

This sequence moves Snyk coverage to Trivy in CI and Dependency-Track as the portfolio view, one step at a time. Each step closes with a written artifact, so the team can show that gating and alerts were tested before the Snyk contract ends.

  1. Inventory projects, images and Snyk policies

    Export the list of Snyk projects, container images, IaC targets and ignore or policy settings, using the Snyk exports you can access on your plan (see the export guide for what Free and Team plans allow). Record the owner, language, build system, registry and whether each project gates merges or only reports. The output is a single inventory sheet with one row per deployable, plus a list of every suppression with its reason and expiry. Confirm the inventory with the owning teams before moving on.

  2. Pilot one project with Trivy SBOM generation

    Choose one low-risk service and add a CI job that runs Trivy against the build output, producing a CycloneDX SBOM per build alongside the existing scan. Keep the Trivy vulnerability database on a mirror your runners can reach, and confirm the mirror refresh process before the pilot starts. Upload the SBOM to Dependency-Track through its API and check that the component list matches the build. The output is a passing pilot pipeline and a Dependency-Track project whose component count you have reconciled against the lockfile.

  3. Map Snyk policies to Dependency-Track policies

    Take each rule in the inventory and translate it into a global or per-project Dependency-Track policy covering security, license and operational conditions. Mark the rules that have no direct equivalent, such as Snyk fix pull requests or Snyk ignore rules tied to its own project history, and decide whether each one is dropped, handled in CI or accepted as a gap. Have security and legal leads sign the mapping, since license rules and risk acceptances carry compliance weight. The output is a signed-off policy mapping with a gap column.

  4. Rebuild notifications and ticket routing

    Configure Dependency-Track notifications for the channels your teams already use, such as Slack, Microsoft Teams, Mattermost, email, webhooks or Jira, and route each project to the owning team. Decide which events create tickets and which only post messages, and set the same thresholds you used in Snyk. Send test notifications for a new vulnerability, a policy violation and a license violation to confirm each route reaches a person. The output is a routing table and a set of test alerts that the owners have acknowledged.

  5. Run both tools in parallel

    Keep Snyk scanning every project while Trivy and Dependency-Track run alongside it on the same builds. Each week, compare findings by component, version and CVE, and log every difference as a false positive, a source gap, a timing difference or a real miss. If you run DefectDojo, import the Trivy and Snyk reports so duplicates are visible in one place. The output is a discrepancy log that the security team reviews, and the parallel run ends when every difference has a recorded cause and an owner.

  6. Cut over gating and alerts

    Switch the merge and release gates from Snyk to the Trivy job, with Dependency-Track policy results feeding the portfolio dashboard. Move projects in batches from the inventory, starting with the pilot, and keep a documented rollback path to the Snyk gate for each batch. Confirm that the build fails on the thresholds in the signed policy mapping, using a deliberately vulnerable test artifact if your team has one. The output is a cutover record per batch, with the gate tests and the date each batch changed.

  7. Decommission Snyk and retain evidence

    After the final batch has run on the new gates, remove the Snyk integrations from CI and repositories, revoke tokens and service accounts, and confirm the last export of projects, issues and SBOMs is stored in your own records. Ask your audit or compliance contact which evidence they need for vulnerability scanning controls, such as the scan configuration, the policy mapping and the discrepancy log. Cancel the subscription only after this evidence is archived. The output is a decommissioning checklist signed by the owner of the vulnerability management process.

Moving history and findings through the Export and SBOM APIs

Before the Snyk contract ends, confirm in writing which data your plan can export, because the Export API and SBOM API are mostly Enterprise features and free and Team plans may not be able to export at all. Ask Snyk which export endpoints your plan includes, what formats they return, and how long exported data stays available. The V1 reporting API is retiring, so do not build your migration script on it. Ask Snyk which replacement endpoints apply to your tenant, and test one export of each data type before you rely on it.

Where JSON exports are available, they can feed DefectDojo's Snyk parser, which gives you a searchable findings store with deduplication and remediation tracking. Check the parser's accepted input against the DefectDojo documentation for the version you run, and load a sample export into a test instance first. For SBOMs, confirm the format Snyk returns. DefectDojo's README describes the wider import and tracking model. Dependency-Track only consumes CycloneDX SBOMs, so if Snyk's SBOM output is in another format, regenerate SBOMs for the same builds with Trivy instead of converting files by hand.

Plan for historical findings to live in an archive, not in Dependency-Track. Dependency-Track builds its portfolio view from the SBOMs you upload for current builds and re-checks them against its vulnerability sources, so past findings and triage decisions do not carry over as project state. Store each export with a date, a checksum and a retention period set by your policy, in an access-controlled location. Record which findings Snyk marked as accepted or ignored and why, so those decisions are documented. For future decisions, Dependency-Track can consume CycloneDX VEX documents, which gives you a supported place to record analysis going forward.

What data and integrations to move and rebuild

Moving off Snyk is less about exporting one dataset than rebuilding four connected pieces: the inventory of components, the scan step in CI, the thresholds that decide whether a build passes, and the alerts that reach owners. Each card below is one piece to inventory, rebuild and check before the Snyk contract ends.

Project and SBOM records

Dependency-Track stores projects and the CycloneDX SBOMs you upload for each one, so it becomes the portfolio view that replaces Snyk's project list. Decide which applications, services and container images need a project, and name each project consistently so history stays traceable. Check whether your Snyk exports include enough component data to rebuild the inventory, or whether the next build has to repopulate it.

Dependency-Track docs

CI steps calling Trivy

Replace the Snyk CLI step in each pipeline with a Trivy scan that produces a CycloneDX SBOM for the build and, where needed, a JSON or SARIF report for the code host. Pin the Trivy version in the pipeline so scan results do not change without a review. Confirm which targets each pipeline scans (images, filesystems, or existing SBOMs) so no artifact type loses coverage.

Trivy reporting docs

Snyk thresholds as Dependency-Track policies

Snyk fail conditions, such as blocking on a severity level or an unfixed issue, must be rewritten as Dependency-Track global or per-project policies covering security, license and operational compliance. Write each rule down with its owner and exception process before you apply it. Test the policies against a known project first, because a rule that is too strict will block releases and a rule that is too loose will pass risk through.

Notifications for chat, email and Jira

Dependency-Track sends configurable notifications to Slack, Microsoft Teams, Mattermost, webhooks, email and Jira. Rebuild each Snyk alert channel as a Dependency-Track notification rule scoped to the projects its owners need, and send test alerts to every destination. Check that the alerts reach a monitored channel, since a notification rule that fires into a dead inbox looks the same as no alert at all.

Tickets, owners and triage history

Snyk issue assignments, ignore decisions and ownership tags do not carry over automatically, so map each project to a team and a remediation queue before cutover. Decide where triage decisions will live, either in Dependency-Track's analysis records via its API or in DefectDojo if your teams track findings there. Export any suppression decisions you still need for audit before the Snyk export window closes.

Vulnerability database mirrors

If build runners or Dependency-Track have no internet access, Trivy's vulnerability databases, including trivy-db, trivy-java-db and trivy-checks, must come from an internal OCI registry selected with the repository flags, or be copied in as archives. The Trivy docs warn that mirrors must be kept updated, so assign an owner and a refresh schedule. Confirm how stale feeds will be detected before you rely on them for gating.

Trivy self-hosting docs

How the migration changes by starting point

A small team with a handful of repositories and one CI system usually has a short inventory, one pipeline to edit and a single Dependency-Track project per application. The work is mostly about getting one reliable SBOM per build and rebuilding a few policies by hand. Illustrative example: a team with four services in one CI system can list every Snyk project in a spreadsheet and map each to a pipeline step in an afternoon of planning, though real effort depends on pipeline complexity.

  • Inventory: list each Snyk project, its manifest files, its image names and its notification recipients, then mark which ones are still in use.
  • Parallel run: keep Snyk running on the default branch while Trivy and Dependency-Track report on the same builds, and compare the findings before you stop Snyk.
  • Policies: recreate only the severity thresholds and ignore rules that actually block merges today, since a small team rarely needs a full policy set.
  • Evidence: keep the Trivy JSON or SARIF output from CI and a short written note of the cutover date.
  • Cost driver: most of the effort is pipeline edits and triage, so ask whether your CI runner can run Trivy without a new server.

Confirm with your team which Snyk features were actually used, because a few unused integrations often account for most of the list.

What usually goes wrong in a Snyk to Trivy move

Most failed migrations do not fail on scanner accuracy. They fail on plumbing: SBOMs that never reach the portfolio view, databases that quietly age, and entitlements that lapse before history is saved. The cards below cover the risks that tend to surface between the first Trivy run and the day Snyk is cancelled.

Blind spots from missing SBOM uploads

Dependency-Track only sees what is uploaded. If a pipeline step generates a CycloneDX SBOM for some builds but not others, or fails silently on a monorepo subproject, those components never appear in the portfolio view, and Snyk's hosted monitoring may still show them. Before cutover, compare project counts and component totals between Snyk and Dependency-Track for a sample of repositories, and make the SBOM upload a required pipeline stage that fails the build when it does not complete.

Dependency-Track docs

Stale Trivy vulnerability databases

Trivy's databases are published as OCI images, and the docs warn that mirrors must be kept updated. A pipeline that pulls from a mirror last refreshed months earlier will report fewer CVEs than Snyk did, and the gap looks like improved security until an incident shows otherwise. Assign an owner to the mirror refresh, alert when the database timestamp is older than your agreed window, and run a known-vulnerable test image as a canary in each environment.

Trivy self-hosting docs

Copied policy thresholds without review

Snyk policies, ignore rules and severity gates often reflect decisions made years ago for a different risk appetite. Copying them into Dependency-Track global and per-project policies without review can block releases that were previously accepted, or let through license or operational risks that were never intended to pass. Export the current Snyk ignore list, decide each entry with the application owner, and record the reason in the Dependency-Track policy before enforcing it in CI.

Notifications lost at cutover

Snyk sends alerts through its own integrations, usually to Slack, Jira or email, and teams rarely document which channels fire for which projects. When Snyk is switched off, new vulnerabilities can stop reaching the people who triage them without anyone noticing. Dependency-Track supports Slack, Microsoft Teams, Mattermost, webhooks, email and Jira, so inventory each Snyk notification, rebuild it per project, and send a test alert through every channel before turning Snyk off.

Expiring Snyk entitlements before export

History in Snyk is only as available as the plan and contract allow. Export APIs and SBOM APIs are mostly limited to Enterprise plans, and free and Team plans have restrictions on what can be exported. If the contract ends before projects, issues and SBOMs are saved, the history is gone. Confirm your export entitlements in writing with Snyk, run the exports while the subscription is active, and store the JSON and SBOM files in your own retained archive.

Expecting Trivy to raise fix pull requests

Trivy finds vulnerabilities, misconfigurations, secrets and licenses, and it produces reports in table, JSON, SARIF and SBOM formats. It does not open pull requests that upgrade vulnerable dependencies, and it does not run a hosted dashboard. Teams that relied on Snyk's automated fix suggestions need a replacement process, such as Dependabot or Renovate, and a named owner for triage. Confirm that workflow exists before you remove the Snyk pull request bot.

What drives the cost and duration of the migration

This table lists the main drivers of migration cost and effort, why each one changes the bill, and how to keep it contained. Read it as a checklist to scope a quote: one-time work sits mostly in pipeline changes and policy rebuilding, while recurring costs come from hosting, feed updates and pipeline upkeep. The main takeaway is that triage time stays roughly the same on either tool, so the migration effort is driven by inventory, policy and integration decisions rather than by the scanner itself.

DriverWhy it changes cost or effortHow to keep it down
Repositories and images in scopeEach repository needs a Trivy step or SBOM generation per build, and each image needs a scan path. Counts multiply pipeline edits and testing.Migrate in waves by team or service. Start with the repositories that carry the most Snyk monitoring or alerts.
Snyk policies and exceptionsSnyk ignores, severity thresholds and per-project settings must be rebuilt as Dependency-Track global and per-project policies. Undocumented exceptions are the most time-consuming item.Export current ignores first, then keep only exceptions that still have an owner, a reason and an expiry date.
CI systems in useEach CI system (for example Jenkins, GitLab CI/CD or GitHub Actions) needs its own Trivy invocation, secrets handling and gating logic. Mixed estates multiply this work.Standardize one scan template per CI system and reuse it across repositories instead of writing one per project.
Notification and ticketing integrationDependency-Track sends notifications to Slack, Microsoft Teams, Mattermost, webhooks, email and Jira. Rebuilding routing rules, channels and ticket mapping is effort that scales with the number of teams.Rebuild only the notifications people act on. Confirm which Snyk alerts are actually used before recreating them.
Hosting and database operationDependency-Track runs on your own servers (Docker, Kubernetes or executable WAR) with its own database. This is a recurring cost for compute, storage, patching and backups.Size the environment against the number of projects and SBOM uploads, and confirm backup and restore procedures in your own environment before cutover.
Vulnerability feeds and database mirrorsTrivy's databases are OCI images that need regular refresh, and air-gapped or restricted networks need mirrored copies. Stale feeds create silent coverage gaps.Automate database refresh in a scheduled job and alert when the local mirror is older than your policy allows.
Pipeline maintenanceScanner versions, CI images and SBOM formats change over time. Someone must own upgrades and fix broken pipelines, which is an ongoing cost.Pin Trivy and Dependency-Track versions, document the upgrade owner and test upgrades in a non-production pipeline first.
History retentionSnyk history does not transfer automatically. Keeping past findings, SBOMs and audit trails depends on what was exported (Export and SBOM APIs are mostly Enterprise features) and how long you must retain them.Confirm retention requirements with your compliance team, export history before the contract ends and store it in a documented archive.
Triage time (same on either tool)Someone still has to decide whether each finding is exploitable, accept risk or fix it. This effort does not drop because the scanner changes, and it can rise during parallel running.Set triage rules and ownership before cutover, and track how many findings each team closes per cycle during the parallel period.

How Trivy, SBOMs and Dependency-Track fit together

The flow starts in the CI build, where Trivy scans the image or filesystem and writes a CycloneDX SBOM alongside its findings. The SBOM is uploaded to Dependency-Track, which correlates components against vulnerability sources and applies your policies, then sends notifications to chat, email or Jira. The Snyk pipeline runs in parallel inside a separate subgraph until you cancel it. Check that the Trivy vulnerability database mirror is current inside the boundary, and that the two sets of findings agree before you remove Snyk.

Trivy generates SBOMs in CI, while Dependency-Track holds the portfolio view and alerts.

Questions buyers ask before moving off Snyk

How much effort and cost does moving off Snyk to Trivy and Dependency-Track involve?

The software is free under Apache-2.0 for both Trivy and Dependency-Track, so the cost is mostly people and infrastructure. Cost components include the servers that run Dependency-Track and its database, the CI pipeline changes that generate SBOMs and gate builds, the policy and notification rebuild, and the triage time your engineers spend on findings. One-time work covers pipeline changes, policy design and history migration. Recurring work covers keeping the vulnerability databases mirrored and updated, upgrades and triage. Costs rise with the number of repositories, images and projects, and with how many custom policies you need. When you ask for a quote, request a line-by-line scope covering each of these components and who performs each one.

How long should a parallel run of Snyk and Trivy last?

The length of a parallel run depends on how many release cycles your teams need to see both tools agree, and on how much of your portfolio is covered by the new pipeline. Run both until Trivy findings and Dependency-Track views match Snyk's results closely enough that your security team accepts the differences, and until every critical and high-risk project has an SBOM flowing into Dependency-Track. Track differences explicitly, because Snyk uses its own data and fix advice that Trivy does not provide. Keep Snyk active until your history has been exported, which depends on the plan you hold. Set the exit criteria in writing before the run starts, and agree who signs off on them.

What does your team need to provide for the migration?

You need four things in place before work starts. First, access to your CI pipelines and repository settings so SBOM generation and Trivy scans can be added to each build. Second, named policy owners who decide which vulnerabilities, licenses and severities block a release and which only notify. Third, a Dependency-Track administrator who manages projects, users, API keys, notifications and upgrades after the migration. Fourth, a decision on where the Dependency-Track deployment and its database will run, including Docker, Kubernetes or an executable WAR, as described in its documentation. Confirm these owners and access rights in the scope document, because delays in policy decisions often take longer than the technical work.

Can our own engineers do the Snyk to Trivy migration without outside help?

Yes, a team with pipeline and security tooling experience can do this internally, because Trivy and Dependency-Track are open source and documented, and Dependency-Track has an API-first design with OpenAPI documentation. The harder parts are usually policy design, deciding how to handle findings that Snyk triaged or fixed, and running Dependency-Track as a service with backups and upgrades. Be honest about capacity: the same engineers will also handle normal releases during the parallel run. DeployOpen plans, implements, customizes, integrates, hardens, backs up, upgrades and documents self-hosted platforms in your own infrastructure, and most engagements are fixed-scope with scope agreed in writing before work starts. Ask for a written split of work between your team and any partner.

Which Snyk data can we export, and on which plans?

Export depends on your Snyk plan, and this is a question to confirm with Snyk directly before you plan the timeline. The Export API and SBOM API are mostly available on Enterprise plans, while free and Team plans have more limits, so check what your plan permits for projects, issues and SBOMs. The retiring V1 reporting API should not be your long-term export path. JSON exports can be imported into DefectDojo's Snyk parser, which is a useful way to keep historical findings searchable. Ask Snyk for your plan's export entitlements in writing, and export your history before the contract ends, because access often stops at cancellation.

Does Trivy cover what Snyk Container and Snyk IaC cover?

Trivy covers much of the same ground, but not all of it, and you should map each Snyk feature to a specific Trivy capability before you cancel. Trivy scans container images, filesystems, Git repositories, virtual machine images and Kubernetes, and its scanners find OS packages and dependencies, CVEs, infrastructure as code issues and misconfigurations, secrets and licenses. Trivy Operator adds continuous cluster scanning with compliance reports. What Trivy does not provide includes Snyk's fix pull requests and a hosted dashboard, and it does not give base image upgrade advice in the way Snyk does. Check rule coverage for your specific Terraform, Kubernetes, CloudFormation and Helm estate during the parallel run, and confirm gaps with your security team.

What should we confirm about vulnerability data sources before relying on Trivy and Dependency-Track?

Confirm that your vulnerability feeds stay current, because a stale database gives false confidence. Trivy's databases are published as OCI images that you can mirror to an internal registry, and its documentation warns that mirrors must be kept updated. Dependency-Track correlates components against sources including the NVD, GitHub Advisories, OSV, Sonatype OSS Index, Snyk, Trivy and VulnDB, so decide which sources your policies depend on and how each is licensed for your use. Ask who monitors feed freshness, how often mirrors refresh, and what happens on an air-gapped network. Record this in your vulnerability management process so auditors can see how the scanner stays current.

How DeployOpen scopes and runs the Snyk migration

DeployOpen plans, implements, integrates, hardens, documents and supports the self-hosted Trivy and Dependency-Track stack inside your own infrastructure, whether that is your cloud accounts, your data center or an isolated network. In practice that means agreeing where the Trivy runners execute, where the Dependency-Track instance runs, how the vulnerability databases are mirrored, and which CI pipelines and projects are in the first wave. Those decisions shape the scope, so they should be made before anyone signs a statement of work.

Most engagements are fixed-scope. Before work starts, the scope, deliverables and timelines are agreed in writing, and a quote follows from that written scope rather than from a published price list, because DeployOpen does not publish one. Ask for the written scope to name the pipelines to be migrated, the Snyk projects that will be mapped, the policy and notification rules to be rebuilt, the parallel-run period, the cutover criteria and the handover documents. Ask the quote to show each of those items separately, so you can see what is one-time work and what carries forward.

After cutover, ongoing support, upgrades and continuous testing are available as retainers. This matters for Trivy because its vulnerability databases must be kept current in a mirrored registry, and Dependency-Track needs its own upgrades and policy reviews as your portfolio changes. Ask whether a retainer covers database mirror refreshes, version upgrades of both tools and the review of policy changes, and confirm with DeployOpen how the retainer scope is set in writing. DeployOpen does not claim certifications or partner status for these tools, so treat the written scope and your own environment as the basis for any assurance.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.