-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitleaks.local.toml.example
More file actions
30 lines (27 loc) · 1018 Bytes
/
Copy path.gitleaks.local.toml.example
File metadata and controls
30 lines (27 loc) · 1018 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
# .gitleaks.local.toml.example — Template for per-deployment disclosure rules.
#
# Copy this file to `.gitleaks.local.toml` and add patterns for identifiers that
# should never be committed from your own environment. This file is intentionally
# an example; `.gitleaks.local.toml` is gitignored.
title = "personal local-only infra-leak rules"
[extend]
path = "./.gitleaks.toml"
# Examples only. Replace or delete before use.
#
# [[rules]]
# id = "personal-domain-primary"
# description = "Primary personal domain — do not commit any subdomain"
# regex = '''[a-z0-9-]+\.yourdomain\.com'''
# tags = ["infra-leak", "personal"]
#
# [[rules]]
# id = "personal-ddns"
# description = "Dynamic-DNS hostname used by this deployment"
# regex = '''[a-z0-9-]+\.yourddns\.net'''
# tags = ["infra-leak", "personal"]
#
# [[rules]]
# id = "private-model-name"
# description = "Model identifiers that exist only in this deployment"
# regex = '''\b(?:internal-foo|private-bar)-[a-z0-9-]+\b'''
# tags = ["infra-leak", "personal"]