Skip to content

Commit

Permalink
feat(Osv): Handle Conan packages
Browse files Browse the repository at this point in the history
This relates to #6536.

Signed-off-by: Sebastian Schuberth <[email protected]>
  • Loading branch information
sschuberth committed Feb 22, 2023
1 parent f7d6a31 commit 19c89ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions advisor/src/main/kotlin/advisors/Osv.kt
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ private fun createRequest(pkg: Package): VulnerabilitiesForPackageRequest? {
val ecosystem = when (pkg.id.type) {
"Bower" -> null
"Composer" -> Ecosystem.PACKAGIST
"Conan" -> Ecosystem.CONAN_CENTER
"Crate" -> Ecosystem.CRATES_IO
"Gem" -> Ecosystem.RUBY_GEMS
"Go" -> Ecosystem.GO
Expand Down

0 comments on commit 19c89ff

Please sign in to comment.