Skip to content

Commit

Permalink
Add changelog
Browse files Browse the repository at this point in the history
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
  • Loading branch information
TG1999 committed Jun 17, 2022
1 parent b5caea3 commit e175237
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 10 deletions.
15 changes: 14 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,20 @@ Version v30.0.0

- Add support for nix as a Linux deployment target.

- Lookup vulnerabilities from CPE
- Lookup vulnerabilities from CPE through API

- Breaking Changes at API level
- /api/vulnerabilities
- Replace `resolved_packages` by `fixed_packages`
- Replace `unresolved_packages` by `affected_packages`
- /api/packages
- Replace `unresolved_vulnerabilities` by `affected_by_vulnerabilities`
- Replace `resolved_vulnerabilities` by `fixing_vulnerabilities`
- Replace `url` by `reference_url` in the reference list

- Add alias to the /api/vulnerabilities

- Lookup vulnerabilities from aliases



Expand Down
18 changes: 9 additions & 9 deletions vulnerablecode/static/api_doc/api_schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -262,12 +262,12 @@ components:
type: string
format: uri
readOnly: true
unresolved_vulnerabilities:
affected_by_vulnerabilities:
type: array
items:
$ref: '#/components/schemas/MinimalVulnerability'
readOnly: true
resolved_vulnerabilities:
fixing_vulnerabilities:
type: array
items:
$ref: '#/components/schemas/MinimalVulnerability'
Expand Down Expand Up @@ -306,10 +306,10 @@ components:
- name
- namespace
- purl
- resolved_vulnerabilities
- fixing_vulnerabilities
- subpath
- type
- unresolved_vulnerabilities
- affected_by_vulnerabilities
- url
- version
PaginatedPackageList:
Expand Down Expand Up @@ -374,12 +374,12 @@ components:
type: string
format: uri
readOnly: true
resolved_packages:
fixed_packages:
type: array
items:
$ref: '#/components/schemas/MinimalPackage'
readOnly: true
unresolved_packages:
affected_packages:
type: array
items:
$ref: '#/components/schemas/MinimalPackage'
Expand Down Expand Up @@ -407,8 +407,8 @@ components:
description: Summary of the vulnerability
required:
- references
- resolved_packages
- unresolved_packages
- fixed_packages
- affected_packages
- url
- vulnerability_id
VulnerabilityReference:
Expand All @@ -418,7 +418,7 @@ components:
type: string
description: Reference ID, eg:DSA-4465-1
maxLength: 50
url:
reference_url:
type: string
format: uri
description: URL of Vulnerability data
Expand Down

0 comments on commit e175237

Please sign in to comment.