NewWork mode: your Claude Code or Codex on work calls, answering from your project's codeSkip to content
Middle+2 views

When implementing SAST, DAST, and SCA products, what do you run at each stage of the pipeline, and why?

Practice

AI answer

I run SCA on every pull request and during builds to check dependencies and licenses, so issues are detected before changes reach the main branch. I also run SAST on pull requests: fast checks give developers feedback before release, while deeper analysis can run on a schedule or before a release. I run DAST after deploying the application to a test or staging environment, where a running application and, if needed, test accounts are available. In CI, I configure blocking thresholds based on the severity and confidence of findings; exceptions must be justified and have an expiration date. For legacy code, I first establish a baseline, then block the introduction of new critical issues so that adoption does not bring development to a halt.