forked from dbsystel/cdk-sops-secrets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitleaks.toml
40 lines (33 loc) · 818 Bytes
/
.gitleaks.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[extend]
useDefault = true
[[rules]]
id = "generic-api-key"
# all the other attributes from the default rule are inherited
[[rules.allowlists]]
regexTarget = "line"
regexes = [
'''objectKey''',
'''S3Key''',
'''SopsAgeKey''',
'''s3Key''',
]
[[rules]]
id = "private-key"
[[rules.allowlists]]
regexTarget = "line"
regexes = [
'''(.*)OAdqlMznWINBDoyR\+PESgQJlUptwnh(.*)''',
]
[allowlist]
description = "global allow list"
paths = [
'''\.gitleaks\.toml''',
'''lambda/events/(.*?)json''',
'''lambda/__snapshots__/(.*?)snap''',
'''test-secrets/(.*?)(json|yaml|yml|env|binary)''',
'''test/(.*)\.integ\.snapshot/(.*?)json'''
]
regexTarget = "match"
regexes = [
'''AGE-SECRET-KEY-1EFUWJ0G2XJTJFWTAM2DGMA4VCK3R05W58FSMHZP3MZQ0ZTAQEAFQC6T7T3''',
]