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

feat: compat update with 1.62 #16

Merged
merged 1 commit into from
Mar 1, 2024
Merged
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
10 changes: 8 additions & 2 deletions src/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ pub enum Ecosystem {
Bitnami,
CRAN,
Bioconductor,
SwiftURL

SwiftURL,
Ubuntu,
}

/// Type of the affected range supplied. This can be an ecosystem
Expand Down Expand Up @@ -290,6 +290,12 @@ pub enum SeverityType {
#[serde(rename = "UNSPECIFIED")]
Unspecified,

/// A CVSS vector string representing the unique characterictics and severity of the vulnerability
/// using a version on the [Common Vulnerability Scoring System notation](https://www.first.org/cvss/)
/// that is >= 4.0 and < 5.0 (e.g. `"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"`).
#[serde(rename = "CVSS_V4")]
CVSSv4,

/// A CVSS vector string representing the unique characteristics and severity of the
/// vulnerability using a version of the Common Vulnerability Scoring System notation that is
/// >= 3.0 and < 4.0 (e.g.`"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N"`).
Expand Down
Loading