-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Expand file tree
/
Copy path.gitleaks.toml
More file actions
27 lines (23 loc) 路 820 Bytes
/
Copy path.gitleaks.toml
File metadata and controls
27 lines (23 loc) 路 820 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
# Mole gitleaks configuration
# Replaces grep-based secret scan in .github/workflows/test.yml
# Uses gitleaks default ruleset (AWS / GitHub / Slack / private keys / etc).
[extend]
useDefault = true
[allowlist]
description = "Mole-specific allowlist"
# Test fixtures and mock binaries never hold real secrets.
paths = [
'''tests/.*''',
'''.*\.bats$''',
# Bundle ID lists in app protection use "keychain*", "security*" etc. as
# wildcard patterns, not secrets.
'''lib/core/app_protection\.sh''',
'''lib/core/app_protection_data\.sh''',
]
# Mole talks about "password" / "Touch ID" in UI prompts and sudo helpers.
# These are user-visible strings, not credentials.
regexes = [
'''password( and| or| dialog| prompt| input|,)''',
'''Touch ID or password''',
'''_request_password''',
]