Thanks Penar!
I’d be remiss not to link to our open-source engine for detecting secrets.
Just an example, it takes in configuration files (like sonarqube.yaml, describing the tokens I’m most concerned about).
But there are probably many other ways to go about implementing something like this!