Skip to content

Commit 6debbc0

Browse files
jf205felicitymay
andauthored
Apply suggestions from code review
Co-authored-by: Felicity Chapman <felicitymay@github.com>
1 parent d782e6c commit 6debbc0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/codeql/codeql-cli/getting-started-with-the-codeql-cli.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Conditions <https://securitylab.github.com/tools/codeql/license>`__.
5151
on your use case:
5252

5353
* If you want to use the most up to date CodeQL tools and features, download the version tagged ``latest``.
54-
* If you want to generate code scanning data to upload to GitHub Enterprise server, then download the version that is compatible with the CodeQL CLI used in your CI system. For more information, see "`Installing CodeQL CLI in your CI system <https://docs.github.com/en/enterprise-server@3.6/code-security/code-scanning/using-codeql-code-scanning-with-your-existing-ci-system/installing-codeql-cli-in-your-ci-system#downloading-the-codeql-cli>`__" in the GitHub documentation.
54+
* If you want to generate code scanning data to upload to GitHub Enterprise server, then download the version that is compatible with the CodeQL CLI used in your CI system. For more information, see "`Installing CodeQL CLI in your CI system <https://docs.github.com/en/enterprise-server/code-security/code-scanning/using-codeql-code-scanning-with-your-existing-ci-system/installing-codeql-cli-in-your-ci-system#downloading-the-codeql-cli>`__" in the GitHub documentation.
5555

5656
If you use Linux, Windows, or macOS version 10.14 ("Mojave") or earlier, simply
5757
`download the zip archive

docs/codeql/reusables/download-github-database.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
GitHub stores CodeQL databases for over 200,000 repos on GitHub.com, which you can download using the REST API. The list of repos is constantly growing and evolving to make sure that it includes the most interesting codebases for security research.
22

3-
You can check if a repo has any CodeQL databases available to download using the `/repos/<owner>/<repo>/code-scanning/codeql/databases` endpoint.
3+
You can check if a repository has any CodeQL databases available for download using the ``/repos/<owner>/<repo>/code-scanning/codeql/databases`` endpoint.
44
For example, to check for CodeQL databases using the `GitHub CLI <https://cli.github.com/manual/gh_api>`__ you would run::
55

66
gh api /repos/<owner>/<repo>/code-scanning/codeql/databases/
77

8-
This command will return information about the CodeQL databases that are available for a repository, including the language the database represents, and when the database was last updated. If no CodeQL databases are available, the response will be empty.
8+
This command returns information about any CodeQL databases that are available for a repository, including the language the database represents, and when the database was last updated. If no CodeQL databases are available, the response is empty.
99

1010
When you have confirmed that a CodeQL database exists for the language you are interested in, you can download it using the following command::
1111

0 commit comments

Comments
 (0)