为什么我不能更改 SonarQube roslyn 问题的状态?

Why I cannot change status of the SonarQube roslyn issues?

我无法更改 roslyn 个问题的状态,但我可以管理其他问题:

允许我的用户管理问题和安全热点:

你知道为什么我不能更改他们的状态吗?

roslyn 问题不是由与 Sonar 兼容的分析器(插件)发现的,而是由导入它们的外部工具发现的。此类规则不受 SonarQube 管理,这意味着您无法更改它们的状态。您必须在外部分析器工具配置中修复问题或抑制它们。

来自SonarQube documentation

There are a couple of limitations with importing external issues:

  • you can't manage them within SonarQube; for instance, there is no ability to mark them > False Positive.
  • you can't manage the activation of the rules that raise these issues within SonarQube. > External rules aren't visible on the Rules page or reflected in Quality Profiles.

External issues and the rules that raise them must be managed in the configuration of your linter.