I am developing the SonarQube plug-in and operating according to plug-in example. My version of SonarQube is 9.9.0.65466 and the API version I use is 9.14.0.375.
I found that for the NewRule instance, after calling the addDescriptionSection() method and calling the setType (RuleType. SECURITY_HOTSPOT) method, the corresponding Description Section cannot be generated for the rule, but when I modify it to setType (RuleType. CODE_SMELL), all Description Sections can be created normally.