Interview Prep/DevSecOps/Pipeline Security Scanning

A developer insists a scanner finding is a false positive. What is your process?

BeginnerScenarioPipeline Security Scanning
Answer

Situation read → Both extremes are bad: ignoring all developer claims, and accepting them without evidence.

What I'd do →

  1. Ask the developer to explain why in the PR (data flow, sanitisation, unreachable code).
  2. A security engineer or champion reviews and confirms.
  3. Record the suppression in code with a reason and expiry, for example // nosemgrep: rule-id -- input validated in X, review 2026-03.
  4. Track suppressions in a report so they can be audited.
  5. If a rule is wrong repeatedly, tune or disable the rule centrally.

Why → Suppressions without a reason become hidden vulnerabilities.

Interview tip → Say "suppression needs a reviewer and an expiry date".

All DevSecOps questions Roadmap: Security in the pipeline

More on Pipeline Security Scanning