-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.gitleaks.toml
More file actions
44 lines (37 loc) · 949 Bytes
/
.gitleaks.toml
File metadata and controls
44 lines (37 loc) · 949 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
39
40
41
42
43
44
# Gitleaks configuration file
# This file configures gitleaks security scanning
title = "Gitleaks Config for NocoDB Simple Client"
# Extend the default gitleaks config
extend-path = ""
# Rules configuration
[extend]
# Use default rules but add custom allowlists
# Allowlist configuration - paths to ignore during scanning
[allowlist]
description = "Allowlist for test files and documentation"
# Ignore all files in tests directory
paths = [
'''tests/.*''',
'''tests/''',
'''examples/.*''',
'''examples/''',
'''docs/.*''',
'''docs/''',
'''.*\.md''',
'''.*\.MD''',
]
# Ignore specific file patterns that commonly contain test data
regexes = [
'''(?i)test.*password.*=.*dummy''',
'''(?i)test.*token.*=.*fake''',
'''(?i)example.*key.*=.*placeholder''',
]
# Stop words that indicate test/example content
stopwords = [
"test",
"example",
"dummy",
"fake",
"placeholder",
"mock",
]