Flashcardsfor IT Certifications

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.

Last updated: · Report an error on this page

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