Rename component mappings and references for Security Onion

This commit is contained in:
Wes
2022-09-20 20:33:06 +00:00
parent 7f2c5bc757
commit 46dd4c2749
3 changed files with 104 additions and 27 deletions

View File

@@ -1,10 +1,48 @@
{
"component_templates": [
{
"name": ".fleet_agent_id_verification-1",
"name": "so-fleet_agent_id_verification-1",
"component_template": {
"template": {
"settings": {
"analysis": {
"analyzer": {
"es_security_analyzer": {
"type": "custom",
"char_filter": [
"whitespace_no_way"
],
"filter": [
"lowercase",
"trim"
],
"tokenizer": "keyword"
}
},
"char_filter": {
"whitespace_no_way": {
"type": "pattern_replace",
"pattern": "(\\s)+",
"replacement": "$1"
}
},
"filter": {
"path_hierarchy_pattern_filter": {
"type": "pattern_capture",
"preserve_original": true,
"patterns": [
"((?:[^\\\\]*\\\\)*)(.*)",
"((?:[^/]*/)*)(.*)"
]
}
},
"tokenizer": {
"path_tokenizer": {
"type": "path_hierarchy",
"delimiter": "\\"
}
}
},
"index": {
"final_pipeline": ".fleet_final_pipeline-1"
}

View File

@@ -1,13 +1,52 @@
{
"component_templates": [
{
"name": ".fleet_globals-1",
"name": "so-fleet_globals-1",
"component_template": {
"template": {
"settings": {},
"settings": {
"analysis": {
"analyzer": {
"es_security_analyzer": {
"type": "custom",
"char_filter": [
"whitespace_no_way"
],
"filter": [
"lowercase",
"trim"
],
"tokenizer": "keyword"
}
},
"char_filter": {
"whitespace_no_way": {
"type": "pattern_replace",
"pattern": "(\\s)+",
"replacement": "$1"
}
},
"filter": {
"path_hierarchy_pattern_filter": {
"type": "pattern_capture",
"preserve_original": true,
"patterns": [
"((?:[^\\\\]*\\\\)*)(.*)",
"((?:[^/]*/)*)(.*)"
]
}
},
"tokenizer": {
"path_tokenizer": {
"type": "path_hierarchy",
"delimiter": "\\"
}
}
}
},
"mappings": {
"_meta": {
"managed_by": "fleet",
"managed_by": "security_onion",
"managed": true
},
"dynamic_templates": [
@@ -25,7 +64,7 @@
}
},
"_meta": {
"managed_by": "fleet",
"managed_by": "security_onion",
"managed": true
}
}