Explorar el Código

Create .gitleaks.toml (#1605)

Zachary Rice hace 1 año
padre
commit
e734fcf01d
Se han modificado 1 ficheros con 12 adiciones y 0 borrados
  1. 12 0
      .gitleaks.toml

+ 12 - 0
.gitleaks.toml

@@ -0,0 +1,12 @@
+# 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`
+
+title = "Gitleaks development"
+[extend]
+useDefault = true
+
+[allowlist]
+paths = [
+  '''(^|/)cmd/generate/config/rules''',
+]