Interview Prep/CI/CD/Testing and Quality Gates

What is the difference between SAST, DAST, SCA and IAST?

IntermediateConceptTesting and Quality Gates
Answer
  • SAST scans source or bytecode for flaws (Semgrep, SonarQube, CodeQL).
  • SCA scans third-party dependencies for known CVEs and licence issues (Dependabot, Trivy, Snyk, OWASP Dependency-Check).
  • DAST attacks a running application from outside (OWASP ZAP).
  • IAST instruments the running app during tests to observe flows from inside.

A pipeline typically runs SAST, SCA and secret scanning on every PR and DAST against a staging deployment.

All CI/CD questions Roadmap: CI/CD fundamentals

More on Testing and Quality Gates