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

In SonarQube, what is the difference between a vulnerability and a security hotspot?

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

A vulnerability is code Sonar is confident is exploitable and must be fixed. A security hotspot is security-sensitive code (for example using a regex, setting CORS, hashing) that needs a human to review and mark it Safe or Fixed, because whether it is a real problem depends on context.

The Quality Gate requires hotspots on new code to be reviewed, not necessarily changed.

All DevSecOps questions Roadmap: Security in the pipeline

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