It there a comprehensive guide for writing rules in sonarqube 10.8.1?
Also terraform and ansible has a very low amount of rules included, are there any packages that we can add to that ruleset, and how would I go about it?
Hi,
Unfortunately, we don’t support custom rules for Terraform. However, we do import Ansible Lint reports, and it seems that it does support custom rules.
Could you share what rules you’d like to add?
Thx,
Ann
This is a Great topic, as we are only seeing 23 Rulesets for Terraform—AWS and only 1 Ruleset for Ansible—AWS. Is this all that SonarQube offers, or am I not filtering correctly? Rules - Language “Terraform” Tags AWS
Hi @milkman285,
If by “ruleset” you mean Quality Profile, it’s quite normal to see only 1 per language in a new(ish) instance.
We currently offer 17 rules for Ansible, and 11 if I filter by AWS.
There are 51 rules for Terraform, which narrows to 40 if I search by AWS.
And again, what additional rules do you expect to see?
Ann