Skip to content

Commit e6387f9

Browse files
committed
MLH-1227 | update es-audit mappings for cm
1 parent 32c9021 commit e6387f9

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

addons/elasticsearch/es-audit-mappings.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,26 @@
5252
"mapping": { "enabled": false }
5353
}
5454
},
55+
{
56+
"bm_ids_in_businessAttributes_lvl1_obj": {
57+
"path_match": "detail.businessAttributes.*",
58+
"match": "^[A-Za-z](?=.*\\d)[A-Za-z0-9]{21}$",
59+
"match_pattern": "regex",
60+
"mapping": {
61+
"enabled": false
62+
}
63+
}
64+
},
65+
{
66+
"bm_ids_in_businessAttributes_lvl2_obj": {
67+
"path_match": "detail.businessAttributes.*.*",
68+
"match": "^[A-Za-z](?=.*\\d)[A-Za-z0-9]{21}$",
69+
"match_pattern": "regex",
70+
"mapping": {
71+
"enabled": false
72+
}
73+
}
74+
},
5575
{ "allow_strings": { "path_match":"detail.attributes.*", "match_mapping_type":"string", "mapping":{ "type":"keyword", "ignore_above":256 }}},
5676
{ "allow_longs": { "path_match":"detail.attributes.*", "match_mapping_type":"long", "mapping":{ "type":"long" }}},
5777
{ "allow_doubles": { "path_match":"detail.attributes.*", "match_mapping_type":"double", "mapping":{ "type":"double" }}},

0 commit comments

Comments
 (0)