Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
trivy-epss-kev-exporter
command
Command trivy-epss-kev-exporter is a read-only Prometheus exporter that enriches Trivy Operator VulnerabilityReport CVEs with EPSS scores and CISA KEV presence.
|
Command trivy-epss-kev-exporter is a read-only Prometheus exporter that enriches Trivy Operator VulnerabilityReport CVEs with EPSS scores and CISA KEV presence. |
|
internal
|
|
|
app
Package app wires the pure layers to the cluster layer: it owns the live EPSS/KEV snapshots, the reconcile function (enrich → metrics), the two feed refreshers, and the readiness signal.
|
Package app wires the pure layers to the cluster layer: it owns the live EPSS/KEV snapshots, the reconcile function (enrich → metrics), the two feed refreshers, and the readiness signal. |
|
controller
Package controller is the Kubernetes-facing layer: it watches VulnerabilityReport CRDs with a client-go SharedInformer, resolves workload ownership (incl.
|
Package controller is the Kubernetes-facing layer: it watches VulnerabilityReport CRDs with a client-go SharedInformer, resolves workload ownership (incl. |
|
enrich
Package enrich is the PURE core of the exporter: given a parsed VulnerabilityReport and the current EPSS/KEV snapshots, it produces the exact set of metric series (label-tuples + values) the report should contribute.
|
Package enrich is the PURE core of the exporter: given a parsed VulnerabilityReport and the current EPSS/KEV snapshots, it produces the exact set of metric series (label-tuples + values) the report should contribute. |
|
epss
Package epss loads and parses the FIRST/EPSS bulk score feed.
|
Package epss loads and parses the FIRST/EPSS bulk score feed. |
|
feeds
Package feeds runs the periodic refresh of a single bulk feed (EPSS or KEV).
|
Package feeds runs the periodic refresh of a single bulk feed (EPSS or KEV). |
|
kev
Package kev loads and parses the CISA Known Exploited Vulnerabilities feed.
|
Package kev loads and parses the CISA Known Exploited Vulnerabilities feed. |
|
metrics
Package metrics owns the Prometheus registry, the stable vuln gauges, the operability self-metrics, and the per-report series bookkeeping that gives the "replace, not upsert" lifecycle from CLAUDE.md.
|
Package metrics owns the Prometheus registry, the stable vuln gauges, the operability self-metrics, and the per-report series bookkeeping that gives the "replace, not upsert" lifecycle from CLAUDE.md. |
|
report
Package report holds a MINIMAL local view of the Trivy Operator VulnerabilityReport CRD — only the fields this read-only exporter consumes.
|
Package report holds a MINIMAL local view of the Trivy Operator VulnerabilityReport CRD — only the fields this read-only exporter consumes. |
|
server
Package server exposes the exporter's HTTP surface: /metrics (Prometheus), /healthz (liveness), and /readyz (readiness).
|
Package server exposes the exporter's HTTP surface: /metrics (Prometheus), /healthz (liveness), and /readyz (readiness). |
Click to show internal directories.
Click to hide internal directories.