feat(ci): add gitleaks configuration
This commit is contained in:
19
.gitleaks.toml
Normal file
19
.gitleaks.toml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
title = "Gitleaks Configuration"
|
||||||
|
|
||||||
|
[extend]
|
||||||
|
useDefault = true
|
||||||
|
|
||||||
|
[[allowlists]]
|
||||||
|
description = "Allowlisted files"
|
||||||
|
paths = [
|
||||||
|
'package-lock.json',
|
||||||
|
'backend/package-lock.json'
|
||||||
|
]
|
||||||
|
|
||||||
|
[[allowlists]]
|
||||||
|
description = "Test secrets"
|
||||||
|
regexes = [
|
||||||
|
'test.*password',
|
||||||
|
'test.*secret',
|
||||||
|
'test.*token'
|
||||||
|
]
|
||||||
Reference in New Issue
Block a user