SonarQube 7.6 - Enterprise Edition (previously 6 LTS was in use)
The following Java rule is not available on the instance.
To reproduce: on the “Rules” tab filter by name for “SQL” amongst the Java rules. This rule is not found.
I expect it to be available on the server, so I can add it to my Java quality profile. (and possibly it should be available in Sonar Way).
Other rules related to the Java plugin is available, like “Enabling Cross-Origin Resource Sharing is security-sensitive”. In general the plugin should be alive and up-to-date.
Checking the rules in the database for plugin_rule_key =“S3649” only shows a DELETED rule for C-Sharp.
How can I restore this Java rule?
Thanks and cheers,
P.s. This page has an outdated image. “Restore Built-in Profiles” is not an available option anymore I believe. https://docs.sonarqube.org/latest/instance-administration/quality-profiles/