Skip to main content
We publish frequent updates to our documentation, and translation of this page may still be in progress. For the most current information, please visit the English documentation.

CodeQL CLI reference

You can learn how to use CodeQL workspaces and CodeQL packs and how to understand the output of CodeQL commands.

O CodeQL do GitHub é licenciado por usuário após a instalação. Você pode usar o CodeQL somente para determinadas tarefas sob as restrições de licença. Para obter mais informações, confira "Sobre a licença do CodeQL do GitHub".

Se você tiver uma conta do GitHub Enterprise e uma licença do GitHub Advanced Security, poderá usar o CodeQL para análise automatizada, integração contínua e entrega contínua. Você pode criar uma conta corporativa entrando em contato com a equipe de vendas. Para obter mais informações, confira "Sobre o GitHub Advanced Security".

  • About CodeQL packs

    You can use CodeQL packs to run CodeQL queries maintained by other people, or to share CodeQL queries that you've developed.

  • About CodeQL workspaces

    CodeQL workspaces allow you to develop and maintain a group of CodeQL packs that depend on each other.

  • Query reference files

    You can use query reference files to define the location of a query you want to run in tests.

  • CodeQL CLI SARIF output

    You can output SARIF from the CodeQL CLI and share static analysis results with other systems.

  • Exit codes

    Exit codes signify the status of a command after the CodeQL CLI runs it.