BluBracket searches for more than 100 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 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 called pii.yaml and placing the file in the following location:
OSX: /Users/{username}/.blubracket
Windows: C:\Users\username\blubracket
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
Comments
0 comments
Please sign in to leave a comment.