Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add changelog #773

Merged
merged 1 commit into from
Jun 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,21 @@ 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`
- Replace `url` by `reference_url` in the reference list
- /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