From 8a1ca9ecc966f70c2fcafeb08848720084127f82 Mon Sep 17 00:00:00 2001 From: malmor <62105800+malmor@users.noreply.github.com> Date: Mon, 19 Aug 2024 18:47:42 +0200 Subject: [PATCH] Added poetry.lock to default allowlist paths (#1474) --- cmd/generate/config/rules/config.tmpl | 3 ++- config/gitleaks.toml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/cmd/generate/config/rules/config.tmpl b/cmd/generate/config/rules/config.tmpl index eef70010..3abe012f 100644 --- a/cmd/generate/config/rules/config.tmpl +++ b/cmd/generate/config/rules/config.tmpl @@ -1,5 +1,5 @@ # This file has been auto-generated. Do not edit manually. -# If you would like to contribute new rules, please use +# If you would like to contribute new rules, please use # cmd/generate/config/main.go and follow the contributing guidelines # at https://github.com/zricethezav/gitleaks/blob/master/CONTRIBUTING.md @@ -22,6 +22,7 @@ paths = [ '''package-lock.json''', '''yarn.lock''', '''pnpm-lock.yaml''', + '''poetry.lock''', '''Database.refactorlog''', '''vendor''', ] diff --git a/config/gitleaks.toml b/config/gitleaks.toml index 0c8d27e3..351acb03 100644 --- a/config/gitleaks.toml +++ b/config/gitleaks.toml @@ -1,5 +1,5 @@ # This file has been auto-generated. Do not edit manually. -# If you would like to contribute new rules, please use +# If you would like to contribute new rules, please use # cmd/generate/config/main.go and follow the contributing guidelines # at https://github.com/zricethezav/gitleaks/blob/master/CONTRIBUTING.md @@ -22,6 +22,7 @@ paths = [ '''package-lock.json''', '''yarn.lock''', '''pnpm-lock.yaml''', + '''poetry.lock''', '''Database.refactorlog''', '''vendor''', ]