Wiz vs Trivy

Wiz gives a managed, cross-cloud view with asset context. Trivy gives open-source, self-hosted image, filesystem and cluster scanning that you wire into pipelines and your own reporting. The right choice depends on what you need to correlate and who runs it.

On this page

Wiz or Trivy: which fits your vulnerability workflow

Wiz fits teams that want one managed view across cloud accounts, workloads and attack paths. Trivy fits teams that want image and cluster scanning inside their own pipelines and clusters, and that have the people to build the correlation layer Wiz provides. The trigger is usually a renewal, a data residency question or a wish to scan containers without a SaaS dependency. Wiz connects to cloud accounts and shows how a vulnerable image, an exposed workload and an over-privileged identity combine into one risk path. Trivy does not do that on its own. It finds OS packages, software dependencies, CVEs, misconfigurations, secrets and licenses, and it can produce an SBOM for a target or scan an existing one. Its reports come out as table, JSON, SARIF, template, SBOM or GitHub dependency snapshot, so findings can flow into your own ticketing or DefectDojo instance.

For clusters, the closest match is Trivy Operator, which scans workloads as they are created and stores vulnerability, config audit, exposed secret, RBAC and compliance reports as Kubernetes custom resources. Its compliance reports cover the NSA/CISA Kubernetes Hardening Guidance v1.1, the CIS Kubernetes Benchmark v1.23 and the Pod Security Standards baseline and restricted profiles. Confirm that these match the benchmark versions your auditors use. Your team would still need to attach asset owners, business criticality and internet exposure to each finding, and to decide how it reaches a SIEM or a remediation queue.

The decision turns on three questions. First, how much asset context you need from the tool itself rather than from your own inventory. Second, who operates the tooling: Trivy and its database mirrors need upkeep, because the docs warn that mirrors must be kept updated, and a Trivy Operator install needs its own patching. Third, where scan data may live. Trivy's databases can be mirrored to an internal registry and used on air-gapped systems, which makes it easier to keep data in place. Before you renew or build, write down which of these three answers your organization has.

Which option fits which scenario

This table maps common Wiz vs Trivy scenarios to the option that usually fits better and the reason tied to how each tool works. Read it as a starting point: your cloud footprint, team size and audit obligations may change the answer, so test the shortlist against your own environment.

ScenarioBetter fitWhy
Image scanning in CI pipelines onlyTrivyTrivy runs as a command in the build and reports as table, JSON, SARIF or SBOM output, so gating images before they reach a registry needs no always-on platform.
Continuous scanning of a Kubernetes clusterTrivy Operator, with Wiz if cloud context is neededTrivy Operator scans on events such as new Pod creation and stores results as Kubernetes custom resources, but it does not model how a workload connects to cloud accounts or identities.
One inventory across several clouds and clustersWizWiz builds a single view of assets and relationships across providers. With Trivy you aggregate reports yourself, typically in DefectDojo, and rebuild the ownership and exposure context by hand.
Air-gapped or offline networksTrivyTrivy's databases (trivy-db, trivy-java-db, trivy-checks) can be mirrored to an internal registry or copied as archives into the offline cache, though mirrors must be refreshed on a schedule you control.
Kubernetes compliance evidence (CIS, NSA/CISA, Pod Security Standards)Trivy OperatorIts compliance reports cover the CIS Kubernetes Benchmark v1.23, NSA/CISA Kubernetes Hardening Guidance v1.1 and Pod Security Standards profiles, which you can export as cluster evidence.
Team with no platform engineersWiz, or a managed Trivy deploymentTrivy Operator, the mirror and the report pipeline all need Kubernetes and CI ownership. Confirm whether a partner or vendor support contract covers that work before you choose self-hosting.
Software bill of materials for every image and repositoryTrivyTrivy generates SBOMs and can scan existing SBOMs, so the inventory is portable to other tools, which supports audit requests and downstream license or dependency review.
Cloud configuration tied to workloads and identitiesWizWiz links vulnerabilities to network exposure, permissions and cloud configuration. Trivy reports misconfigurations in IaC and manifests but does not map them to cloud accounts.

What you rebuild yourself when you choose Trivy

