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.
More on Testing and Quality Gates
What is the testing pyramid?BeginnerWhat is the difference between unit, integration, and end-to-end tests?BeginnerWhat are smoke tests and sanity tests in a deployment pipeline?IntermediateWhat is code coverage and is a high percentage a good target?IntermediateWhat is a quality gate in SonarQube?IntermediateHow do you integrate SonarQube into a CI pipeline and make it block on gate failure?Intermediate