Interview Prep/DevSecOps/Application Security Testing (SAST, DAST, SCA, Secrets)

What is a security hotspot-style "baseline" in scanners, and why use one?

IntermediateConceptApplication Security Testing (SAST, DAST, SCA, Secrets)
Answer

A baseline is a snapshot of existing findings that the tool treats as known, so only new findings fail the build. Examples: gitleaks --baseline-path, Semgrep --baseline-commit, Checkov --baseline, SonarQube new-code period.

It lets you adopt a scanner on a legacy codebase on day one without a wall of red, while a separate backlog burn-down handles old findings.

All DevSecOps questions Roadmap: Security in the pipeline

More on Application Security Testing (SAST, DAST, SCA, Secrets)