cnescatlab / sonar-hadolint-plugin

sonar-hadolint-plugin is a SonarQube plugin used to integrate Hadolint results
GNU General Public License v3.0
12 stars 0 forks source link

Possibility to add tags to the rules.xml file #6

Closed JohannesBe closed 4 years ago

JohannesBe commented 4 years ago

SonarQube Tags are useful to quickly find what kind of issues need to be resolved.

JohannesBe commented 4 years ago

In the script from this comment, I implemented it with the following syntax:

<rule>
    <!-- ... -->
    <tags>
        <tag>Shell</tag>
        <tag>Dockerfile</tag>
    </tags>
</rule>
Sancretor commented 4 years ago

Hi @JohannesBe

Adding tags is a good idea ! Rather than only indicating if it's a Dockerfile or Shell rule, I would add another tag to tell it's an Hadolint rule or a Shellcheck rule. What do you think about it ?