Skip to content

Commit 327fb0f

Browse files
authored
Chore: [AEA-0000] - use gitleaks for secret scanning (#739)
use gitleaks for secret scanning
1 parent f8b680c commit 327fb0f

2 files changed

Lines changed: 4 additions & 27 deletions

File tree

.gitallowed

Lines changed: 0 additions & 23 deletions
This file was deleted.

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,13 @@ repos:
7070
pass_filenames: false
7171
always_run: true
7272

73-
- id: git-secrets
74-
name: Git Secrets
75-
description: git-secrets scans commits, commit messages, and --no-ff merges to prevent adding secrets into your git repositories.
73+
- id: gitleaks
74+
name: Git Leaks
75+
description: gitleaks scans commits, commit messages, and --no-ff merges to prevent adding secrets into your git repositories.
7676
entry: bash
7777
args:
7878
- -c
79-
- 'git-secrets --pre_commit_hook'
79+
- "gitleaks git --pre-commit --redact --staged --verbose"
8080
language: system
8181
fail_fast: true
8282
default_stages: [pre-commit]

0 commit comments

Comments
 (0)