Skip to content

Commit f2be05f

Browse files
authored
Chore: [AEA-0000] - use gitleaks for secret scanning (#17)
use gitleaks for secret scanning
1 parent cfb87a2 commit f2be05f

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

.pre-commit-config.yaml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,14 @@ repos:
2323

2424
- repo: local
2525
hooks:
26+
- id: grype-scan-local
27+
name: Grype scan local changes
28+
entry: make
29+
args: ["grype-scan-local"]
30+
language: system
31+
pass_filenames: false
32+
always_run: true
33+
2634
- id: zizmor-action
2735
name: Check action.yml
2836
entry: zizmor
@@ -78,10 +86,9 @@ repos:
7886
pass_filenames: false
7987
always_run: true
8088

81-
- id: gitleasks
89+
- id: gitleaks
8290
name: Git Leaks
83-
description: gitleaks scans commits, commit messages, and --no-ff merges to
84-
prevent adding secrets into your git repositories.
91+
description: gitleaks scans commits, commit messages, and --no-ff merges to prevent adding secrets into your git repositories.
8592
entry: bash
8693
args:
8794
- -c

0 commit comments

Comments
 (0)