File tree Expand file tree Collapse file tree 2 files changed +44
-14
lines changed
Expand file tree Collapse file tree 2 files changed +44
-14
lines changed Original file line number Diff line number Diff line change 1+ # Gitleaks configuration file
2+ # This file configures gitleaks security scanning
3+
4+ title = " Gitleaks Config for NocoDB Simple Client"
5+
6+ # Extend the default gitleaks config
7+ extend-path = " "
8+
9+ # Rules configuration
10+ [extend ]
11+ # Use default rules but add custom allowlists
12+
13+ # Allowlist configuration - paths to ignore during scanning
14+ [allowlist ]
15+ description = " Allowlist for test files and documentation"
16+
17+ # Ignore all files in tests directory
18+ paths = [
19+ ''' tests/.*''' ,
20+ ''' tests/''' ,
21+ ''' examples/.*''' ,
22+ ''' examples/''' ,
23+ ''' docs/.*''' ,
24+ ''' docs/''' ,
25+ ''' .*\.md''' ,
26+ ''' .*\.MD''' ,
27+ ]
28+
29+ # Ignore specific file patterns that commonly contain test data
30+ regexes = [
31+ ''' (?i)test.*password.*=.*dummy''' ,
32+ ''' (?i)test.*token.*=.*fake''' ,
33+ ''' (?i)example.*key.*=.*placeholder''' ,
34+ ]
35+
36+ # Stop words that indicate test/example content
37+ stopwords = [
38+ " test" ,
39+ " example" ,
40+ " dummy" ,
41+ " fake" ,
42+ " placeholder" ,
43+ " mock" ,
44+ ]
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments