mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Merge pull request #10500 from github/aeisenberg/query-spec-path
Update section on query specifiers
This commit is contained in:
@@ -214,6 +214,11 @@ To analyze your database using the `cpp-security-and-quality.qls` query suite fr
|
||||
codeql database analyze --format=sarif-latest --output=results <db> \
|
||||
'codeql/cpp-queries@~0.0.3:codeql-suites/cpp-security-and-quality.qls'
|
||||
|
||||
If you need to reference a query file, directory, or suite whose path contains a literal `@` or `:`, you can prefix the query specification with `path:` like so::
|
||||
|
||||
codeql database analyze --format=sarif-latest --output=results <db> \
|
||||
path:C:/Users/ci/workspace@2/security/query.ql
|
||||
|
||||
For more information about CodeQL packs, see :doc:`About CodeQL Packs <about-codeql-packs>`.
|
||||
|
||||
Running query suites
|
||||
|
||||
Reference in New Issue
Block a user