BluBracket searches for more than 50 different secrets in code, which include tokens, keys, IDs and passwords, but BluBracket also allows developers to create their own regular expressions and search for them as well when the CLI Tool scans an attempted commit. Here’s how to add the regular expressions to the scan.
Adding regular expressions to the CLI Tool search requires creating a yaml file and placing the file in the same folder as the CLI Tool.
The following is an example of the format and content of the yaml file:
--- # Custom regex list - pattern: custom.egex1 description: custom regex pattern 1 - pattern: custom.?egex2 description: custom regex pattern 2