You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
VulnerabilitiesFromGitHubAdvisories is not a full-fledge DataProvider
The above Data provider does not handle all the PackageManagers. Also, it doesn't recursively parse through all the types of PackageManagers config files
pom.xml for MAVEN
build.gradle for GRADLE
package-lock.json and package.json for NPM
yarn.lock and package.json for YARN
.csproj, .vbproj, .vcxproj, .fsproj, packages.config and .nuspec for DOTNET
Gemfile.lock, Gemfile and .gemspec for RUBYGEMS
composer.json and composer.lock for COMPOSER
Hence, we need to generalize how VulnerabilitiesFromGitHubAdvisories is looking for config files and extracting the project identifier
E.g: ecosystemMAVEN and identifiercom.fasterxml.jackson.core:jackson-databind for GitHub project FasterXML/jackson-databind
Things to do
Recursively find all the possible config files associated with the PackageManagers
Parse through them to get the identifier
Make sure that the recursive search also finds identifiers of its sub-modules and sub-projects
The Data Provider must return all possible advisories for all the identifiers found
The text was updated successfully, but these errors were encountered:
VulnerabilitiesFromGitHubAdvisories
is not a full-fledge DataProviderThe above Data provider does not handle all the
PackageManagers
. Also, it doesn't recursively parse through all the types ofPackageManagers
config filespom.xml
forMAVEN
build.gradle
forGRADLE
package-lock.json
andpackage.json
forNPM
yarn.lock
andpackage.json
forYARN
.csproj
,.vbproj
,.vcxproj
,.fsproj
,packages.config
and.nuspec
forDOTNET
Gemfile.lock
,Gemfile
and.gemspec
forRUBYGEMS
composer.json
andcomposer.lock
forCOMPOSER
Hence, we need to generalize how
VulnerabilitiesFromGitHubAdvisories
is looking for config files and extracting the projectidentifier
E.g:
ecosystem
MAVEN
andidentifier
com.fasterxml.jackson.core:jackson-databind
for GitHub projectFasterXML/jackson-databind
Things to do
PackageManagers
identifier
identifiers
of itssub-modules
andsub-projects
identifiers
foundThe text was updated successfully, but these errors were encountered: