Skip to content

Commit 366f26d

Browse files
authored
Chore: [AEA-0000] - use gitleaks for secret scanning (#3)
use gitleaks for secret scanning
1 parent f9711cb commit 366f26d

2 files changed

Lines changed: 4 additions & 17 deletions

File tree

.gitallowed

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

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,13 @@ repos:
6565
pass_filenames: false
6666

6767

68-
- id: git-secrets
69-
name: Git Secrets
70-
description: git-secrets scans commits, commit messages, and --no-ff merges to prevent adding secrets into your git repositories.
68+
- id: gitleaks
69+
name: Git Leaks
70+
description: gitleaks scans commits, commit messages, and --no-ff merges to prevent adding secrets into your git repositories.
7171
entry: bash
7272
args:
7373
- -c
74-
- 'git-secrets --pre_commit_hook'
74+
- "gitleaks git --pre-commit --redact --staged --verbose"
7575
language: system
7676

7777
fail_fast: true

0 commit comments

Comments
 (0)