# API endpoint (and webhook) for server insights, including CVE findings

**Project:** API | **Votes:** 1
**URL:** https://roadmap.ploi.io/projects/6-api-level-requests/items/1684-api-endpoint-and-webhook-for-server-insights-including-cve-findings

---

Please expose server insights in the API, especially the new CVE insight. We sync Ploi into our internal dashboard and want to show each site's vulnerabilities to our project managers.

Read-only would be enough:

- GET /api/servers/{server}/insights, or a per-site endpoint. For each CVE finding: package, installed version, CVE/advisory ID, severity, fixed versions, link, status (open or fixed), last checked.
- Optional: a webhook when a new insight appears, so we don't have to poll.

Existing "Read servers" / "Read sites" scopes would be fine.
