feat(api): the machine page's overview, CVEs and history (#1026) #1037

Merged
sharang merged 3 commits from feat/machine-overview into main 2026-11-17 11:57:04 +00:00
3 Commits
Author SHA1 Message Date
Sharang ParnerkarandClaude Opus 5.5 ae3e777228 fix(api): a machine's open CVEs are its parts' together, as each decides alone (#1026)
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Agent integration (pull_request) Successful in 5m8s
CI / Check (pull_request) Successful in 21m27s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
2026-11-17 12:35:08 +01:00
Sharang ParnerkarandClaude Opus 5.5 1f2ccdb336 feat(api): a machine's history, its parts' scans newest first (#1026)
GET /api/v1/projects/{id}/scan-changes merges the last scans of the
machine's parts, newest first, each with its part and what it changed
(new and gone CVEs, components added, updated and removed), as a
target's own history; a target's history moves into a helper both use.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
2026-11-17 12:35:08 +01:00
Sharang ParnerkarandClaude Opus 5.5 0ed4e510b9 feat(api): a machine at a glance, and its open CVEs by component across its parts (#1026)
GET /api/v1/projects/{id}/overview: the machine's parts with their
supplier, open CVEs and last scan; across them the open and undecided
CVEs (and the undecided ones the supplier states something on), the
components each once and how many parts share, and the suppliers'
advisories. GET /api/v1/projects/{id}/cves: the open alerts of all parts,
grouped by component; a component in two parts is one group, its alerts
still decided per part. Both resolve the machine as the SBOM export does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
2026-11-17 12:35:08 +01:00