-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitleaks.toml
More file actions
33 lines (30 loc) · 880 Bytes
/
Copy path.gitleaks.toml
File metadata and controls
33 lines (30 loc) · 880 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
[extend]
useDefault = true
[[allowlists]]
description = "Swift MLX module metadata labels are not secrets."
targetRules = ["generic-api-key"]
condition = "AND"
paths = [
'''(^|/)Packages/mlx-audio-swift-valar/.+\.swift$''',
]
regexTarget = "match"
regexes = [
'''key:\s*"[A-Za-z0-9_.-]+"''',
]
[[allowlists]]
description = "Voice protection tests declare a fixture environment variable name, not a secret value."
targetRules = ["generic-api-key"]
condition = "AND"
paths = [
'''(^|/)Packages/ValarPersistence/Tests/ValarPersistenceTests/VoiceLibraryProtectionTests\.swift$''',
]
regexTarget = "match"
regexes = [
'''testKeyEnvironmentVariable = "VALARTTS_TEST_VOICE_KEY_B64"''',
]
[[allowlists]]
description = "Public-audit rule patterns intentionally include private-key sentinels."
targetRules = ["private-key"]
paths = [
'''(^|/)tools/public_repo_rules\.sh$''',
]