How to scan entire repo for particular ruule

I have a javascript repo, I want to scan the entire code to find if it has any hard coded password credentials
Rule: Hard-coded credentials are security-sensitive
Any way to achieve this?

Hi @Tibin_George_Kuriyan,

You’ll need to create a new Quality Profile for JS with just that one rule in it, assign the Profile to your project and scan the project as normal.

Cheers,

Cameron.