Trivy#
The Trivy module ingests vulnerability, package, and fix data from Trivy JSON
container image scan reports. Findings and packages attach to canonical
ontology Image nodes by image digest, independent of the source registry.
Cartography currently supports matching Trivy reports to images ingested from AWS ECR, Google Artifact Registry, and GitLab Container Registry. Load the registry’s Cartography module before Trivy so the corresponding canonical image nodes exist.
Finding Identifiers#
Trivy findings can carry CVE, GitHub advisory, Debian advisory, RustSec, and
other identifiers. Cartography preserves every reported identifier in
vulnerability_ids, with the primary VulnerabilityID first, and extracts
dedicated cve_id and ghsa_id values when present.
Every finding uses the Risk label. The CVE label is applied only when a CVE
identifier is present.
See configuration for report requirements and source options, and the generated schema for fields and relationships.