Self Hosted SQ vs Cloud Rules

I setup self hosted SonarQube, and looking at the rules (both inbuilt, and freshly downloaded from SonarCloud > restored on my own instance custom ruleset) are not the same.
On the cloud, inbuilt PHP SonarCloud ruleset has 196 active rules, 77 inactive
My custom profile on cloud (inherent from above) has 203 active, 70 inactive

On local, inbuilt Sonar way has 178 active, 77 inactive, and my own profile (also inherent from above and exported from cloud, restored on local) has 185 active, 70 inactive rules

What is this difference and why is it there?
Thanks.

Hi,

You didn’t share your local SonarQube version, but this difference is nonetheless easily explained. SonarQube for Cloud is continuously updated. That means it gets the latest rules and rule updates shortly after they’re crafted, rather than having to wait for the monthly release of SonarQube Community Build, or bimonthly release of SonarQube Server.

 
HTH,
Ann

I understand, but as I have imported the rules from my customized Cloud instance, shouldn’t that then basically add them to the Qube instance?

Sorry for not sharing version:
Community Build v25.4.0.105899 MQR MODE

Hi,

You may have imported a profile, which is essentially just a list of rules. You did not import rule implementations.

 
HTH,
Ann

hmmm ok got it…
So I guess I just have to wait for an eventual update, by which time eventual rules will come in (or go out, as depends on the changes)

Thanks.

1 Like