D5: Customizing Detection
GH-500 GitHub Advanced Security exam practice questions · 10 flashcards
Question
Customizing CodeQL query suites?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Customizing Detection practice questions and answers
- Customizing CodeQL query suites?Choose security-extended or custom packs per language.
- Language-specific analysis?Per-language configuration and queries.
- Model packs?Teach CodeQL about custom frameworks' sources/sinks (data extensions).
- Threat models in CodeQL?Include local sources (e.g. CLI args, env) beyond remote sources.
- Tailoring to risk profile?Stricter suites for internet-facing apps; custom secret patterns for internal tokens.
- Org-wide custom configurations?Security configurations with advanced setup or default setup with extended queries.
- Excluding noisy rules?query-filters to exclude specific rule IDs.
- Variant analysis (MRVA)?Run CodeQL queries across many repos to find variants.
- CodeQL CLI?Create databases and run queries locally/CI.
- Scenario: CodeQL misses flows through in-house web framework. Fix?Add CodeQL model pack defining framework sources/sinks.