This version of GitHub Enterprise was discontinued on 2023-07-06. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise. For help with the upgrade, contact GitHub Enterprise support.
Use the CodeQL CLI to secure your code
Use CodeQL CLI to run CodeQL analyses locally.
GitHub CodeQL is licensed on a per-user basis upon installation. You can use CodeQL only for certain tasks under the license restrictions. For more information, see "About the CodeQL CLI."
If you have a GitHub Advanced Security license, you can use CodeQL for automated analysis, continuous integration, and continuous delivery. For more information, see "About GitHub Advanced Security."
- Using the CodeQL CLI
- About the CodeQL CLI
- Getting started with the CodeQL CLI
- Creating CodeQL databases
- Extractor options
- Analyzing databases with the CodeQL CLI
- Using custom queries with the CodeQL CLI
- Creating CodeQL query suites
- Testing query help files
- Specifying command options in a CodeQL configuration file
- CodeQL CLI reference
- CodeQL CLI commands manual
- bqrs decode
- bqrs diff
- bqrs hash
- bqrs info
- bqrs interpret
- database add-diagnostic
- database analyze
- database bundle
- database cleanup
- database create
- database export-diagnostics
- database finalize
- database import
- database index-files
- database init
- database interpret-results
- database print-baseline
- database run-queries
- database trace-command
- database unbundle
- database upgrade
- dataset check
- dataset cleanup
- dataset import
- dataset measure
- dataset upgrade
- diagnostic add
- diagnostic export
- execute cli-server
- execute language-server
- execute queries
- execute query-server
- execute query-server2
- execute upgrades
- generate log-summary
- generate query-help
- github upload-results
- pack add
- pack bundle
- pack ci
- pack create
- pack download
- pack init
- pack install
- pack ls
- pack packlist
- pack publish
- pack resolve-dependencies
- pack upgrade
- query compile
- query decompile
- query format
- query run
- resolve database
- resolve extensions
- resolve extensions-by-pack
- resolve extractor
- resolve files
- resolve languages
- resolve library-path
- resolve metadata
- resolve ml-models
- resolve qlpacks
- resolve qlref
- resolve queries
- resolve ram
- resolve tests
- resolve upgrades
- test accept
- test extract
- test run
- version