From 58eda0cf16b01240b3479831f29518659b33f11c Mon Sep 17 00:00:00 2001 From: Guillaume Smet Date: Wed, 3 Apr 2024 17:48:09 +0200 Subject: [PATCH] Add .gitleaks.toml to avoid detecting leaks on test files --- .gitleaks.toml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .gitleaks.toml diff --git a/.gitleaks.toml b/.gitleaks.toml new file mode 100644 index 00000000..20f79cb1 --- /dev/null +++ b/.gitleaks.toml @@ -0,0 +1,8 @@ +[allowlist] + description = "Global Allowlist" + + # Ignore based on any subset of the file path + paths = [ + # Ignore all test files + '''**/src/test/**''', + ]