mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-28 20:24:22 +01:00
* use official docker image as pre-commit hook * Update .pre-commit-hooks.yaml * Update .pre-commit-hooks.yaml * Update .pre-commit-hooks.yaml * Update .pre-commit-hooks.yaml * Update .pre-commit-hooks.yaml
12 lines
408 B
YAML
12 lines
408 B
YAML
- id: gitleaks
|
|
name: Detect hardcoded secrets
|
|
description: Detect hardcoded secrets using Gitleaks
|
|
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
|