Trivy tells you what is vulnerable inside an image, a filesystem, a Git repository or a cluster. It does not tell you who owns the asset, whether it is reachable from the internet, which cloud account it sits in, or whether the same flaw appears in three other places. Those answers are the context that makes a Wiz finding actionable, and with Trivy they become your work. Before you commit, list the questions your remediation queue must answer for each finding: owner, environment, exposure, business criticality and the cloud account or cluster it belongs to. Each one needs a source of truth you control, such as a CMDB, a cloud inventory export or Kubernetes labels set by your platform team.

Prioritization is the hardest gap. Trivy reports severity and whether a fixed version exists, but it does not establish whether a vulnerable package is loaded, exposed to a network path or reachable from an attacker's position. Your team has to combine Trivy output with ingress rules, load balancer data, runtime signals or a manual review of the top tier. Confirm what your Trivy version reports for each finding and plan who maintains the scoring rules, since Trivy Operator writes its results as Kubernetes custom resources that you must join to other data yourself.

For deduplication and routing, DefectDojo can import Trivy reports and deduplicate findings across scanners, so the same CVE in one image reported by different pipelines does not create duplicate tickets. A SIEM or ticketing system can then route the consolidated items to owners. Check that the import format you choose, such as JSON or SARIF from the reporting options, carries the fields your deduplication rules need, and test one image end to end before you scale. Treat this pipeline as a product you operate: it needs an owner, a change process and a documented way to close findings that were fixed upstream.

Where scan data lives and who controls it

Wiz is a hosted SaaS platform, so image metadata, findings and asset context sit in the vendor's environment under its terms. Trivy and Trivy Operator run inside your own pipelines and clusters, which moves control of data, databases and credentials to your team, along with the work to keep them current.

Where image and finding data sits

Wiz collects cloud and container inventory, findings and graph context in its hosted service, so the data residency and retention questions go to the vendor's contract and region options. Trivy writes its results to the file, table, JSON, SARIF or SBOM formats you choose, and those files stay wherever your pipeline stores them. Ask Wiz which regions and retention settings apply to your tenant, and decide where your Trivy reports will be stored before you turn on scanning.

Trivy reporting docs

Air-gapped scanning with mirrored databases

Trivy can run offline if you download the trivy-db or trivy-java-db archive on a connected machine and copy it into the cache db directory on the isolated system. For a registry-based workflow, mirror the trivy-db, trivy-java-db and trivy-checks OCI images to an internal registry and point Trivy at them with the repository flags. Confirm that your transfer process and approval path for these archives match your change control rules.

Self-hosting docs

Keeping vulnerability database mirrors current

The Trivy docs warn that a mirror must be kept updated, or scans will report against stale advisories. Wiz maintains its vulnerability intelligence as part of the service, so that refresh work is not yours. With Trivy, you own a scheduled job that pulls new database images or archives, validates them and promotes them to the scanning fleet, plus an alert when the database age exceeds your tolerance. Document who owns this job and how often it runs.

Operator identity and Kubernetes access

Trivy Operator runs in the cluster and writes its reports as Kubernetes custom resources, so anyone who can read those objects can read the findings. Kubernetes does not model normal users as API objects, so your team must choose how people authenticate, through X.509 client certificates, OpenID Connect tokens, webhook token authentication or an authenticating proxy. Restrict list and watch permissions on the report resources with least-privilege RBAC, and check who can reach the operator's service account.

Kubernetes authentication docs

Secrets exposed in cluster reports

Trivy Operator can report exposed secrets it finds in workloads, so those reports may contain sensitive material. Kubernetes stores Secrets unencrypted in etcd by default, so the reports need the same protection as the Secrets they describe. Confirm that encryption at rest is enabled for etcd, limit who can read secret-related report resources, and set a process for rotating any credential that appears in a report.

Secrets good practices

Evidence for CIS 7.5 and PCI DSS

CIS Safeguard 7.5 asks for automated authenticated and unauthenticated scans of internal assets at least quarterly, and Wiz can produce scan records for its scope. Trivy and Trivy Operator produce machine-readable reports and Kubernetes compliance reports against CIS and Pod Security Standards profiles, which you must retain and tie to a written process. PCI DSS internal scanning can be done by qualified independent testers, but external scans for cardholder data environments must be performed by an Approved Scanning Vendor, so Trivy does not replace ASV scanning.

