forked from tomaae/homeassistant-mikrotik_router
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.gitleaks.toml
More file actions
22 lines (20 loc) · 691 Bytes
/
Copy path.gitleaks.toml
File metadata and controls
22 lines (20 loc) · 691 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Gitleaks configuration — extends the default ruleset with project-specific
# allowlists.
[extend]
useDefault = true
# Documentation files contain change-tracking IDs (CR-YYMMDD-*, ISS-YYMMDD-*,
# etc.) that can land two-per-line in markdown tables. The combination trips
# gitleaks' generic-api-key entropy check as a false positive. No real secrets
# ever live in docs/ — credentials go through HA's config_entry, never source.
[allowlist]
description = "Project tracking IDs and documentation are not secrets"
paths = [
'''docs/.*\.md''',
'''README\.md''',
'''info\.md''',
'''CLAUDE\.md''',
]
regexes = [
'''(CR|ISS|PIR|ENH)-\d{6}-[a-z0-9._-]+''',
]
regexTarget = "line"