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
| Osty classification | Evidence required | Still actionable? |
|---|---|---|
ELIMINATED_DISTRO_BACKPORT | A distro advisory resolves the installed package version as FIXED_BACKPORT or NOT_AFFECTED. | No |
ELIMINATED_BUILD_STAGE_ONLY | The package is in the BUILD_TIME SBOM and absent from the RUNTIME_IMAGE SBOM. | No |
ELIMINATED_STATICALLY_UNREACHABLE | A native compiler call graph proves the vulnerable symbol is unreachable. | No |
IMPORTED_UNCERTAIN | Analysis failed or no analyzer exists, as for OS packages. | Yes |
| Actionable | None of the above. | Yes |
osty explain --cve CVE-2024-5535 --cache /var/lib/osty/edge-cache.sqlite --jsonWhat ships today, and what does not?
| Piece | Status |
|---|---|
TRIVY scanner kind in Osty's scanner observation store | Shipped. Raw severity is kept verbatim and normalised from the matched authoritative advisory. |
Collector that reads VulnerabilityReport resources from the cluster | Not shipped. AWS Inspector is the scanner feed collected automatically today. |
| Osty's own OCI SBOM extraction for the same images | Shipped: dpkg, apk, RPM, zstd layers and in-image npm and PyPI metadata. |
Offline per-advisory explanation with osty explain --cve | Shipped. |
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.
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.txtFor repository-level findings, the read-only X-Ray applies the same classification across lockfiles and reports how many raw findings each proof eliminated.
osty xray --repo . --reachability auto --format markdown --out /tmp/xray.mdWhy 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.