Can I add some custom rules for C++ in sonarqube

I am using sonarqube community 8.9.1.
I want to add some C++ custom rule to sonarqube. How can I create a custom rule?? By Java or any other language
I read on sonarqube’s homepage and found there are 3 ways to add custom rules, but it seems that sonarqube doesn’t support adding custom rules to c++ code by Java

Hello @dungle997 and welcome to our community!

Unfortunately you can’t create a custom rule for C++. As you saw in the documentation, you can import issue reports from another tool but that is it.
What kind of rule did you have in mind? We try to always improve our plugins so if you have ideas of rules that make sense and would help you, do not hesitate to share them.

As a side note, please be aware that analyzing C++ in SonarQube requires the Developer Edition or above.

Amélie

Hi Amelie!
Actually I had the same question as dungle997. There are several topics in the discussion, all about C/C++ custom rules, in which the possible solution is mentioned creating own Java plugin.
But in the official doc: Adding coding rules | SonarQube Server Documentation

in the table [Custom rule support by language] this option in “Java” column is not mentioned. So, is it really not possible to create own Java plugin covering all custom rules? And the only possible solution would be using some 3rd party customizable linter producing report for SQ?