title: Trivy CVE: Target Vulnerability Summary
agents: linux
catalog: app/security
license: GPLv2
distribution: trivy_cve
description:
 This check monitors fixable {CRITICAL} and {HIGH} vulnerabilities found
 by Trivy for a scanned host, container, or filesystem target. It separates
 OS package vulnerabilities ({Class == "os-pkgs"}) from bundled application
 dependency vulnerabilities and lists top fixable CVE examples in the
 service details.

 By default, fixable OS {CRITICAL} CVEs trigger {CRIT} (>= 1) and fixable
 OS {HIGH} CVEs trigger {WARN} (>= 1), while application dependency CVEs
 are tracked as metrics only. All four thresholds can be customized via the
 Setup ruleset {Trivy CVE target vulnerabilities}.

item:
 The target name (derived from the Trivy JSON report filename or
 {summary.json} entry).

discovery:
 One service is created for each target reported in the {trivy_cve} section.
