Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can SonarQube be used as a Static Application Security Testing (SAST) tool?

I'm looking for a Static Application Security Testing (SAST) tool and I can't afford the commercial products (eg. Checkmarx).

SonarQube is a great static code analysis tool but I notice that there is only a few rules of the "Vulnerabilities" type ("Vulnerabilities" equals "Security", am I right?).

I plan to extend some custom plugins including a lot of vulnerabilities rules (maybe hundreds of rules for C/C++, Java, and other languages that SonarQube supports).

Is that a practicable way to make SonarQube a "Checkmarx like" tool? Or is SonarQube suitable for static security testing? (I'm not sure if Sonar Scanner is suitable for scanning security problems)

Thanks a lot!

like image 323
DogJunior Avatar asked Nov 24 '17 10:11

DogJunior


People also ask

Can SonarQube be used for SAST?

yes, you are correct, SonarQube does have SAST capabilities.

Can SonarQube be used for security testing?

Security Vulnerabilities require immediate action. SonarQube provides detailed issue descriptions and code highlights that explain why your code is at risk. Just follow the guidance, check in a fix and secure your application. Use a key length that provides enough entropy against brute-force attacks.

Is SonarQube a SAST or DAST?

Static Application SecurityTesting (SAST) with. SonarQube Developer Edition.

Which tool is used for static application security testing?

Static Application Security Testing (SAST) is a frequently used Application Security (AppSec) tool, which scans an application's source, binary, or byte code. A white-box testing tool, it identifies the root cause of vulnerabilities and helps remediate the underlying security flaws.


1 Answers

There is a separate SAST tool released by OWASP team named "OWASP SonarQube". This is developed using the sonarqube tool, but as a SAST tool.

This tool can be integrated with your project build same as the SonarQube integration. So if you are familiar with SonarQube, it will be a straightforward move.

like image 127
lkamal Avatar answered Sep 30 '22 19:09

lkamal