mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Map user name to keyword and remove security subfield generation
This commit is contained in:
@@ -48,6 +48,10 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"user": {
|
"user": {
|
||||||
"properties": {
|
"properties": {
|
||||||
|
"name": {
|
||||||
|
"ignore_above": 1024,
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
"changes": {
|
"changes": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"domain": {
|
"domain": {
|
||||||
@@ -348,16 +352,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"name": {
|
|
||||||
"fields": {
|
|
||||||
"security": {
|
|
||||||
"type": "text",
|
|
||||||
"analyzer": "es_security_analyzer"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"ignore_above": 1024,
|
|
||||||
"type": "keyword"
|
|
||||||
},
|
|
||||||
"roles": {
|
"roles": {
|
||||||
"ignore_above": 1024,
|
"ignore_above": 1024,
|
||||||
"type": "keyword",
|
"type": "keyword",
|
||||||
@@ -454,16 +448,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"name": {
|
|
||||||
"fields": {
|
|
||||||
"security": {
|
|
||||||
"type": "text",
|
|
||||||
"analyzer": "es_security_analyzer"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"ignore_above": 1024,
|
|
||||||
"type": "keyword"
|
|
||||||
},
|
|
||||||
"roles": {
|
"roles": {
|
||||||
"ignore_above": 1024,
|
"ignore_above": 1024,
|
||||||
"type": "keyword",
|
"type": "keyword",
|
||||||
|
|||||||
@@ -75,17 +75,7 @@
|
|||||||
{
|
{
|
||||||
"strings": {
|
"strings": {
|
||||||
"mapping": {
|
"mapping": {
|
||||||
"type": "text",
|
|
||||||
"fields": {
|
|
||||||
"security": {
|
|
||||||
"analyzer": "es_security_analyzer",
|
|
||||||
"type": "text"
|
|
||||||
},
|
|
||||||
"keyword": {
|
|
||||||
"ignore_above": 32765,
|
|
||||||
"type": "keyword"
|
"type": "keyword"
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"match_mapping_type": "string"
|
"match_mapping_type": "string"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -49,15 +49,6 @@
|
|||||||
"user": {
|
"user": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"name": {
|
"name": {
|
||||||
"fields": {
|
|
||||||
"security": {
|
|
||||||
"type": "text",
|
|
||||||
"analyzer": "es_security_analyzer"
|
|
||||||
},
|
|
||||||
"keyword": {
|
|
||||||
"type": "keyword"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"ignore_above": 1024,
|
"ignore_above": 1024,
|
||||||
"type": "keyword"
|
"type": "keyword"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user