SonarLint and SonarCloud rule comparisions Visual studio 2017

I have Visual Studio 2017 where I have a solution using SonarLint version and for the build in Azure, I’m connected to SonarCloud. Why does SonarCloud have more rules than SonarLint? In SonarCloud, there are rules in the profile with ID’s S5042 and S4507. But those rules aren’t in SonarLint. Why is that?

Hello, thank you for your feedback.

S5042 and S4507 are rules with the Security Hotspot type. They raise issues that are meant to be reviewed by a human being, who will either confirm that there is a vulnerability, or close the issue if there is no real security issue. This is why we decided to hide them in SonarLint.

Hope this helps!