mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 10:12:53 +01:00
Merge remote-tracking branch 'remotes/origin/2.4/dev' into reyesj2/kafka
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
. /usr/sbin/so-common
|
. /usr/sbin/so-common
|
||||||
. /usr/sbin/so-image-common
|
. /usr/sbin/so-image-common
|
||||||
|
|
||||||
REPLAYIFACE=${REPLAYIFACE:-$(lookup_pillar interface sensor)}
|
REPLAYIFACE=${REPLAYIFACE:-"{{salt['pillar.get']('sensor:interface', '')}}"}
|
||||||
REPLAYSPEED=${REPLAYSPEED:-10}
|
REPLAYSPEED=${REPLAYSPEED:-10}
|
||||||
|
|
||||||
mkdir -p /opt/so/samples
|
mkdir -p /opt/so/samples
|
||||||
@@ -170,6 +170,78 @@ elasticsearch:
|
|||||||
set_priority:
|
set_priority:
|
||||||
priority: 50
|
priority: 50
|
||||||
min_age: 30d
|
min_age: 30d
|
||||||
|
so-items:
|
||||||
|
index_sorting: false
|
||||||
|
index_template:
|
||||||
|
composed_of:
|
||||||
|
- so-items-mappings
|
||||||
|
index_patterns:
|
||||||
|
- .items-default-**
|
||||||
|
priority: 500
|
||||||
|
template:
|
||||||
|
mappings:
|
||||||
|
date_detection: false
|
||||||
|
settings:
|
||||||
|
index:
|
||||||
|
lifecycle:
|
||||||
|
name: so-items-logs
|
||||||
|
rollover_alias: ".items-default"
|
||||||
|
routing:
|
||||||
|
allocation:
|
||||||
|
include:
|
||||||
|
_tier_preference: "data_content"
|
||||||
|
mapping:
|
||||||
|
total_fields:
|
||||||
|
limit: 10000
|
||||||
|
number_of_replicas: 0
|
||||||
|
number_of_shards: 1
|
||||||
|
refresh_interval: 30s
|
||||||
|
sort:
|
||||||
|
field: '@timestamp'
|
||||||
|
order: desc
|
||||||
|
policy:
|
||||||
|
phases:
|
||||||
|
hot:
|
||||||
|
actions:
|
||||||
|
rollover:
|
||||||
|
max_size: 50gb
|
||||||
|
min_age: 0ms
|
||||||
|
so-lists:
|
||||||
|
index_sorting: false
|
||||||
|
index_template:
|
||||||
|
composed_of:
|
||||||
|
- so-lists-mappings
|
||||||
|
index_patterns:
|
||||||
|
- .lists-default-**
|
||||||
|
priority: 500
|
||||||
|
template:
|
||||||
|
mappings:
|
||||||
|
date_detection: false
|
||||||
|
settings:
|
||||||
|
index:
|
||||||
|
lifecycle:
|
||||||
|
name: so-lists-logs
|
||||||
|
rollover_alias: ".lists-default"
|
||||||
|
routing:
|
||||||
|
allocation:
|
||||||
|
include:
|
||||||
|
_tier_preference: "data_content"
|
||||||
|
mapping:
|
||||||
|
total_fields:
|
||||||
|
limit: 10000
|
||||||
|
number_of_replicas: 0
|
||||||
|
number_of_shards: 1
|
||||||
|
refresh_interval: 30s
|
||||||
|
sort:
|
||||||
|
field: '@timestamp'
|
||||||
|
order: desc
|
||||||
|
policy:
|
||||||
|
phases:
|
||||||
|
hot:
|
||||||
|
actions:
|
||||||
|
rollover:
|
||||||
|
max_size: 50gb
|
||||||
|
min_age: 0ms
|
||||||
so-case:
|
so-case:
|
||||||
index_sorting: false
|
index_sorting: false
|
||||||
index_template:
|
index_template:
|
||||||
|
|||||||
@@ -0,0 +1,112 @@
|
|||||||
|
{
|
||||||
|
"template": {
|
||||||
|
"mappings": {
|
||||||
|
"dynamic": "strict",
|
||||||
|
"properties": {
|
||||||
|
"binary": {
|
||||||
|
"type": "binary"
|
||||||
|
},
|
||||||
|
"boolean": {
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
|
"byte": {
|
||||||
|
"type": "byte"
|
||||||
|
},
|
||||||
|
"created_at": {
|
||||||
|
"type": "date"
|
||||||
|
},
|
||||||
|
"created_by": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"date": {
|
||||||
|
"type": "date"
|
||||||
|
},
|
||||||
|
"date_nanos": {
|
||||||
|
"type": "date_nanos"
|
||||||
|
},
|
||||||
|
"date_range": {
|
||||||
|
"type": "date_range"
|
||||||
|
},
|
||||||
|
"deserializer": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"double": {
|
||||||
|
"type": "double"
|
||||||
|
},
|
||||||
|
"double_range": {
|
||||||
|
"type": "double_range"
|
||||||
|
},
|
||||||
|
"float": {
|
||||||
|
"type": "float"
|
||||||
|
},
|
||||||
|
"float_range": {
|
||||||
|
"type": "float_range"
|
||||||
|
},
|
||||||
|
"geo_point": {
|
||||||
|
"type": "geo_point"
|
||||||
|
},
|
||||||
|
"geo_shape": {
|
||||||
|
"type": "geo_shape"
|
||||||
|
},
|
||||||
|
"half_float": {
|
||||||
|
"type": "half_float"
|
||||||
|
},
|
||||||
|
"integer": {
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
|
"integer_range": {
|
||||||
|
"type": "integer_range"
|
||||||
|
},
|
||||||
|
"ip": {
|
||||||
|
"type": "ip"
|
||||||
|
},
|
||||||
|
"ip_range": {
|
||||||
|
"type": "ip_range"
|
||||||
|
},
|
||||||
|
"keyword": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"list_id": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"long": {
|
||||||
|
"type": "long"
|
||||||
|
},
|
||||||
|
"long_range": {
|
||||||
|
"type": "long_range"
|
||||||
|
},
|
||||||
|
"meta": {
|
||||||
|
"type": "object",
|
||||||
|
"enabled": false
|
||||||
|
},
|
||||||
|
"serializer": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"shape": {
|
||||||
|
"type": "shape"
|
||||||
|
},
|
||||||
|
"short": {
|
||||||
|
"type": "short"
|
||||||
|
},
|
||||||
|
"text": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"tie_breaker_id": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"updated_at": {
|
||||||
|
"type": "date"
|
||||||
|
},
|
||||||
|
"updated_by": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"aliases": {}
|
||||||
|
},
|
||||||
|
"version": 2,
|
||||||
|
"_meta": {
|
||||||
|
"managed": true,
|
||||||
|
"description": "default mappings for the .items index template installed by Kibana/Security"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,55 @@
|
|||||||
|
{
|
||||||
|
"template": {
|
||||||
|
"mappings": {
|
||||||
|
"dynamic": "strict",
|
||||||
|
"properties": {
|
||||||
|
"created_at": {
|
||||||
|
"type": "date"
|
||||||
|
},
|
||||||
|
"created_by": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"deserializer": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"immutable": {
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
|
"meta": {
|
||||||
|
"type": "object",
|
||||||
|
"enabled": false
|
||||||
|
},
|
||||||
|
"name": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"serializer": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"tie_breaker_id": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"type": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"updated_at": {
|
||||||
|
"type": "date"
|
||||||
|
},
|
||||||
|
"updated_by": {
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"version": {
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"aliases": {}
|
||||||
|
},
|
||||||
|
"version": 2,
|
||||||
|
"_meta": {
|
||||||
|
"managed": true,
|
||||||
|
"description": "default mappings for the .lists index template installed by Kibana/Security"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
# version cannot be used elsewhere in this pillar as soup is grepping for it to determine if Salt needs to be patched
|
# version cannot be used elsewhere in this pillar as soup is grepping for it to determine if Salt needs to be patched
|
||||||
salt:
|
salt:
|
||||||
master:
|
master:
|
||||||
version: 3006.8
|
version: 3006.6
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# version cannot be used elsewhere in this pillar as soup is grepping for it to determine if Salt needs to be patched
|
# version cannot be used elsewhere in this pillar as soup is grepping for it to determine if Salt needs to be patched
|
||||||
salt:
|
salt:
|
||||||
minion:
|
minion:
|
||||||
version: 3006.8
|
version: 3006.6
|
||||||
check_threshold: 3600 # in seconds, threshold used for so-salt-minion-check. any value less than 600 seconds may cause a lot of salt-minion restarts since the job to touch the file occurs every 5-8 minutes by default
|
check_threshold: 3600 # in seconds, threshold used for so-salt-minion-check. any value less than 600 seconds may cause a lot of salt-minion restarts since the job to touch the file occurs every 5-8 minutes by default
|
||||||
service_start_delay: 30 # in seconds.
|
service_start_delay: 30 # in seconds.
|
||||||
|
|||||||
@@ -9,4 +9,4 @@ execute_checksum:
|
|||||||
cmd.run:
|
cmd.run:
|
||||||
- name: /etc/NetworkManager/dispatcher.d/pre-up.d/99-so-checksum-offload-disable
|
- name: /etc/NetworkManager/dispatcher.d/pre-up.d/99-so-checksum-offload-disable
|
||||||
- onchanges:
|
- onchanges:
|
||||||
- file: offload_script
|
- file: offload_script
|
||||||
|
|||||||
Reference in New Issue
Block a user