Which upgrade adds new rules -- server or scanner?

When you upgrade SonarScanner alone, are new rules being implemented? Or is that only when you upgrade SonarQube server?

Hi,

the server upgrade.
Rules are implemented by plugins in Sonarqube server (delivered by Sonarsource or community plugins or custom rules), the Sonarqube scanner just uses them.
Every scanner has to download all those plugins once and again after every update of Sonarqube.
Rules are organized in quality profiles, they are set globally or at project level in Sonarqube.

That said it’s also possible to import findings from third party tools bringing their own rules like i.e. ESlint
This rules are run within the build by other tools and are independent from a Sonarqube update.
see https://docs.sonarqube.org/latest/analyzing-source-code/importing-external-issues/importing-third-party-issues/

and this discussion

Gilbert