Interview Prep/DevSecOps/Metrics, Developer Experience & Tool Selection

How do you choose a SAST tool for production use?

IntermediateProductionMetrics, Developer Experience & Tool Selection
Answer
Tool Good at Watch out for
Semgrep Fast, easy custom rules, good PR experience Cross-file analysis needs the commercial tier
CodeQL Deep dataflow and taint analysis Slower, needs a build for compiled languages, free mainly for public repos (GitHub Advanced Security otherwise)
SonarQube Code quality plus security hotspots, widely known Security depth varies by language and edition
Commercial (Checkmarx, Veracode, Snyk Code) Broad language coverage, support Cost, sometimes slow scans

Criteria we test in a POC: language coverage, true-positive rate on our own code, scan time on our largest repo, ease of custom rules, and PR integration.

All DevSecOps questions

More on Metrics, Developer Experience & Tool Selection