Hi there,
We use SQ 10.3 CE and found that the built-in C# rule Hard-coded credentials are security-sensitive (csharpsquid:S2068) is looking only for “password, passwd, pwd, passphrase”.
In the rule itself, it is said, “It’s recommended to customize the configuration of this rule with additional credential words such as “oauthToken,” “secret,”…” and this is exactly what we want to achieve. Unfortunatelly, there is no way to extend the rule and what I was able to find here Adding coding rules (sonarsource.com) is that we need to write a new Roslyn analyzer.
Before dwelling on it, I want to double-check that it is our only option?