You can use the CodeQL CLI to locally develop, test and run CodeQL queries on software projects.
CodeQL is available for the following repository types:
You can output SARIF from the CodeQL CLI and share static analysis results with other systems.
Understand CSV results from the CodeQL CLI.
Understand the compatibility, contents, and structure of CodeQL packs.
Control how the CodeQL CLI builds databases for analysis with extractor options.
Exit codes signify the status of a command after the CodeQL CLI runs it.
All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.
Make a contribution