feat(api): the machine page's overview, CVEs and history (#1026) (#1037)
CI / Check (push) Skipped
CI / Agent integration (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 1m9s
CI / Deploy MCP (push) Successful in 2m54s
CI / Deploy Dashboard (push) Successful in 6m9s
CI / Deploy Agent (push) Successful in 8m35s
CI / Check (push) Skipped
CI / Agent integration (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 1m9s
CI / Deploy MCP (push) Successful in 2m54s
CI / Deploy Dashboard (push) Successful in 6m9s
CI / Deploy Agent (push) Successful in 8m35s
This commit was merged in pull request #1037.
This commit is contained in:
1 parent
90d5c8f8d1
commit
6f42fbd583
6 files changed
+624
-27
No files matched your search
@@ -514,6 +514,21 @@ and the components bought in from suppliers. `GET
|
||||
targets, has no SBOM (422). More than 100,000 components are refused (413),
|
||||
as for one target.
|
||||
|
||||
`GET /api/v1/projects/{id}/overview` shows the machine at a glance. It has
|
||||
each part with its supplier, open CVEs and last scan. Across the parts it
|
||||
gives the open CVEs by severity, the ones nobody has stated anything on yet
|
||||
(and how many of those the supplier states something on), the components
|
||||
(each once, and how many sit in more than one part) and the suppliers'
|
||||
advisories. `GET /api/v1/projects/{id}/cves` lists the machine's open CVEs
|
||||
grouped by component across its parts, with each alert naming its part
|
||||
(`repo_id`). A component in two parts is one group. Whether it affects the
|
||||
machine is still stated per part, because the vulnerable code may be reached
|
||||
in one part and not in the other. `GET /api/v1/projects/{id}/scan-changes`
|
||||
is the machine's history: the last scans of its parts, newest first, each
|
||||
naming its part (`part`) and what it changed, as in a target's history. A
|
||||
supplier's new version shows as its product updated (`from` → `to`) in a
|
||||
part bought in.
|
||||
|
||||
## VEX: the status of each vulnerability
|
||||
|
||||
For each known vulnerability (CVE alert) of a target you state whether the
|
||||
|
||||
Reference in new issue
Block a user