Procházet zdrojové kódy

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
Hugh Saunders před 6 roky
rodič
revize
63d8e6e21b
1 změnil soubory, kde provedl 3 přidání a 0 odebrání
  1. 3 0
      gitleaks.toml

+ 3 - 0
gitleaks.toml

@@ -180,6 +180,9 @@ tags = ["key", "twilio"]
 files = [
 files = [
   "(.*?)(jpg|gif|doc|pdf|bin)$"
   "(.*?)(jpg|gif|doc|pdf|bin)$"
 ]
 ]
+#regexes = [
+#  "AKIAIOSFODNN7EXAMPLE"
+#]
 #commits = [
 #commits = [
 #  "whitelisted-commit1",
 #  "whitelisted-commit1",
 #  "whitelisted-commit2",
 #  "whitelisted-commit2",