Automatically add tags to generic external issues

Version

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

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
Pieter