D4: Code Scanning Approaches & SARIF
GH-500 GitHub Advanced Security exam practice questions · 10 flashcards
Question
Code scanning?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Code Scanning Approaches & SARIF practice questions and answers
- Code scanning?Static analysis to find vulnerabilities and errors, surfaced as alerts.
- CodeQL?GitHub's semantic analysis engine treating code as data queried with QL.
- Third-party tools?Any SAST tool producing SARIF can upload results.
- Choosing CodeQL vs third-party?CodeQL for supported languages and deep dataflow; third-party for unsupported languages or existing investments.
- SARIF?Static Analysis Results Interchange Format (JSON) v2.1.0.
- Uploading SARIF?github/codeql-action/upload-sarif in Actions or REST API.
- SARIF categories?Distinguish multiple analyses of same tool/repo (category property).
- SARIF limits?File size and results limits (e.g. 10 MB gzip, 25,000 results per run).
- Fingerprints in SARIF?Used to track alerts across runs.
- Scenario: use existing Checkmarx results in GitHub. Method?Upload SARIF to code scanning.