forked from XOlegator/maskdump
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmaskdump.conf.example
More file actions
33 lines (33 loc) · 1.03 KB
/
maskdump.conf.example
File metadata and controls
33 lines (33 loc) · 1.03 KB
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
{
"cache_path": "/path/to/custom_cache.json",
"email_regex": "\\b[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}\\b",
"phone_regex": "\\b(?:\\+7|7|8)(?:[\\s-]?\\(?\\d{3}\\)?[\\s-]?\\d{3}[\\s-]?\\d{2}[\\s-]?\\d{2}|\\d{10})\\b",
"email_white_list": "/path/to/white_list_email.txt",
"phone_white_list": "/path/to/white_list_phone.txt",
"memory_limit_mb": 1024,
"cache_flush_count": 1000,
"skip_insert_into_table_list": "/path/to/skip_table_list.txt",
"masking": {
"email": {
"target": "username:2-",
"value": "hash:6"
},
"phone": {
"target": "2,3,5,6,8,10",
"value": "hash"
}
},
"processing_tables": {
"b_user": {
"email": ["LOGIN", "EMAIL"],
"phone": ["PERSONAL_PHONE", "PERSONAL_FAX", "PERSONAL_MOBILE", "WORK_PHONE", "PERSONAL_FAX"]
},
"b_socialservices_user": {
"email": ["EMAIL"]
},
"b_iblock_element": {
"email": ["PREVIEW_TEXT", "DETAIL_TEXT", "SEARCHABLE_CONTENT"],
"phone": ["PREVIEW_TEXT", "DETAIL_TEXT", "SEARCHABLE_CONTENT"]
}
}
}