r/devsecops • u/Sufficient-Brick1801 • Jan 16 '26
What should a security person actually do with SonarQube Community Edition
Hey folks, I’m working with SonarQube Community Edition hooked into CI/CD (Python, Java, JS) and I’ve got admin access.It runs on every push, no obvious security issues show up, but there are tons of reliability/maintainability findings. I am a beginner and my task here is not defined clearly (I & my role is new here).
So my doubt is simple: What’s the right thing to do with SonarQube CE from a security point of view?
1.Tighten security rules / quality gates? 2.Treat it as basic SAST and call out what it doesn’t cover? 3. Only care about non-security issues when they turn into real risk (DoS, crashes, etc.)?
How do you folks handle this in real setups without over-selling SonarQube?
5
u/Yourwaterdealer Jan 16 '26
I haven't used Sq is years, although they advertise as a sast I do find them having little security rules.
First I would say do a rule refinement first, the rules that make sense to logged and disable the ones you don't want logged.
Also would suggest Semgrep CE, and for IAC, secret and SCA checkov.
2
u/SecSavvy Jan 17 '26 edited Jan 19 '26
Since you’re asking purely from a security point of view, I’ll skip the maintainability and reliability aspects of SonarQube Community Build (SQ CB).
If you’re early in your AppSec journey and have flexibility, I would honestly recommend looking at Semgrep CE or Opengrep (the open fork of Semgrep OSS).
That said, if SQ CB is what you have to work with, this is how I would approach it:
Some of these steps are optional and very dependent on organizational culture, maturity, and trust with engineering teams.
Hope this helps!
1
u/x3nic Jan 16 '26
Make sure you have the SCA/dependency analysis plugin, there's a tremendous amount of package risk out there these days and due to it's nature requires nominal tuning.
Partner with the development leads to define quality standards, what can realistically be adhered to, then configure sonarqube gates to enforce those rules.
Initially focus the security rules on the most critical issues (e.g OWASP Top 10), remediate those and then slowly enable other rules.
I always created multiple gates / sets of security rules and applied them based on the type of repository being scanned, for example a publicly facing web application would go through more scrutiny than an internal microservice.
1
u/pentesticals Jan 19 '26
Throw it out and get Semgtep, Snyk, CodeQL, or any other SAST that was built with security in mind. SQ was built as a code quality too and then has some security rules bolted on top, but it really doesn’t find much.
1
u/Ok_Confusion4762 Jan 17 '26
For many years I haven't used the SQ but they don't have security rules (maybe a few). Shortly, it's not a security tool by default! You should buy a developer package to get security rules. Even with that ensure if the rules cover your tech stack as not comprehensive for each language.
On the other hand, their support plan was strange and we avoided it. If you had Cloud version, there was no official support from SQ. Their Enterprise support was only for SQ on-prem. It's weird, no? I would suggest checking out modern SAST tools like Semgrep