From 63d8e6e21bd5897787282c0c0917a23aab6a9037 Mon Sep 17 00:00:00 2001 From: Hugh Saunders Date: Fri, 2 Aug 2019 21:13:17 +0100 Subject: [PATCH] Regex whitelist example in sample config Users looking to the sample config to discover possible options may not notice that its possible to whitelist by regex. This commit adds an example to aid discovery. Related: conjurinc/ops#246 --- gitleaks.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gitleaks.toml b/gitleaks.toml index aa2bcd94..2e576102 100644 --- a/gitleaks.toml +++ b/gitleaks.toml @@ -180,6 +180,9 @@ tags = ["key", "twilio"] files = [ "(.*?)(jpg|gif|doc|pdf|bin)$" ] +#regexes = [ +# "AKIAIOSFODNN7EXAMPLE" +#] #commits = [ # "whitelisted-commit1", # "whitelisted-commit2",