Skip to content

Integrations / Scanners

Trivy Operator integration

Trivy Operator keeps scanning your cluster; Osty proves which of its findings matter. Osty resolves each advisory against Debian, Ubuntu, Alpine and RHEL security data and native-compiler call graphs, and suppresses a finding only on a provable backport, build-stage exclusion or unreachability. A native Trivy Operator collector is not shipped yet; this guide covers what runs today.

Written by Osty EngineeringPublished Updated

How Osty classifies a scanner finding
Osty classificationEvidence requiredStill actionable?
ELIMINATED_DISTRO_BACKPORTA distro advisory resolves the installed package version as FIXED_BACKPORT or NOT_AFFECTED.No
ELIMINATED_BUILD_STAGE_ONLYThe package is in the BUILD_TIME SBOM and absent from the RUNTIME_IMAGE SBOM.No
ELIMINATED_STATICALLY_UNREACHABLEA native compiler call graph proves the vulnerable symbol is unreachable.No
IMPORTED_UNCERTAINAnalysis failed or no analyzer exists, as for OS packages.Yes
ActionableNone of the above.Yes
Explain one Trivy CVE against Osty's evidence
osty explain --cve CVE-2024-5535 --cache /var/lib/osty/edge-cache.sqlite --json

What ships today, and what does not?

Trivy Operator integration status
PieceStatus
TRIVY scanner kind in Osty's scanner observation storeShipped. Raw severity is kept verbatim and normalised from the matched authoritative advisory.
Collector that reads VulnerabilityReport resources from the clusterNot shipped. AWS Inspector is the scanner feed collected automatically today.
Osty's own OCI SBOM extraction for the same imagesShipped: dpkg, apk, RPM, zstd layers and in-image npm and PyPI metadata.
Offline per-advisory explanation with osty explain --cveShipped.

How do I check Trivy findings against Osty today?

List the CVE IDs Trivy Operator reports for a workload, then ask Osty for its evidence on each one. osty explain reads only the local signed edge cache and never calls the network.

Pull CVE IDs from Trivy Operator and explain each with Ostybash
kubectl get vulnerabilityreports -n payments -o json \
  | jq -r '.items[].report.vulnerabilities[].vulnerabilityID' | sort -u > cves.txt
while read -r cve; do
  osty explain --cve "$cve" --cache /var/lib/osty/edge-cache.sqlite --json
done < cves.txt

For repository-level findings, the read-only X-Ray applies the same classification across lockfiles and reports how many raw findings each proof eliminated.

Read-only X-Ray with compiler reachabilitybash
osty xray --repo . --reachability auto --format markdown --out /tmp/xray.md

Why does Trivy report CVEs that a distro already fixed?

Distributions often backport a security fix into an older upstream version and bump only the package release, for example 1.1.1n-0+deb11u5. A version-range match against the upstream fix version reports the CVE as open. Osty resolves the exact distro package version against the distro's own tracker, which records the fixed release.

Heuristic or Tree-sitter matches never suppress a finding of any severity in Osty, and a failed compiler run degrades loudly to IMPORTED_UNCERTAIN.

Frequently asked questions

Should I remove Trivy Operator when I adopt Osty?

No. Osty is designed to ingest existing scanners rather than replace them.

Can Osty suppress a Trivy finding because the code looks unused?

No. Only native-compiler call graphs may prove unreachability; OS packages have no analyzer and stay actionable unless a backport is proven.

Where does Osty get distro advisory data?

From signed advisory snapshots built from Debian, Ubuntu, Alpine and RHEL security trackers.

See your fleet in 10 minutes

Connect a read-only GitHub App and cloud role. Osty installs nothing in your environment and writes nothing to your repositories, and the report shows false positives, stale deploys and unowned workloads.