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 Enterprise account and GitHub Advanced Security license, you can use CodeQL for automated analysis, continuous integration and continuous delivery. You can create an enterprise account by contacting the sales team. 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 custom queries
- Testing query help files
- Creating and working with CodeQL packs
- Publishing and using CodeQL packs
- 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 analyze
- database bundle
- database cleanup
- database create
- 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
- 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 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