소스 검색

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

Zach Rice 4 년 전
부모
커밋
f348991d21
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  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