Просмотр исходного кода

Added poetry.lock to default allowlist paths (#1474)

malmor 1 год назад
Родитель
Сommit
8a1ca9ecc9
2 измененных файлов с 4 добавлено и 2 удалено
  1. 2 1
      cmd/generate/config/rules/config.tmpl
  2. 2 1
      config/gitleaks.toml

+ 2 - 1
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''',
 ]

+ 2 - 1
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''',
 ]