-
-
Notifications
You must be signed in to change notification settings - Fork 60
/
Copy pathspamscope_attachments.json
120 lines (120 loc) · 2.52 KB
/
spamscope_attachments.json
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"order": 0,
"version": 3,
"index_patterns": [
"spamscope_attachments-*"
],
"settings": {
"index": {
"codec": "best_compression",
"mapping": {
"ignore_malformed": "true"
},
"refresh_interval": "5s",
"analysis": {
"analyzer": {
"header": {
"filter": [
"lowercase"
],
"tokenizer": "uax_url_email"
},
"html_body": {
"filter": [
"lowercase"
],
"char_filter": [
"html_strip"
],
"tokenizer": "uax_url_email"
},
"path_pattern": {
"filter": [
"lowercase"
],
"tokenizer": "path_hierarchy"
}
}
},
"number_of_shards": "1",
"number_of_replicas": "0"
}
},
"mappings": {
"_doc": {
"dynamic_templates": [
{
"hashes": {
"mapping": {
"type": "keyword",
"eager_global_ordinals": true
},
"match_pattern": "regex",
"match": "(^|.*\\.)(md5|sha1|sha256|sha512|ssdeep|extension)$"
}
},
{
"payload": {
"mapping": {
"type": "binary",
"norms": false
},
"match_pattern": "regex",
"match": "(^|.*\\.)(payload)$"
}
},
{
"number": {
"mapping": {
"type": "long"
},
"match_pattern": "regex",
"match": "(^|.*\\.)(size)$"
}
},
{
"structured": {
"mapping": {
"type": "keyword",
"eager_global_ordinals": true
},
"match_pattern": "regex",
"match": "(^|.*\\.)(charset|mail_server|mailbox|message_id|Content-Type|content_transfer_encoding|mail_content_type)$"
}
}
],
"properties": {
"@timestamp": {
"type": "date"
},
"@version": {
"type": "keyword"
}
}
}
},
"aliases": {
"attachments": {},
"attachments_thug": {
"filter": {
"exists": {
"field": "thug"
}
}
},
"attachments_tika": {
"filter": {
"exists": {
"field": "tika"
}
}
},
"attachments_virustotal": {
"filter": {
"exists": {
"field": "virustotal"
}
}
}
}
}