You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- ``...<query-specifiers>``: a list of queries to run over your database. This
60
-
is a list of arguments. Where each argument can be:
59
+
- ``<query-specifiers>...``: a spece-separated list of queries to run over your database. This
60
+
is a list of arguments, where each argument can be:
61
61
62
62
- a path to a query file
63
63
- a path to a directory containing query files
@@ -99,14 +99,13 @@ You can also specify:
99
99
For full details of all the options you can use when analyzing databases, see
100
100
the `database analyze reference documentation <../manual/database-analyze>`__.
101
101
102
-
.. _database-analyze-examples:
103
102
104
103
.. _specifying-which-queries:
105
104
106
105
Specifying which queries to run in a CodeQL pack
107
106
------------------------------------------------
108
107
109
-
*Query specifiers* are used by ``codeql database analyze`` and other commands that operate on a set of queries.
108
+
Query specifiers are used by ``codeql database analyze`` and other commands that operate on a set of queries.
110
109
The complete way to specify a set of queries is in the form ``scope/name@range:path``, where:
111
110
112
111
- ``scope/name`` is the qualified name of a CodeQL pack.
@@ -129,7 +128,7 @@ be absolute. It is considered relative to the root of the CodeQL
129
128
pack.
130
129
131
130
Example query specifiers
132
-
------------------------
131
+
~~~~~~~~~~~~~~~~~~~~~~~~
133
132
134
133
* ``codeql/python-queries`` - All the queries in the default query suite of the latest version of the ``codeql/python-queries`` pack.
135
134
* ``codeql/python-queries@1.2.3`` - All the queries in the default query suite of version ``1.2.3`` of the ``codeql/python-queries`` pack.
@@ -243,10 +242,8 @@ Query suites in the core CodeQL query packs are all stored in the ``codeql-suite
243
242
* ``cpp-code-scanning.qls`` - Standard Code Scanning queries for C++.
244
243
* ``cpp-security-and-quality`` - Security-and-quality queries for C++.
245
244
* ``cpp-security-extended`` - Security-extended queries for C++. This suite contains queries that are less precise than the standard security queries, and may find more false-positives.
246
-
* ``cpp-lgtm.qls`` - Standard LGTM queries for C++.
247
-
* ``cpp-lgtm-full.qls`` - Standard LGTM queries for C++, including less precise queries.
248
245
249
-
You can see the sources for these query suites in the `CodeQL repository <https://github.com/github/codeql/tree/main/cpp/ql/src/codeql-suites>`. Query suites for other languages are similar.
246
+
You can see the sources for these query suites in the `CodeQL repository <https://github.com/github/codeql/tree/main/cpp/ql/src/codeql-suites>`__. Query suites for other languages are similar.
250
247
251
248
For information about creating custom query suites, see ":doc:`Creating
0 commit comments