CodeQL documentation

CodeQL query help

View the query help for the queries included in the code-scanning, security-extended, and security-and-quality query suites for the languages supported by CodeQL.


Each query help article includes:

  • A summary of key metadata for the query.

  • Information about which query suites the query is included in.

  • A link to the query in the CodeQL repository.

  • A description of the potential vulnerability that the query identifies and a recommendation for how to avoid introducing the problem to your code.

For a full list of the CWEs covered by these queries, see “CodeQL CWE coverage.”


CodeQL analysis for Ruby is currently in beta. During the beta, analysis of Ruby code, and the accompanying documentation, will not be as comprehensive as for other languages.

  • © GitHub, Inc.
  • Terms
  • Privacy