Index › IT › Developer platform › SAST › SonarQube vs GitHub Advanced Security
Static application security testing · November 2026 Edition

SonarQube vs GitHub Advanced Security

Two of fourteen models named SonarQube first on the direct prompt; one named GitHub Advanced Security. SonarQube was named by fourteen of the fourteen models and GitHub Advanced Security by twelve and SonarQube carries 67 labels and GitHub Advanced Security 24, so the shares are not directly comparable.

SonarQube

accepted challenger

Named in three categories this edition.

GitHub Advanced Security

accepted challenger

Named in four categories this edition.

First-choice share11%2%Of first choices across the direct, paraphrase, budget and scale prompts, 0 to 100.
Negative rate16%0%Negative labels as a share of the product's labels, 0 to 100.
Rank in category#2#5A position in a field of 11; printed, not drawn.
Labels6724A count; the two differ.
The two percentage rows are drawn on one 0 to 100 track, SonarQube reading right to left. Rank and label count are printed, not drawn.Semgrep AppSec Platform was named alongside these two in thirteen of the fourteen direct answers. Semgrep AppSec Platform vs SonarQube · Semgrep AppSec Platform vs GitHub Advanced Security · SonarQube vs Aikido Security

Share is the count of first choices across the direct, paraphrase, budget and scale prompts over all fourteen models, for a mid-market B2B company; rank is within the category; every quote names the model and the prompt it came from. Both figures come from the static application security testing page.

By framing

How many of the fourteen models made each the first choice, per way of asking, and how many argued against it.
SonarQubeFirst choices, of fourteen modelsGitHub Advanced Security
Direct211 against SonarQube
Paraphrase301 against SonarQube
Comparative202 against SonarQube
Budget-constrained00
Scale-constrained001 against SonarQube
Negative006 against SonarQube
Bars are first choices, 0 to 14 each sideModels that argued againstA model can name both, so the two sides of a row do not sum to fourteen.

Across every category in the November 2026 Edition, SonarQube and GitHub Advanced Security were named in the same answer sixty-seven times, of the 219 answers naming SonarQube and the 113 naming GitHub Advanced Security. In those answers GitHub Advanced Security took the first choice one time and SonarQube six.

Every model, every framing

The eighty-four answers behind the chart above, one cell each: where SonarQube and GitHub Advanced Security stood in it.
ModelDirectSOParaphraseSOComparativeSOBudget-constrainedSOScale-constrainedSONegativeSO
Claude Haiku 4.5SOSOSOSOSO
GPT-5.4 miniSOSO
Gemini 3.5 FlashSOSOSOSOSO
Perplexity SonarSOSOSOSO
Grok 4.20SOSOSOSOSO
Mistral SmallSOSOSOSO
DeepSeek V4 FlashSOSOSOSOSOSO
Llama 4 MaverickSOSO
Qwen 3.7 FlashSOSOSOSOSO
Kimi K2SOSOSOSOSO
GLM 4.7 FlashXSOSOSOSO
MiniMax M2.5SOSOSOSO
GPT-6 LunaSOSOSOSO
Muse Glimmer 30BSOSOSOSO
SO SonarQube GitHub Advanced SecuritySO first choiceSO named as an alternativeSO argued againstblank: not namedEach cell is one answer, SonarQube on the left and GitHub Advanced Security on the right.

The direct prompt

The plain question, one answer per model, grouped by where SonarQube and GitHub Advanced Security stood in it.

SonarQube first, GitHub Advanced Security not the choice

2 of 14 modelsGitHub Advanced Security was named in the answer but not as the choice, or not at all.
Claude Haiku 4.5Snyk, SonarQube alternatives: Mend SAST, Semgrep AppSec Platform
GLM 4.7 FlashXSnyk Code, SonarQube alternatives: Checkmarx One, GitLab SAST, Semgrep AppSec Platform

GitHub Advanced Security first, SonarQube not the choice

1 of 14 modelsSonarQube was named in the answer but not as the choice, or not at all.
GPT-5.4 miniGitHub Advanced Security alternatives: Checkmarx One

