mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-27 19:33:14 +01:00
529 lines
11 KiB
JSON
529 lines
11 KiB
JSON
{
|
|
"index_patterns": ["so-ids-*", "so-firewall-*", "so-syslog-*", "so-zeek-*", "so-import-*", "so-ossec-*", "so-strelka-*", "so-beats-*", "so-osquery-*","so-playbook-*"],
|
|
"version":50001,
|
|
"order":10,
|
|
"settings":{
|
|
"number_of_replicas":0,
|
|
"number_of_shards":1,
|
|
"index.refresh_interval":"30s",
|
|
"index.routing.allocation.require.box_type":"hot",
|
|
"index.mapping.total_fields.limit": "1500",
|
|
"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":{
|
|
"dynamic":false,
|
|
"date_detection":false,
|
|
"dynamic_templates": [
|
|
{
|
|
"ip_address": {
|
|
"match_mapping_type": "string",
|
|
"path_match": "*.ip",
|
|
"mapping": {
|
|
"type": "ip",
|
|
"fields" : {
|
|
"keyword" : {
|
|
"ignore_above" : 45,
|
|
"type" : "keyword"
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"port": {
|
|
"path_match": "*.port",
|
|
"mapping": {
|
|
"type": "integer",
|
|
"fields" : {
|
|
"keyword" : {
|
|
"ignore_above" : 6,
|
|
"type" : "keyword"
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"strings": {
|
|
"match_mapping_type": "string",
|
|
"mapping": {
|
|
"type": "text",
|
|
"fields": {
|
|
"keyword": {
|
|
"ignore_above": 32765,
|
|
"type": "keyword"
|
|
},
|
|
"security": {
|
|
"type": "text",
|
|
"analyzer": "es_security_analyzer"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}],
|
|
"properties":{
|
|
"@timestamp":{
|
|
"type":"date"
|
|
},
|
|
"@version":{
|
|
"type":"keyword"
|
|
},
|
|
"osquery":{
|
|
"type":"object",
|
|
"dynamic":true
|
|
},
|
|
"geoip":{
|
|
"dynamic":true,
|
|
"properties":{
|
|
"ip":{
|
|
"type":"ip"
|
|
},
|
|
"location":{
|
|
"type":"geo_point"
|
|
},
|
|
"latitude":{
|
|
"type":"half_float"
|
|
},
|
|
"longitude":{
|
|
"type":"half_float"
|
|
}
|
|
}
|
|
},
|
|
"destination_geo":{
|
|
"dynamic":true,
|
|
"properties":{
|
|
"ip":{
|
|
"type":"ip"
|
|
},
|
|
"location":{
|
|
"type":"geo_point"
|
|
},
|
|
"latitude":{
|
|
"type":"half_float"
|
|
},
|
|
"longitude":{
|
|
"type":"half_float"
|
|
}
|
|
}
|
|
},
|
|
"source_geo":{
|
|
"dynamic":true,
|
|
"properties":{
|
|
"ip":{
|
|
"type":"ip"
|
|
},
|
|
"location":{
|
|
"type":"geo_point"
|
|
},
|
|
"latitude":{
|
|
"type":"half_float"
|
|
},
|
|
"longitude":{
|
|
"type":"half_float"
|
|
}
|
|
}
|
|
},
|
|
"agent":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"as":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"alert":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"client":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"cloud":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"code_signature":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"connection":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"container":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"data":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"dce_rpc":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"destination":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"dhcp":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"dnp3":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"dns":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"dll":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"ecs":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"error":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"event":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"file":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"flow":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"ftp":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"geo":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"group":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"hash":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"host":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"http":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"import":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"ingest":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"intel":{
|
|
"type":"object",
|
|
"dynamic": true,
|
|
"properties":{
|
|
"indicator":{
|
|
"type":"text",
|
|
"fields":{
|
|
"keyword":{
|
|
"type":"keyword"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"interface":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"ip":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"irc":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"kerberos":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"log":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"manager":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"message":{
|
|
"type":"text",
|
|
"fields":{
|
|
"keyword":{
|
|
"type":"keyword"
|
|
}
|
|
}
|
|
},
|
|
"modbus":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"mysql":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"network":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"notice":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"ntlm":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"observer":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"organization":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"os":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"package":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"pe":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"process":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"radius":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"rdp":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"registry":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"related":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"request":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"result":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"rfb":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"rule":{
|
|
"type":"object",
|
|
"dynamic":true,
|
|
"properties":{
|
|
"score":{
|
|
"type":"long"
|
|
},
|
|
"uuid":{
|
|
"type":"keyword"
|
|
}
|
|
}
|
|
},
|
|
"scan":{
|
|
"type":"object",
|
|
"dynamic": true,
|
|
"properties":{
|
|
"exiftool":{
|
|
"type":"text"
|
|
}
|
|
}
|
|
},
|
|
"server":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"service":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"sip":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"smb":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"smtp":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"snmp":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"socks":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"software":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"source":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"ssh":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"ssl":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"syslog":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"tags":{
|
|
"type":"text",
|
|
"fields":{
|
|
"keyword":{
|
|
"type":"keyword"
|
|
}
|
|
}
|
|
},
|
|
"threat":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"tls":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"trace":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"tunnel":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"user":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"user_agent":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"version":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"vlan":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"vulnerability":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"weird":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
},
|
|
"winlog":{
|
|
"type":"object",
|
|
"dynamic": true,
|
|
"properties":{
|
|
"event_id":{
|
|
"type":"long"
|
|
},
|
|
"event_data":{
|
|
"type":"object"
|
|
},
|
|
"version":{
|
|
"type":"long"
|
|
}
|
|
}
|
|
},
|
|
"x509":{
|
|
"type":"object",
|
|
"dynamic": true
|
|
}
|
|
}
|
|
}
|
|
}
|