PCI SSC ASV list

How much operating effort Trivy Operator adds to a cluster

Trivy Operator is not a scan you run once. It runs inside the cluster and keeps working as workloads change. It scans when new Pods appear, and it stores vulnerability, config audit, exposed secret, RBAC and compliance results as Kubernetes custom resources. That means the reports live in etcd alongside everything else the cluster holds, and the upgrade and backup duties for the control plane apply to them. Before you adopt it, confirm which namespaces the operator watches, how many report objects a full cluster produces, and who on your platform team owns the controller's upgrades. The operator's own release cadence is separate from the Kubernetes release cycle, so check its compatibility with your cluster version at each upgrade.

Kubernetes ships roughly three minor releases a year on a cycle of about 14 weeks, and the project maintains only the three most recent minor versions. The version skew policy requires the kube-apiserver to be upgraded one minor version at a time, before the controller manager, scheduler and kubelets, and allows kubelets to lag by up to three minor versions. Plan a standing upgrade window that covers the cluster, the Trivy Operator and the scanner database mirror if you run one in an air-gapped setup. Ask your platform team to confirm the current end-of-life dates on the Kubernetes releases page before each planning cycle, not from memory.

The cluster-side controls are yours to own. Kubernetes documentation recommends an odd-numbered etcd membership, with five members in production, and a tested backup plan that uses etcdctl snapshot save with restores through etcdutl. Scan reports are stored in etcd, so a restore test should include them. Secrets are stored unencrypted in etcd by default, so configure encryption at rest and restrict list and watch access with least-privilege RBAC, because the Trivy Operator's exposed secret reports can reveal the existence of credentials. Confirm these settings in writing with your security team before you turn the operator on in production.

What moving from Wiz to Trivy involves

The sequence turns Wiz's coverage into an equivalent Trivy setup in your own pipelines and clusters, with evidence that auditors can review before Wiz is retired. Each step has a check that confirms it is complete.

  1. Inventory current Wiz coverage and reports

    Your security or cloud team lists which accounts, clusters, registries and repositories Wiz scans today, which findings feed tickets or dashboards, and which reports auditors or customers receive. Ask your Wiz administrator to export the report definitions and scope settings so nothing is missed. The step is done when every scanned asset class has a named owner and a matching Trivy path (CI pipeline, Trivy Operator or a scheduled scan) or a documented gap.

  2. Choose a mirror and database update process

    Platform engineering decides whether pipelines pull Trivy's vulnerability databases from the public source or from an internal OCI mirror selected with the repository flags in the Trivy documentation. For air-gapped clusters, a connected machine downloads the database archive and copies it into the offline cache directory. Assign an owner for keeping the mirror current, since the Trivy docs warn that stale mirrors weaken results. The step is done when a test scan on an isolated runner reports the database version and its update date.

  3. Add Trivy to CI for images and filesystems

    Developers and DevOps engineers add Trivy scan stages to the build pipeline for container images, filesystems and, where used, remote repositories. Set the severity threshold, ignore file handling and output formats (table, JSON or SARIF) to match the policy the security team wrote from the Wiz findings. Generate SBOMs for each release if your auditors ask for them. The step is done when a deliberately vulnerable test image fails the pipeline and the report lands where the team reads it.

  4. Deploy Trivy Operator to a pilot cluster

    Platform engineers install Trivy Operator in one non-production cluster and let it scan workloads as they are created. The operator stores vulnerability, config audit, exposed secret and RBAC reports as Kubernetes custom resources, so the team must confirm that its RBAC lets only the right people read them. Compare the compliance reports against the benchmarks your auditors use and record any gaps. The step is done when the pilot cluster shows reports for every running workload namespace.

  5. Map findings to owners and asset data

    This is the most effort-heavy step. Wiz links each finding to its cloud account, owner tags, internet exposure and attack path context. Trivy reports arrive without that context, so the team rebuilds it by joining results to a service catalog, cloud tags and the ticketing system, typically through a tracker such as DefectDojo or a SIEM. Document how exposure and business criticality are scored because Trivy does not supply them. The step is done when a sample of findings from each team routes to a named owner with the context needed to prioritize.

  6. Run both tools in parallel and collect evidence

    Keep Wiz running while Trivy produces the same scope of results. Compare finding counts, severity and remediation status for a set period agreed by the security and audit teams, and investigate every difference. Export the reports, scan schedules, database update records and ticket trails that auditors will ask for, and confirm with your assessor which of them meet the controls you are tested against, such as the vulnerability scanning requirements in CIS Controls Safeguard 7.5 or PCI DSS 11.3.1. The step is done when differences are explained and the evidence pack is accepted by the assessor.

  7. Retire Wiz coverage and archive records

    After the parallel run is accepted, the owner removes Wiz scan scopes one account or cluster at a time, starting with non-production, and cancels or reduces the subscription at the agreed renewal point. Keep exported Wiz reports and the parallel-run comparison in your records retention system. Confirm contract exit terms and data deletion with Wiz in writing. The step is done when no in-scope asset is unscanned, the subscription change is confirmed, and archived evidence can be retrieved.

