File tree Expand file tree Collapse file tree 2 files changed +24
-10
lines changed
vulnerablecode/static/api_doc Expand file tree Collapse file tree 2 files changed +24
-10
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,21 @@ Version v30.0.0
1919
2020- Add support for nix as a Linux deployment target.
2121
22- - Lookup vulnerabilities from CPE
22+ - Lookup vulnerabilities from CPE through API
23+
24+ - Breaking Changes at API level
25+ - /api/vulnerabilities
26+ - Replace `resolved_packages ` by `fixed_packages `
27+ - Replace `unresolved_packages ` by `affected_packages `
28+ - Replace `url ` by `reference_url ` in the reference list
29+ - /api/packages
30+ - Replace `unresolved_vulnerabilities ` by `affected_by_vulnerabilities `
31+ - Replace `resolved_vulnerabilities ` by `fixing_vulnerabilities `
32+ - Replace `url ` by `reference_url ` in the reference list
33+
34+ - Add alias to the /api/vulnerabilities
35+
36+ - Lookup vulnerabilities from aliases
2337
2438
2539
Original file line number Diff line number Diff line change @@ -262,12 +262,12 @@ components:
262262 type : string
263263 format : uri
264264 readOnly : true
265- unresolved_vulnerabilities :
265+ affected_by_vulnerabilities :
266266 type : array
267267 items :
268268 $ref : ' #/components/schemas/MinimalVulnerability'
269269 readOnly : true
270- resolved_vulnerabilities :
270+ fixing_vulnerabilities :
271271 type : array
272272 items :
273273 $ref : ' #/components/schemas/MinimalVulnerability'
@@ -306,10 +306,10 @@ components:
306306 - name
307307 - namespace
308308 - purl
309- - resolved_vulnerabilities
309+ - fixing_vulnerabilities
310310 - subpath
311311 - type
312- - unresolved_vulnerabilities
312+ - affected_by_vulnerabilities
313313 - url
314314 - version
315315 PaginatedPackageList :
@@ -374,12 +374,12 @@ components:
374374 type : string
375375 format : uri
376376 readOnly : true
377- resolved_packages :
377+ fixed_packages :
378378 type : array
379379 items :
380380 $ref : ' #/components/schemas/MinimalPackage'
381381 readOnly : true
382- unresolved_packages :
382+ affected_packages :
383383 type : array
384384 items :
385385 $ref : ' #/components/schemas/MinimalPackage'
@@ -407,8 +407,8 @@ components:
407407 description : Summary of the vulnerability
408408 required :
409409 - references
410- - resolved_packages
411- - unresolved_packages
410+ - fixed_packages
411+ - affected_packages
412412 - url
413413 - vulnerability_id
414414 VulnerabilityReference :
@@ -418,7 +418,7 @@ components:
418418 type : string
419419 description : Reference ID, eg:DSA-4465-1
420420 maxLength : 50
421- url :
421+ reference_url :
422422 type : string
423423 format : uri
424424 description : URL of Vulnerability data
You can’t perform that action at this time.
0 commit comments