title: Trivy CVE: Scan Freshness
agents: linux
catalog: app/security
license: GPLv2
distribution: trivy_cve
description:
 This check monitors the age of the most recent Trivy vulnerability scan
 reported by the agent plug-in {mk_trivy_cve}, along with the number of
 scanned targets and the Trivy version.

 Default thresholds are {WARN} at 30 hours and {CRIT} at 54 hours,
 configurable via the Setup ruleset {Trivy CVE Scan freshness}.

discovery:
 One service is created when the {trivy_cve} agent section is present.