Neither was the first choice, one was named

9 of 14 modelsThe answer put something else first and named one of the two as an alternative.
Gemini 3.5 FlashSnyk Code alternatives: GitHub Advanced Security, Semgrep AppSec Platform, SonarQube
Perplexity SonarSemgrep AppSec Platform alternatives: CodeQL, Snyk Code, SonarQube
Mistral SmallAikido Security, Semgrep AppSec Platform alternatives: SonarQube
DeepSeek V4 FlashSemgrep AppSec Platform alternatives: Snyk Code, SonarQube
Llama 4 MaverickSemgrep AppSec Platform alternatives: Aikido Security, Snyk Code, SonarQube, ZeroPath
Qwen 3.7 FlashSemgrep AppSec Platform alternatives: GitHub Advanced Security, GitLab SAST, Mend SAST, SonarQube
Kimi K2Semgrep AppSec Platform alternatives: Aikido Security, Snyk Code, SonarQube
MiniMax M2.5Semgrep AppSec Platform alternatives: Snyk Code, SonarQube
Muse Glimmer 30BAikido Security alternatives: Semgrep AppSec Platform, Snyk Code, SonarQube

Neither was named

2 of 14 modelsThe answer made no first choice from these two in this category.
Grok 4.20Semgrep AppSec Platform alternatives: Aikido Security, CodeAnt AI, GitLab SAST, Snyk Code
GPT-6 LunaSemgrep AppSec Platform alternatives: GitHub Code Security, Snyk Code

Bold names in an answer are the products the judge labeled a first choice; a model naming several gives each of them that label. The full answer text for every row is in the record.

By buyer segment

The same question asked on behalf of a different buyer. Each standing is computed within its segment and they are never added together. The figures above are the mid-market standing, which is the one the category orders by.
Small business
SonarQube leads by fourteen points.
SonarQube14%#2 of 14
GitHub Advanced Security0%#6 of 14
The full small business standing →
Mid-marketThe figures above
SonarQube leads by nine points.
SonarQube11%#2 of 11
GitHub Advanced Security2%#5 of 11
The full mid-market standing →
Enterprise
SonarQube leads by ten points.
SonarQube12%#3 of 10
GitHub Advanced Security2%#6 of 10
The full enterprise standing →

What the models said about SonarQube

Every negative label with a quote, up to three, then the highest-weighted positives, up to three. Six of eight in this category shown.

“Not a true SAST tool... Inadequate for compliance (PCI-DSS, SOC 2)” Kimi K2 · negative prompt · hard negative
“SonarQube is primarily a code quality platform, not a security-first SAST tool... "should not be used as a sole SAST tool in security-sensitive environments."” DeepSeek V4 Flash · negative prompt · soft negative
“On a typical Java or TypeScript codebase, 40-60% of initial findings require developer review to determine whether they represent actual risk” Claude Haiku 4.5 · negative prompt · soft negative
“The most widely used, adopted by 59% of developers. It's known for its ease of use, integration with CI/CD pipelines, and broad language support.” Mistral Small · comparative prompt · first choice
“I'd recommend starting with SonarQube or Snyk Code due to their balance of features, pricing, and ease of use” GLM 4.7 FlashX · direct prompt · first choice
“I would recommend SonarQube (commercial or self‑hosted) as your primary static code security scanner” GLM 4.7 FlashX · paraphrase prompt · first choice

What the models said about GitHub Advanced Security

Every negative label with a quote, up to three, then the highest-weighted positives, up to three. Two of two in this category shown.

“GitHub Advanced Security (CodeQL code scanning) is often the best default choice if your engineering team already uses GitHub” GPT-5.4 mini · direct prompt · first choice
“You already use GitHub extensively and want deep repository-native analysis | GitHub Advanced Security / CodeQL” Perplexity Sonar · paraphrase prompt · alternative
Also compared

Comparisons are drawn for the top eight products in each category, each against each. The output is the models' output; nothing here is a recommendation by the index.