Skip to content

Support importing databases directly from github #1123

@aeisenberg

Description

@aeisenberg

For github repositories that save a copy of their databases, the extension should have a command that downloads and installs the database, similar to how we do it for LGTM databases.

There is already an API endpoint available:

gh api /repos/{owner}/{repo}/code-scanning/codeql/databases/<lang>

Is there a way to determine which database languages are available for any given repo before downloading?

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions