Skip to content

Commit 70b1db3

Browse files
authored
Merge pull request #105 from ruromero/tc-4318
feat(api): add cves query parameter to v5 analysis endpoints
2 parents abf79f0 + 0ca8265 commit 70b1db3

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

api/v5/openapi.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@ paths:
4141
type: boolean
4242
default: true
4343
example: true
44+
- name: cves
45+
in: query
46+
description: Comma-separated list of CVE IDs to filter the report. When provided, only matching CVEs are included. Defaults to all CVEs found.
47+
required: false
48+
schema:
49+
type: string
50+
example: CVE-2026-1234,CVE-2026-5678
4451
requestBody:
4552
required: true
4653
description: Dependency graph in SBOM format
@@ -107,6 +114,13 @@ paths:
107114
type: boolean
108115
default: true
109116
example: true
117+
- name: cves
118+
in: query
119+
description: Comma-separated list of CVE IDs to filter the report. When provided, only matching CVEs are included. Defaults to all CVEs found.
120+
required: false
121+
schema:
122+
type: string
123+
example: CVE-2026-1234,CVE-2026-5678
110124
requestBody:
111125
required: true
112126
description: A dictionary of package URLs to dependency graphs in SBOM format

0 commit comments

Comments
 (0)