Forráskód Böngészése

add just like that, no leaks

Zach 8 hónapja
szülő
commit
958f55ac62
2 módosított fájl, 5 hozzáadás és 1 törlés
  1. 3 1
      .gitleaks.toml
  2. 2 0
      .gitleaksignore

+ 3 - 1
.gitleaks.toml

@@ -1,4 +1,4 @@
-# This is NOT the default gitleaks config. The default gitleaks config is located 
+# This is NOT the default gitleaks config. The default gitleaks config is located
 # here: https://github.com/gitleaks/gitleaks/blob/master/config/gitleaks.toml
 # This gitleaks config extends the default config and ignores secrets located in the `cmd/generate/config/rules`
 
@@ -9,4 +9,6 @@ useDefault = true
 [allowlist]
 paths = [
   '''(^|/)cmd/generate/config/rules''',
+  '''.*test\.go''',
+  '''testdata'''
 ]

+ 2 - 0
.gitleaksignore

@@ -940,3 +940,5 @@ e56870aecf8ac2733affc82e1ac25e3be9092db3:cmd/generate/config/rules/curl.go:gener
 239e6323639b18ba8a1081f17788a658da075dd7:cmd/generate/config/rules/databricks.go:generic-api-key:22
 c24a3a654b18d689732ec3199f0a19a254505b04:detect/detect_test.go:generic-api-key:52
 c08cb1dc9aee87186dba4eebbc13b8aaa2351f0c:detect/detect_test.go:generic-api-key:52
+ee0da5c7fa5f3c9a7f1617e162497199cac3537f:README.md:generic-api-key:480
+782f3104786efdce0f809bce8a9ff31f2fa1c9ed:README.md:generic-api-key:481