Erste Schritte mit der CodeQL CLI
Du kannst die CodeQL CLI verwenden, um CodeQL-Abfragen lokal für Softwareprojekte zu entwickeln, zu testen und auszuführen.
GitHub CodeQL wird nach der Installation auf Benutzerbasis lizenziert. Du kannst CodeQL nur für bestimmte Aufgaben unter den Lizenzeinschränkungen verwenden. Weitere Informationen findest du unter About the CodeQL CLI.
Wenn du über eine GitHub Advanced Security-Lizenz verfügst, kannst du CodeQL für eine automatisierte Analyse sowie für Continuous Integration und Continuous Delivery verwenden. Weitere Informationen findest du unter Informationen zu GitHub Advanced Security.
About the CodeQL CLI
You can use the CodeQL CLI to run CodeQL processes locally on software projects or to generate code scanning results for upload to GitHub.
Setting up the CodeQL CLI
To get started with the CodeQL CLI, you need to download and set up the CLI so that it can access the tools and libraries required to create and analyze databases.
Preparing your code for CodeQL analysis
You can build a CodeQL database containing the data needed to analyze your code.
Analyzing your code with CodeQL queries
You can run queries against a CodeQL database extracted from a codebase.
Customizing analysis with CodeQL packs
You can use CodeQL packs to run CodeQL queries maintained by other people, or to share CodeQL queries that you've developed.
Uploading CodeQL analysis results to GitHub
You can use the CodeQL CLI to upload CodeQL analysis results to GitHub.