Explorar el Código

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

Jasper Boeijenga hace 2 años
padre
commit
f65f9157ff
Se han modificado 2 ficheros con 4 adiciones y 0 borrados
  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''',
     '''gradle.lockfile''',
     '''node_modules''',
     '''node_modules''',
     '''package-lock.json''',
     '''package-lock.json''',
+    '''yarn.lock''',
     '''pnpm-lock.yaml''',
     '''pnpm-lock.yaml''',
     '''Database.refactorlog''',
     '''Database.refactorlog''',
     '''vendor''',
     '''vendor''',

+ 3 - 0
config/gitleaks.toml

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