Replace github/codeql with top databases for querying

We initially defined the default database to download as one from the
`github/codeql` repo as it was convenient.

However, this repo doesn't have a lot of vulnerabilities to discover.

Let's use repos that are in our MRVA top 10 list to allow users to
write more interesting queries.
This commit is contained in:
Elena Tanasoiu
2023-03-30 15:42:30 +00:00
parent 121ebc24a6
commit c23b0bf6c8

View File

@@ -22,11 +22,14 @@ export class SkeletonQueryWizard {
private storagePath: string | undefined;
QUERY_LANGUAGE_TO_DATABASE_REPO: QueryLanguagesToDatabaseMap = {
csharp: "github/codeql",
python: "github/codeql",
ruby: "github/codeql",
javascript: "github/codeql",
go: "github/codeql",
cpp: "protocolbuffers/protobuf",
csharp: "dotnet/efcore",
go: "evanw/esbuild",
java: "google/guava",
javascript: "facebook/react",
python: "pallets/flask",
ruby: "rails/rails",
swift: "Alamofire/Alamofire",
};
constructor(