瀏覽代碼

Added yarn.lock file to default allowlist paths (#1258)

Jasper Boeijenga 2 年之前
父節點
當前提交
f65f9157ff
共有 2 個文件被更改,包括 4 次插入0 次删除
  1. 1 0
      cmd/generate/config/rules/config.tmpl
  2. 3 0
      config/gitleaks.toml

+ 1 - 0
cmd/generate/config/rules/config.tmpl

@@ -19,6 +19,7 @@ paths = [
     '''gradle.lockfile''',
     '''node_modules''',
     '''package-lock.json''',
+    '''yarn.lock''',
     '''pnpm-lock.yaml''',
     '''Database.refactorlog''',
     '''vendor''',

+ 3 - 0
config/gitleaks.toml

@@ -19,6 +19,7 @@ paths = [
     '''gradle.lockfile''',
     '''node_modules''',
     '''package-lock.json''',
+    '''yarn.lock''',
     '''pnpm-lock.yaml''',
     '''Database.refactorlog''',
     '''vendor''',
@@ -2765,7 +2766,9 @@ entropy = 3
 keywords = [
     "sumo",
 ]
+
 [rules.allowlist]
+
 regexTarget = "line"
 regexes = [
     "sumOf",