From 32f32212150d0114a6fdd048cfaffec07fbe74a6 Mon Sep 17 00:00:00 2001 From: Tuan-Dat Tran Date: Fri, 20 Feb 2026 17:27:24 +0100 Subject: [PATCH] feat(ci): add gitleaks configuration --- .gitleaks.toml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .gitleaks.toml diff --git a/.gitleaks.toml b/.gitleaks.toml new file mode 100644 index 0000000..fc3e65f --- /dev/null +++ b/.gitleaks.toml @@ -0,0 +1,19 @@ +title = "Gitleaks Configuration" + +[extend] +useDefault = true + +[[allowlists]] +description = "Allowlisted files" +paths = [ + 'package-lock.json', + 'backend/package-lock.json' +] + +[[allowlists]] +description = "Test secrets" +regexes = [ + 'test.*password', + 'test.*secret', + 'test.*token' +]