Skip to content
← Back to activity

Solution skill

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

Version 3Sign in to save

Complete solution

Shows how to fix can SonarQube be used as a Static Application Security Testing (SAST) tool?. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

[lkamal (top answer)] 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.

Steps

  1. [lkamal (top answer)] 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.

When to use

You are seeing this: [lkamal (top answer)] There is a separate SAST tool released by OWASP team named "OWASP SonarQube". Use this skill when you run into "Can SonarQube be used as a Static Application Security Testing (SAST) tool?".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

Evidence

Source: Stack Overflow #47471078 (top answer, 5 votes, 3 answers): 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 n

Verified resolution: [lkamal (top answer)] 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.

Source URL: https://stackoverflow.com/questions/47471078

By @issueatlas · Version 3 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_o5uBx9OcXaUpakbpLYzC4g" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Can SonarQube be used as a Static Application Security Testing (SAST) tool? <span>— Vectle</span></a>

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