Automatically add tags to generic external issues


  • SonarQube Version 9.9 (build 65466)
  • sonar-scanner

What are you trying to achieve

I want to filter generic issues in the issue view by the “engineID” specified in the generic issue format. The reason for that is, that I want all generic issues from one specific tool, e.g. compiler warnings.

What have you tried so far to achieve this

The rule filter is not suitable for this, because there are several rules for one “engineID”. For example different compiler warning rules.

Questions and possible solution

Is it somehow possible to automatically add a tag to the generic findings?

If yes, I could filter the generic findings with a tag filter for example tag name: “gcc-compiler-warnings”.
Right now, I am not aware of an automatic solution for adding a tag to generic issues during the upload. I would have expect a “tags” key in the generic issue format that accepts a list of strings.

Best regards