Trivy Schema¶
TrivyImageFinding¶
Representation of a vulnerability finding in a container image.
Field |
Description |
---|---|
firstseen |
Timestamp of when a sync job first discovered this node |
lastupdated |
Timestamp of the last time the node was updated |
id |
Unique identifier for the finding (format: TIF |
name |
The vulnerability ID (e.g. CVE-2024-1234) |
cve_id |
The CVE identifier |
description |
Description of the vulnerability |
last_modified_date |
Date when the vulnerability was last modified |
primary_url |
Primary URL for vulnerability information |
published_date |
Date when the vulnerability was published |
severity |
Severity level of the vulnerability |
severity_source |
Source of the severity rating |
title |
Title of the vulnerability |
cvss_nvd_v2_score |
CVSS v2 score from NVD |
cvss_nvd_v2_vector |
CVSS v2 vector from NVD |
cvss_nvd_v3_score |
CVSS v3 score from NVD |
cvss_nvd_v3_vector |
CVSS v3 vector from NVD |
cvss_redhat_v3_score |
CVSS v3 score from RedHat |
cvss_redhat_v3_vector |
CVSS v3 vector from RedHat |
cvss_ubuntu_v3_score |
CVSS v3 score from Ubuntu |
cvss_ubuntu_v3_vector |
CVSS v3 vector from Ubuntu |
class_name |
Class of the vulnerability (e.g. os, library) |
type |
Type of the vulnerability |
Relationships¶
A TrivyImageFinding affects an ECRImage.
(TrivyImageFinding)-[AFFECTS]->(ECRImage)
Package¶
Representation of a package installed in a container image.
Field |
Description |
---|---|
firstseen |
Timestamp of when a sync job first discovered this node |
lastupdated |
Timestamp of the last time the node was updated |
id |
Unique identifier for the package (format: version |
installed_version |
Version of the installed package |
name |
Name of the package |
version |
Version of the package (same as installed_version) |
class_name |
Class of the package (e.g. os, library) |
type |
Type of the package |
Relationships¶
A Package is deployed in an ECRImage.
(Package)-[DEPLOYED]->(ECRImage)
A Package is affected by a TrivyImageFinding.
(Package)<-[AFFECTS]-(TrivyImageFinding)
TrivyFix¶
Representation of a fix for a vulnerability.
Field |
Description |
---|---|
firstseen |
Timestamp of when a sync job first discovered this node |
lastupdated |
Timestamp of the last time the node was updated |
id |
Unique identifier for the fix (format: version |
version |
Version that fixes the vulnerability |
class_name |
Class of the fix (e.g. os, library) |
type |
Type of the fix |
Relationships¶
A TrivyFix should update a Package.
(TrivyFix)-[SHOULD_UPDATE_TO]->(Package)
A TrivyFix applies to a TrivyImageFinding.
(TrivyFix)-[APPLIES_TO]->(TrivyImageFinding)