D4: CodeQL Concepts
GH-500 GitHub Advanced Security exam practice questions · 10 flashcards
Question
CodeQL database?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 CodeQL Concepts practice questions and answers
- CodeQL database?Relational representation of code extracted during build/analysis.
- QL language?Declarative, object-oriented query language for CodeQL.
- Sources and sinks?Sources: untrusted input; sinks: dangerous operations; taint tracking connects them.
- Sanitizers?Functions that make data safe, breaking taint flow.
- Supported languages?C/C++, C#, Go, Java/Kotlin, JavaScript/TypeScript, Python, Ruby, Swift, Rust, GitHub Actions workflows.
- Interpreted vs compiled extraction?Interpreted languages analyzed without build; compiled need build (or buildless modes).
- CodeQL packs?Versioned bundles of queries/libraries/models.
- VS Code CodeQL extension?Write and run queries locally against databases.
- Query metadata?@kind, @severity, @security-severity, @precision, @id, @tags.
- Scenario: find all paths from HTTP params to SQL calls. CodeQL approach?Taint-tracking query with sources = request params, sinks = SQL execution.