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
38 lines (35 loc) · 990 Bytes
/
Copy path.gitleaks.toml
File metadata and controls
38 lines (35 loc) · 990 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
35
36
37
38
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''',
# Standard placeholder Soroban contract ID, already used throughout
# docs/ (backup-procedures.md, docker-deployment.md, event-monitoring.md)
# and e2e/ as an example/fallback value — not a real key.
'''CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABSC4''',
# 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''',
]