Interview Prep/DevSecOps/Pipeline Security Scanning

A SAST tool reports 2,000 findings on a legacy repo the first time you run it. How do you introduce it without freezing delivery?

IntermediateScenarioPipeline Security Scanning
Answer

Situation read → Blocking on 2,000 old findings guarantees the tool gets switched off.

What I'd do →

  1. Baseline: record current findings as accepted debt (semgrep ci baseline commit, or CodeQL "new alerts only" on PRs).
  2. Gate only on new findings of High/Critical severity.
  3. Triage the baseline by exploitability: injection, auth and crypto first, style issues last.
  4. Create a burn-down target per sprint, owned by the team that owns the code.
  5. Turn off noisy rules with written justification.

Why → You stop the bleeding first, then pay down debt at a rate the team can sustain.

Interview tip → "Block new, burn down old" is the phrase interviewers like.

All DevSecOps questions Roadmap: Security in the pipeline

More on Pipeline Security Scanning