diff --git a/docs/codeql/codeql-cli/analyzing-databases-with-the-codeql-cli.rst b/docs/codeql/codeql-cli/analyzing-databases-with-the-codeql-cli.rst index 6e1a76c8c0e..46b3dde4e12 100644 --- a/docs/codeql/codeql-cli/analyzing-databases-with-the-codeql-cli.rst +++ b/docs/codeql/codeql-cli/analyzing-databases-with-the-codeql-cli.rst @@ -59,7 +59,7 @@ You can also specify: - a path to a query suite file - the name of a CodeQL query pack If omitted, the default query suite for the language - of the database being analyzed will be usedFor more information, see the + of the database being analyzed will be used. For more information, see the :ref:`examples ` below. - ``--sarif-category``: an identifying category for the results. Used when @@ -130,7 +130,7 @@ Running a CodeQL pack To run an existing CodeQL query pack from the GitHub Container registry, you can specify one or more pack names and use the ``--download`` flag:: - codeql database analyze microsoft/coding-standards@1.0.0 github/secutiry-queries --format=sarifv2.1.0 --output=query-results.sarif --download + codeql database analyze microsoft/coding-standards@1.0.0 github/security-queries --format=sarifv2.1.0 --output=query-results.sarif --download The ``analyze`` command above runs the default suite from ``microsoft/coding-standards v1.0.0`` and the latest version of ``github/secutiry-queries`` on the specified database. For further information about default suites, see ":ref:`Publishing and using CodeQL packs `". @@ -183,7 +183,7 @@ Integrating a CodeQL pack into a code scanning workflow in GitHub .. include:: ../reusables/beta-note-package-management.rst -You can use CodeQL query packs in your Code Scanning setup. This allows you to select query packs published by various sources and use them to analyze your code. +You can use CodeQL query packs in your code scanning setup. This allows you to select query packs published by various sources and use them to analyze your code. For more information, see "`Using CodeQL query packs in the CodeQL action `_" or "`Downloading and using CodeQL query packs in your CI system `_." diff --git a/docs/codeql/codeql-cli/getting-started-with-the-codeql-cli.rst b/docs/codeql/codeql-cli/getting-started-with-the-codeql-cli.rst index 483f4eb6f89..de8566c32c6 100644 --- a/docs/codeql/codeql-cli/getting-started-with-the-codeql-cli.rst +++ b/docs/codeql/codeql-cli/getting-started-with-the-codeql-cli.rst @@ -143,7 +143,7 @@ up to create and analyze databases: - Run ``codeql resolve languages`` to show which languages are available for database creation. This will list the languages supported by default in your CodeQL CLI package. -- (Optional) You can download some ":ref`CodeQL packs `" containing pre-compiled queries you would like to run. +- (Optional) You can download some ":ref:`CodeQL packs `" containing pre-compiled queries you would like to run. To do this, run ``codeql pack download [...pack-name]``, where ``pack-name`` is the name of the pack you want to download. The core query packs are a good place to start. They are: