CURRICULUM PREVIEWRevision 1 · Open for reviewReview the full course
CONNECTING THE PIECES8 min read

SAST

Inspect source and build artifacts before deployment.

Before you beginasvs

The idea

Static application security testing analyzes code or artifacts without exercising a live application. It can detect suspicious data flows and insecure API usage, but it needs context and triage. Add rules and dependency checks to CI, assign an owner, and validate findings with a minimal reproduction.

Follow the flow

Make it concrete

This excerpt isolates the concept. Connect it to the booking API as you work through the exercise.

Focused example
text
Source revision → SAST scan → finding triage
Finding: user input reaches SQL concatenation
Fix: parameter binding
Verification: regression test + clean rescan

Decisions that matter

  • Choose a control against a concrete risk and document its owner.
  • Exercise negative cases in authorized test fixtures.
  • Retain evidence at a specific revision and revisit it when the system changes.

Your turn

A scanner reports a false positive in a tenant-safe query. How should the suppression be recorded?

Reveal a worked answer

Document the code location, rule, analysis of the data flow, evidence, owner, and review condition. Scope the suppression narrowly and reconsider it after changes; do not disable the entire rule to quiet one result.

Keep exploring

One more piece connected.

Mark this lesson complete when you can explain the idea.