expertProduction Hardening, OWASP Top 10 & Best Practices

What is the difference between SAST and DAST, and where does each fit in a CI/CD pipeline?

SAST (Static Application Security Testing) analyzes source code without running it, catching issues like insecure coding patterns or known-vulnerable dependencies early, typically as part of the build/CI stage. DAST (Dynamic Application Security Testing) tests a RUNNING application by actually sending crafted requests (like a controlled attacker would), typically run against a staging environment before production release, catching runtime/configuration issues that static analysis can't see.

This is a Pro chapter

Sign in, then upgrade to Pro or Power to unlock this and the full Spring Ecosystem Mastery library.

What is the difference between SAST and DAST, and where does each fit in a CI/CD pipeline?

Next Step

Continue to Scenario 1: Your Angular app on localhost:4200 gets a CORS error calling your Spring Boot API on localhost:8080, but Postman works fine calling the same endpoint. Why, and how do you fix it?← Back to all Spring Security questions