/api/v1/privacy/vendors/{id}/cveGet CVEs for a vendor
Polls NIST NVD (`services.nvd.nist.gov/rest/json/cves/2.0`) with a keyword search on the vendor's name and returns up to 20 recent CVEs as { id, severity, score, published, summary, url }. Requires an orgId (query, body or API key; 400 MISSING_ORG_ID) and the vendor must belong to it (404 otherwise). `?windowDays` defaults to 90 and is clamped to 1..365; results are cached for 1 hour on the vendor row (`certifications.cve_cache`) and `?noCache=1` forces a refetch. Never raises on NVD downtime or an 8-second timeout — it returns `count: 0` with an `error` string so the dashboard widget keeps rendering. NVD only; no CISA KEV feed is consulted.
Authentication
Send Authorization: Bearer YOUR_API_KEY on every request. Generate API keys at /dashboard/settings/api-keys.
Parameters
id in pathrequiredstringResponse
200 example
{
"success": true
}All status codes
Code samples
cURL
# {id} is shown with an EXAMPLE value — replace it with real values.
curl -X GET \
https://evalguard.ai/api/v1/privacy/vendors/00000000-0000-0000-0000-000000000000/cve \
-H "Authorization: Bearer $EVALGUARD_API_KEY"TypeScript
// The TypeScript SDK (@evalguard/sdk) exposes TYPED methods — runEval,
// getEval, runSecurityScan, checkFirewall, … — not a generic request().
// For an arbitrary endpoint, call it directly:
// {id} is shown with an EXAMPLE value — replace it with real values.
const res = await fetch("https://evalguard.ai/api/v1/privacy/vendors/00000000-0000-0000-0000-000000000000/cve", {
method: "GET",
headers: { Authorization: `Bearer ${process.env.EVALGUARD_API_KEY}` },
});
console.log(res.status, await res.json());Python
# The Python SDK (pip install evalguardai) exposes TYPED methods on
# EvalGuardClient — run_eval, get_eval, … — not a generic request().
# For an arbitrary endpoint, call it directly:
# {id} is shown with an EXAMPLE value — replace it with real values.
import os
import requests
headers = {"Authorization": f"Bearer {os.environ['EVALGUARD_API_KEY']}"}
response = requests.request("GET", "https://evalguard.ai/api/v1/privacy/vendors/00000000-0000-0000-0000-000000000000/cve", headers=headers)
print(response.status_code, response.json())Go
package main
import (
"context"
"fmt"
"net/http"
"os"
)
// {id} is shown with an EXAMPLE value — replace it with real values.
func main() {
req, _ := http.NewRequestWithContext(context.Background(), "GET", "https://evalguard.ai/api/v1/privacy/vendors/00000000-0000-0000-0000-000000000000/cve", nil)
req.Header.Set("Authorization", "Bearer "+os.Getenv("EVALGUARD_API_KEY"))
resp, err := http.DefaultClient.Do(req)
if err != nil { panic(err) }
defer resp.Body.Close()
fmt.Println(resp.Status)
}