How Trivy findings flow into a self-hosted pipeline

The flow starts in two places inside your own infrastructure: the CI pipeline, where Trivy scans images, filesystems and SBOMs, and the Kubernetes cluster, where Trivy Operator scans workloads as they are created. Both write results as reports, either SARIF or JSON files from the pipeline or custom resources in the cluster. Trivy's databases come from an internal mirror rather than the public internet, so check that the mirror is refreshed on a schedule. Findings then go to DefectDojo or a SIEM, which deduplicates them and assigns ownership, and that step is where most of the asset context you need has to be rebuilt.

Trivy scanning inside the organization's boundary, with findings consolidated in DefectDojo or a SIEM.

Questions buyers ask before switching from Wiz to Trivy

What does switching from Wiz to Trivy cost in effort, and what drives it?

The main cost is internal engineering time, because Trivy is Apache-2.0 licensed and its scanners carry no license fee of their own. Effort rises with the number of container registries, pipelines and clusters you need to cover, the number of Wiz findings you must reproduce, and how much of Wiz's asset context your teams rely on. Recurring costs include compute for scans, database mirroring and the people who triage findings. Aqua's commercial offering builds on Trivy, so if you want a paid support contract, ask Aqua separately for its scope and pricing. Ask any quote to itemize the components, the one-time migration work and the ongoing operating work.

How long does a Wiz to Trivy migration take, and what sets the timeline?

The timeline depends on scope, not on Trivy itself. The main drivers are how many image registries, repositories and Kubernetes clusters are in scope, whether scanning runs in CI pipelines, in clusters through Trivy Operator, or both, and how many Wiz workflows, such as ticketing and exception handling, must be rebuilt. Air-gapped environments add work for database mirroring. A parallel run, where Wiz and Trivy report on the same workloads, lets you compare findings before retiring Wiz. Your timeline should come from a written scope that lists each of these items, which is how most fixed-scope engagements are agreed with DeployOpen.

What skills and people does a Trivy rollout require from our team?

You need people who can operate CI pipelines, container registries and Kubernetes, and who can own the vulnerability workflow. Trivy's outputs include table, JSON, SARIF, template, SBOM and GitHub dependency snapshot formats, so someone must decide where each format goes and how findings are triaged. Platform engineers typically handle pipeline and cluster integration, while security engineers define severity thresholds, exception rules and reporting. Kubernetes work also needs familiarity with its upgrade cadence, since Kubernetes releases come about three times per year. Confirm these roles against your own team before setting scope.

Can our own team switch from Wiz to Trivy without an implementation partner?

Yes, a capable platform or security team can run Trivy without outside help, because it is a single open-source tool with documented reporting and self-hosting options. The harder part is rebuilding what Wiz gives you across cloud accounts: a single asset inventory, attack path context and cross-account correlation. Trivy does not reproduce those on its own, so you would need a database, SIEM or DefectDojo to bring findings together. Teams that lack capacity for that work often use an implementation partner for scoped integration, hardening and documentation, and DeployOpen offers that on a fixed-scope basis.

Does Trivy meet PCI DSS vulnerability scan requirements?

