2020-05-21T20:10:00Z

Checkmarx vs SonarQube; SonarQube interoperability with Checkmarx or Veracode


I am looking for pros and cons for the Checkmarx vs SonarQube, in particular regarding:

  • false positives
  • tuning Sonarqube to reduce false positives without introducing false negatives. 

I am also wondering if SonarQube could allow developers to delint their code before submitting it to SAST with either Checkmarx or Veracode. 

Guest
33 Answers

author avatar
Top 20Real User

SonarQube depends on completely what you configure the Rules. You will have the option of the Profile creation and can be assigned to the Projects. If you configure the project --> under them services configuration it is good to go. Proper configuration is important in the Sonat Qube. Yes, Sonarqube allows developers to delint their code before SAST.


Veracode recently introduced it. But this integration at developer Machine integration available for only JAVA coded Projets.


About the Vulnerability coverage, both are the same. OWASP TOP 10 is equal to Sans 25. sans25 is categorized with one category number and describes under that subsection. Refer to this.  https://www.templarbit.com/blog/2018/02/08/owasp-top-10-vs-sans-cwe-25/

2020-07-08T05:48:02Z
author avatar
User

SonarQube can be used for SAST. However, based on our internal analysis, our team feel CheckMarx is better suited for Security compared to SonarQube. SoanrQube is used in day to day developer code scan and Checkmarx is used during code movement to staging or during release.

2020-07-07T13:01:57Z
author avatar
Top 5LeaderboardReal User

My opinions are my own and do not represent any other entities that I may be or have been affiliated with. 


On this topic I think it is important to acknowledge that no matter which solution you go for you will have false positives. I don't think there will be any solution that properly solves this anytime soon. 


As for Checkmarx vs SonarQube... 


Checkmarx may cover more rules over a wider landscape, however I personally found this extra breadth covered outlyer rules and mostly lower priority issues. Both Checkmarx and SonarQube cover the OWASP top 10 and Sans25.


Both tools can be tuned to help reduce false positives, for both you will need to analyse your tuning to ensure you are not introducing false negatives. Any tools that provide you customisation come with the risk that you could make things worse. 


SonarQube has very good integration into most development IDEs empowering the engineers to run scans against the company rules on their local machine before submitting your source control and further tooling. In some it will even check the code automatically while you type it. 


I see you also included Veracode in here. In my opinion that is a far superior tool to Checkmarx, this is down to their more modern approach to this problem. They also allow local developer integration to self lint code before submission. 


In a perfect world, I would use Sonar for development bugs, test coverage and technical debt measurements. Then veracode to handle the SAST side for me. In short I would not duplicate the security scans in Sonar and Veracode. 


Hope that helps

2020-07-06T14:38:52Z
Find out what your peers are saying about SonarSource, Veracode, Checkmarx and others in Application Security. Updated: April 2021.
475,208 professionals have used our research since 2012.