Skip to content

Commit

Permalink
TC-2239 OSV GHSA - Ecosystem NuGet (Microsoft)
Browse files Browse the repository at this point in the history
Signed-off-by: mrizzi <[email protected]>
  • Loading branch information
mrizzi committed Feb 7, 2025
1 parent f947211 commit 07cf003
Show file tree
Hide file tree
Showing 6 changed files with 708 additions and 3 deletions.
5 changes: 3 additions & 2 deletions entity/src/version_scheme.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ use serde::{Deserialize, Serialize};
#[sea_orm(
rs_type = "String",
db_type = "String(StringLen::None)",
rename_all = "camelCase"
rename_all = "lowercase"
)]
#[strum(serialize_all = "camelCase")]
#[strum(serialize_all = "lowercase")]
pub enum VersionScheme {
Generic,
Git,
Expand All @@ -30,4 +30,5 @@ pub enum VersionScheme {
Golang,
Npm,
Packagist,
NuGet,
}
7 changes: 7 additions & 0 deletions etc/test-data/cyclonedx/ghsa_test.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,13 @@
"version": "4.2.2",
"description": "1 vulnerability",
"purl": "pkg:composer/typo3/[email protected]"
},
{
"type": "library",
"name": "Microsoft.NETCore.App.Runtime.win-x86",
"version": "3.1.11",
"description": "1 vulnerability",
"purl": "pkg:nuget/[email protected]"
}
]
}
Loading

0 comments on commit 07cf003

Please sign in to comment.