Trivy can support parts of PCI DSS vulnerability management, but it does not replace every scan requirement. Requirement 11.3.1 calls for internal vulnerability scans at least once every three months, with rescans after high-risk and critical fixes, performed by qualified, independent testers, and it does not require a QSA or ASV for those internal scans. Requirement 11.3.1.2, mandatory since March 31, 2025, requires internal scans to be authenticated with sufficient privileges. Requirement 11.3.2 requires external scans by a PCI SSC Approved Scanning Vendor, so a self-hosted scanner cannot replace ASV scans for cardholder data environments. Confirm with your QSA how your internal scanning, authentication and reporting will be evidenced.

How do air-gapped Trivy installs get vulnerability database updates?

Trivy's databases are published as OCI images, so a connected network can serve them to an isolated one. Trivy's self-hosting documentation describes mirroring trivy-db, trivy-java-db and trivy-checks to an internal registry and selecting them with the --db-repository, --java-db-repository and --checks-bundle-repository options. For fully offline systems, the docs describe downloading the trivy-db or trivy-java-db archive on a connected machine and copying it into the cache db directory on the offline system. The docs warn that mirrors must be kept updated, so the transfer process and its schedule belong in your runbook and your change records.

Can Trivy Operator replace Wiz's Kubernetes compliance reports?

Trivy Operator covers some of what Wiz reports on Kubernetes, but not necessarily all of it. It scans a cluster continuously, for example when a new Pod is created, and stores vulnerability, config audit, exposed secret, RBAC and compliance reports as Kubernetes custom resources. Its compliance reports cover the NSA/CISA Kubernetes Hardening Guidance v1.1, the CIS Kubernetes Benchmark v1.23 and the Pod Security Standards baseline and restricted profiles. Compare the exact control set against what your auditors request from Wiz, and note that Wiz's attack path and asset context must be rebuilt separately.

What does Wiz cover that Trivy does not, and how do we check it?

Trivy focuses on images, filesystems, Git repositories, virtual machine images and Kubernetes, with scanners for OS packages, dependencies, CVEs, IaC misconfigurations, secrets and licenses. It does not provide a cloud-wide inventory or attack path analysis across accounts. Before you commit, list every Wiz capability your teams use, map each one to Trivy, another open-source tool or a manual process, and mark the gaps. Run both tools on the same targets during a parallel run and compare the findings, because differences in coverage are easiest to see side by side.

How DeployOpen helps teams evaluate or move to Trivy

DeployOpen plans, implements, integrates, hardens, documents and supports self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks, and it runs security testing against the resulting setup. For a Wiz to Trivy evaluation, the usual starting point is a fixed-scope engagement with the scope, deliverables and timeline agreed in writing before any work begins. The first deliverable is typically a coverage review of what Wiz currently reports for your images, workloads and clusters, mapped against what Trivy in pipelines and Trivy Operator in clusters would produce. That review should name the asset context Wiz supplies today, such as ownership, internet exposure and attack paths, so you can decide which of those you must rebuild and which you can drop.

Implementation work usually covers the pipeline and cluster side. That means wiring Trivy into CI so image scans run on build, exporting SARIF or JSON for your ticketing and code scanning tools, and deploying Trivy Operator so vulnerability, config audit, exposed secret, RBAC and compliance reports land as Kubernetes custom resources. The vulnerability and advisory databases need a mirror in an internal registry, selected with the --db-repository and --checks-bundle-repository options, plus a documented refresh schedule, because the Trivy docs warn that stale mirrors quietly weaken results. For disconnected environments, the offline database copy procedure is part of the same work. Findings can then flow into DefectDojo or your SIEM, with deduplication rules tested against real output, and the evidence for assessments is documented, including the scan frequency, scope and remediation records. DeployOpen prepares that evidence for your assessors but does not issue audit reports, attestations or certifications.

After go-live, Trivy and Kubernetes both change on their own schedules, so ongoing support is available as a retainer covering upgrades, database mirror checks and continuous testing of the setup. A quote follows from the written scope, and the main inputs to it are the number of clusters and image pipelines, the Wiz modules you rely on, how many findings sources feed your tracker, and whether environments are air-gapped. Ask for each of these to be priced separately so you can see what is one-time and what recurs.

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.