Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit de573a3

Browse files
committed
Use 'query suites' instead of 'code scanning suites'.
1 parent 77f481d commit de573a3

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

docs/codeql/codeql-cli/analyzing-databases-with-the-codeql-cli.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,10 @@ Afterwards, you can run the pack on a specific database:
128128
The ``analyze`` command above runs the default suite from ``microsoft/coding-standards v1.0.0`` and the latest version of ``scope/other-pack`` on the specified database.
129129
For further information about default suites, see ":ref:`Publishing and using CodeQL packs <publishing-and-using-codeql-packs>`".
130130

131-
Running GitHub code scanning suites
132-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131+
Running query suites
132+
~~~~~~~~~~~~~~~~~~~~
133133

134-
To run the GitHub code scanning suite of queries over a CodeQL database for a C/C++ codebase,
134+
To run a query suite over a CodeQL database for a C/C++ codebase,
135135
you could use the following command from the directory containing your database::
136136

137137
codeql database analyze <cpp-database> cpp-code-scanning.qls --format=sarifv2.1.0 --output=cpp-results.sarif
@@ -143,7 +143,7 @@ or `Code scanning API <https://docs.github.com/en/rest/reference/code-scanning>`
143143

144144
CodeQL query suites are ``.qls`` files that use directives to select queries to run
145145
based on certain metadata properties. The standard QL packs have metadata that specify
146-
the location of the code scanning suites, so the CodeQL CLI knows where to find these
146+
the location of the query suites, so the CodeQL CLI knows where to find these
147147
suite files automatically, and you don't have to specify the full path on the command line.
148148
For more information, see ":ref:`About QL packs <standard-ql-packs>`."
149149

@@ -157,7 +157,7 @@ and at the following path in the CodeQL for Go repository::
157157
ql/src/codeql-suites/go-code-scanning.qls
158158

159159
The repository also includes the query suites used by `LGTM.com <https://lgtm.com>`__.
160-
These are stored alongside the code scanning suites with names of the form: ``<language>-lgtm.qls``.
160+
These are stored alongside the query suites with names of the form: ``<language>-lgtm.qls``.
161161

162162
For information about creating custom query suites, see ":doc:`Creating
163163
CodeQL query suites <creating-codeql-query-suites>`."

0 commit comments

Comments
 (0)