Images that were clean at deploy time become vulnerable when new CVEs are published. The cluster should keep scanning what is actually running and expose the results to Prometheus/Grafana.
Enterprise practice: continuous vulnerability management of running workloads, not just at build time.
Steps
Add the trivy-operator Helm chart (pinned version), namespace trivy-system
Homelab-friendly settings: scanJobsConcurrentLimit: 1–2, resource limits on scan jobs
Enable serviceMonitor so kube-prometheus-stack scrapes the metrics
Import a Trivy Operator dashboard into Grafana (provisioned as code via the Grafana sidecar, not clicked)
Make sure the scan jobs comply with the Kyverno policies (or add a documented exception)
Tools
Trivy Operator, Prometheus, Grafana.
Done when
kubectl get vulnerabilityreports -A lists reports for all workloads
Grafana shows CVEs by severity and namespace
Portfolio evidence
Screenshot of the Grafana vulnerability dashboard
Part of the security roadmap. Keep the evidence below for the write-up (README / blog post).
## Why
Images that were clean at deploy time become vulnerable when new CVEs are published. The cluster should keep scanning what is actually running and expose the results to Prometheus/Grafana.
**Enterprise practice:** continuous vulnerability management of running workloads, not just at build time.
## Steps
- [ ] Add the `trivy-operator` Helm chart (pinned version), namespace `trivy-system`
- [ ] Homelab-friendly settings: `scanJobsConcurrentLimit: 1–2`, resource limits on scan jobs
- [ ] Enable `serviceMonitor` so `kube-prometheus-stack` scrapes the metrics
- [ ] Import a Trivy Operator dashboard into Grafana (provisioned as code via the Grafana sidecar, not clicked)
- [ ] Make sure the scan jobs comply with the Kyverno policies (or add a documented exception)
## Tools
Trivy Operator, Prometheus, Grafana.
## Done when
- `kubectl get vulnerabilityreports -A` lists reports for all workloads
- Grafana shows CVEs by severity and namespace
## Portfolio evidence
- [ ] Screenshot of the Grafana vulnerability dashboard
---
_Part of the security roadmap. Keep the evidence below for the write-up (README / blog post)._
claude-botBot
added this to the Security Roadmap 2: Policy as code in Kubernetes milestone 2026-12-03 04:39:33 +01:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Why
Images that were clean at deploy time become vulnerable when new CVEs are published. The cluster should keep scanning what is actually running and expose the results to Prometheus/Grafana.
Enterprise practice: continuous vulnerability management of running workloads, not just at build time.
Steps
trivy-operatorHelm chart (pinned version), namespacetrivy-systemscanJobsConcurrentLimit: 1–2, resource limits on scan jobsserviceMonitorsokube-prometheus-stackscrapes the metricsTools
Trivy Operator, Prometheus, Grafana.
Done when
kubectl get vulnerabilityreports -Alists reports for all workloadsPortfolio evidence
Part of the security roadmap. Keep the evidence below for the write-up (README / blog post).