Skip to content

Commit 3b9ac00

Browse files
keshav-spacemichaelehab
authored andcommitted
Support cargo and pub in Snyk
Signed-off-by: Keshav Priyadarshi <git@keshav.space> Signed-off-by: Michael Ehab Mikhail <michael.ehab@hotmail.com>
1 parent 981b9f9 commit 3b9ac00

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

vulntotal/datasources/snyk.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ def datasource_advisory_from_cve(self, cve: str) -> Iterable[VendorData]:
110110
@classmethod
111111
def supported_ecosystem(cls):
112112
return {
113+
"cargo": "cargo",
113114
"cocoapods": "cocoapods",
114115
"composer": "composer",
115116
"golang": "golang",
@@ -118,6 +119,7 @@ def supported_ecosystem(cls):
118119
"maven": "maven",
119120
"npm": "npm",
120121
"nuget": "nuget",
122+
"pub": "pub",
121123
"pypi": "pip",
122124
"gem": "rubygems",
123125
# any purl.type not in supported_ecosystem shall implicitly be treated as unmanaged type

0 commit comments

Comments
 (0)