forked from Fund-My-Cause/Fund-My-Cause
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitleaks.toml
More file actions
34 lines (31 loc) · 716 Bytes
/
Copy path.gitleaks.toml
File metadata and controls
34 lines (31 loc) · 716 Bytes
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
title = "Fund-My-Cause Gitleaks Config"
[extend]
# Use gitleaks default rules as base
useDefault = true
[[rules]]
description = "Stellar Private Key"
regex = '''S[A-Z2-7]{55}'''
tags = ["stellar", "key"]
[allowlist]
description = "Allowlist for known false positives"
regexes = [
# Test/example keys in docs and tests
'''SCZANGBA_EXAMPLE''',
# Placeholder values
'''your[_-]?secret[_-]?here''',
'''<YOUR_''',
'''example\.com''',
]
files = [
# Test snapshots contain encoded data
'''test_snapshots/.*\.json''',
# Lock files
'''.*\.lock''',
# Docs may contain example keys
'''docs/.*''',
'''.*\.md''',
'''\.secrets\.baseline''',
]
paths = [
'''contracts/crowdfund/test_snapshots''',
]