From e734fcf01d74151f5fe16402e434a02926ac9d6f Mon Sep 17 00:00:00 2001 From: Zachary Rice Date: Sun, 27 Oct 2024 08:01:40 -0500 Subject: [PATCH] Create .gitleaks.toml (#1605) --- .gitleaks.toml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .gitleaks.toml diff --git a/.gitleaks.toml b/.gitleaks.toml new file mode 100644 index 00000000..25b2b4a5 --- /dev/null +++ b/.gitleaks.toml @@ -0,0 +1,12 @@ +# This is NOT the default gitleaks config. The default gitleaks config is located +# here: https://github.com/gitleaks/gitleaks/blob/master/config/gitleaks.toml +# This gitleaks config extends the default config and ignores secrets located in the `cmd/generate/config/rules` + +title = "Gitleaks development" +[extend] +useDefault = true + +[allowlist] +paths = [ + '''(^|/)cmd/generate/config/rules''', +]