A team writes Python, Go and Java. Which SAST tools do you pick and why?
BeginnerScenarioPipeline Security Scanning
Answer
Situation read → Prefer one multi-language tool plus language-specific depth where it pays off.
What I'd do →
semgrepas the common layer across all three languages.banditfor Python,gosecandgovulncheckfor Go, SpotBugs with the Find Security Bugs plugin for Java.- CodeQL if the code is on GitHub (free for public repos, licensed for private).
- Normalise output as SARIF and upload to one dashboard.
Why → One consistent workflow reduces training, while language tools catch idioms generic rules miss.
Interview tip → Mention SARIF as the interchange format.
More on Pipeline Security Scanning
You are asked to add security to an existing CI pipeline. Where do SAST, SCA, secrets scanning and DAST each go?BeginnerGitleaks flags an AWS access key in a pull request. The developer says it is a test key. What do you do?BeginnerDevelopers fear security scans will slow the pipeline from 6 to 20 minutes. How do you roll them out?BeginnerA SAST tool reports 2,000 findings on a legacy repo the first time you run it. How do you introduce it without freezing delivery?IntermediateA developer insists a scanner finding is a false positive. What is your process?BeginnerSCA flags a critical CVE in a transitive dependency and no patched version exists. What are your options?Intermediate