Explorar o código

Merge branch 'master' of github.com:zricethezav/gitleaks

Zach Rice %!s(int64=3) %!d(string=hai) anos
pai
achega
f348991d21
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      .pre-commit-hooks.yaml

+ 5 - 0
.pre-commit-hooks.yaml

@@ -4,3 +4,8 @@
   entry: gitleaks protect --verbose --redact --staged
   language: golang
   pass_filenames: false
+- id: gitleaks-docker
+  name: Detect hardcoded secrets
+  description: Detect hardcoded secrets using Gitleaks
+  entry: zricethezav/gitleaks:v8.5.2 protect --verbose --redact --staged
+  language: docker_image