What is our primary use case?
Our primary use case is to analyze source code for software bugs, technical debt, vulnerabilities, and test coverage. It provides an automated gated procedure to ensure that engineers are able to deliver great, secure code to production.
We plug this process into our process right from the start enabling the IDE integrations so that engineers can scan their code before submission. Following on from that we run the scans on every change that has been submitted for review.
This way we ensure that no core/fundamental issues are added to our codebases.
How has it helped my organization?
It has helped many of the organizations that I have worked at to improve overall security, quality, and test confidence within the codebases. It also provides this in a speed efficient way. Engineers now feel much more proud of their solution as they gain confidence from these scans and their results.
Engineers have also learned from the results and have improved themselves as engineers. This will help them with their careers.
We are also able to get reports on our suite and generate a quality rating for ourselves utilizing this data and more.
What is most valuable?
By far the quality gate controls. Without this, there would be no way to really utilize the power of this tool. We are able to automatically ensure that no code is delivered to production when it contains severe bugs or vulnerabilities.
The tight integration to source control also helps us to keep the engineers in the loop with any follow-up actions for issues reported.
Finally, the historical trend analysis gives us great insight into how we are improving based on our decisions, which are now driven by clear data.
What needs improvement?
It should keep up with newer technologies. As this is primarily open-source, it does require updates from the community. As such, there is sometimes a delay for new technologies to be covered by this too.
Particularly around the languages that the webpages state they support. The big benefit of Sonar is that it handles so many different languages, problems, and static analysis in one place.
When that one place has a low coverage for the most basic rules (OWASP top 10 for example) it starts to lose its value add.
For how long have I used the solution?
I have been using SonarQube for five years.
What do I think about the stability of the solution?
Good, I have not really had many issues with it. No major ones either.
What do I think about the scalability of the solution?
It all depends on where/how you are hosting it. The tool itself scales well.
Which solution did I use previously and why did I switch?
I have used Checkmarx and also tried a demo of Veracode.
Checkmarx was far too heavy-handed and only handled security concerns for a VERY large price tag.
Veracode is very good, however, the price vs a free solution was a deciding factor in many cases.
How was the initial setup?
It's very straightforward for a SaaS setup.
For a self-hosted setup, it is documented well and fairly easy.
What about the implementation team?
What's my experience with pricing, setup cost, and licensing?
SonarQube will incur hosting costs. There are SaaS options available at competitive prices too.
Self-hosting SonarQube is subject to its open-source licenses documented on their website.
Which other solutions did I evaluate?
We also evaluated Checkmarx, Veracode and open source solutions specific to each programming language.
What other advice do I have?
Security analysis is a MUST.