to ignore this issue not in general for all configured resourceKeys, but only for certain severities like BLOCKER and MAJOR and for certain classes like GLOB/ObjectManager* in c++ sources?
This type of exclusion can be set at the global level, but it should typically be set at the project level. There can only be one Quality Profile per language for any given project. So within that project, you shouldn’t need to specify severity variations for a rule. Just exclude the rule if the profile for your project has it at that severity. Does that make sense?
Thank you. Regarding severity, you are right, this doesn’t make really sense and I discussed this in our team.
To make it more clear, our use case is to ignore rules like CPP:S3584 not for all resourceKeys (c++ source files), but only for certain classes within such resourceKeys.
So for example, we would like to configure this (by UI or by properties file):
Refering to the example if this class GLOB::ObjectManager* would be separated in source files, you are right. But this is not the case. It is a class name used in different c++ sources which are not in a file path GLOB/ObjectManager*/**/*.cc.