mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Merge pull request #13407 from Security-Onion-Solutions/fix/merge_revert
Add removed changes
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
"package": {
|
"package": {
|
||||||
"name": "endpoint",
|
"name": "endpoint",
|
||||||
"title": "Elastic Defend",
|
"title": "Elastic Defend",
|
||||||
"version": "8.10.2"
|
"version": "8.14.0"
|
||||||
},
|
},
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"policy_id": "endpoints-initial",
|
"policy_id": "endpoints-initial",
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
"enabled": true,
|
"enabled": true,
|
||||||
"vars": {
|
"vars": {
|
||||||
"channel": "Microsoft-Windows-Windows Defender/Operational",
|
"channel": "Microsoft-Windows-Windows Defender/Operational",
|
||||||
"data_stream.dataset": "winlog.winlog",
|
"data_stream.dataset": "winlog.winlogs",
|
||||||
"preserve_original_event": false,
|
"preserve_original_event": false,
|
||||||
"providers": [],
|
"providers": [],
|
||||||
"ignore_older": "72h",
|
"ignore_older": "72h",
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -530,6 +530,58 @@ elasticsearch:
|
|||||||
so-strelka: *indexSettings
|
so-strelka: *indexSettings
|
||||||
so-syslog: *indexSettings
|
so-syslog: *indexSettings
|
||||||
so-zeek: *indexSettings
|
so-zeek: *indexSettings
|
||||||
|
so-metrics-fleet_server_x_agent_status: &fleetMetricsSettings
|
||||||
|
index_sorting:
|
||||||
|
description: Sorts the index by event time, at the cost of additional processing resource consumption.
|
||||||
|
advanced: True
|
||||||
|
readonly: True
|
||||||
|
helpLink: elasticsearch.html
|
||||||
|
index_template:
|
||||||
|
ignore_missing_component_templates:
|
||||||
|
description: Ignore component templates if they aren't in Elasticsearch.
|
||||||
|
advanced: True
|
||||||
|
readonly: True
|
||||||
|
helpLink: elasticsearch.html
|
||||||
|
index_patterns:
|
||||||
|
description: Patterns for matching multiple indices or tables.
|
||||||
|
advanced: True
|
||||||
|
readonly: True
|
||||||
|
helpLink: elasticsearch.html
|
||||||
|
template:
|
||||||
|
settings:
|
||||||
|
index:
|
||||||
|
mode:
|
||||||
|
description: Type of mode used for this index. Time series indices can be used for metrics to reduce necessary storage.
|
||||||
|
advanced: True
|
||||||
|
readonly: True
|
||||||
|
helpLink: elasticsearch.html
|
||||||
|
number_of_replicas:
|
||||||
|
description: Number of replicas required for this index. Multiple replicas protects against data loss, but also increases storage costs.
|
||||||
|
advanced: True
|
||||||
|
readonly: True
|
||||||
|
helpLink: elasticsearch.html
|
||||||
|
composed_of:
|
||||||
|
description: The index template is composed of these component templates.
|
||||||
|
advanced: True
|
||||||
|
readonly: True
|
||||||
|
helpLink: elasticsearch.html
|
||||||
|
priority:
|
||||||
|
description: The priority of the index template.
|
||||||
|
advanced: True
|
||||||
|
readonly: True
|
||||||
|
helpLink: elasticsearch.html
|
||||||
|
data_stream:
|
||||||
|
hidden:
|
||||||
|
description: Hide the data stream.
|
||||||
|
advanced: True
|
||||||
|
readonly: True
|
||||||
|
helpLink: elasticsearch.html
|
||||||
|
allow_custom_routing:
|
||||||
|
description: Allow custom routing for the data stream.
|
||||||
|
advanced: True
|
||||||
|
readonly: True
|
||||||
|
helpLink: elasticsearch.html
|
||||||
|
so-metrics-fleet_server_x_agent_versions: *fleetMetricsSettings
|
||||||
so_roles:
|
so_roles:
|
||||||
so-manager: &soroleSettings
|
so-manager: &soroleSettings
|
||||||
config:
|
config:
|
||||||
|
|||||||
@@ -134,7 +134,7 @@ if [ ! -f $STATE_FILE_SUCCESS ]; then
|
|||||||
TEMPLATE=${i::-14}
|
TEMPLATE=${i::-14}
|
||||||
COMPONENT_PATTERN=${TEMPLATE:3}
|
COMPONENT_PATTERN=${TEMPLATE:3}
|
||||||
MATCH=$(echo "$TEMPLATE" | grep -E "^so-logs-|^so-metrics" | grep -vE "detections|osquery")
|
MATCH=$(echo "$TEMPLATE" | grep -E "^so-logs-|^so-metrics" | grep -vE "detections|osquery")
|
||||||
if [[ -n "$MATCH" && ! "$COMPONENT_LIST" =~ "$COMPONENT_PATTERN" ]]; then
|
if [[ -n "$MATCH" && ! "$COMPONENT_LIST" =~ "$COMPONENT_PATTERN" && ! "$COMPONENT_PATTERN" =~ logs-http_endpoint\.generic|logs-winlog\.winlog ]]; then
|
||||||
load_failures=$((load_failures+1))
|
load_failures=$((load_failures+1))
|
||||||
echo "Component template does not exist for $COMPONENT_PATTERN. The index template will not be loaded. Load failures: $load_failures"
|
echo "Component template does not exist for $COMPONENT_PATTERN. The index template will not be loaded. Load failures: $load_failures"
|
||||||
else
|
else
|
||||||
@@ -153,7 +153,7 @@ if [ ! -f $STATE_FILE_SUCCESS ]; then
|
|||||||
cd - >/dev/null
|
cd - >/dev/null
|
||||||
|
|
||||||
if [[ $load_failures -eq 0 ]]; then
|
if [[ $load_failures -eq 0 ]]; then
|
||||||
echo "All template loaded successfully"
|
echo "All templates loaded successfully"
|
||||||
touch $STATE_FILE_SUCCESS
|
touch $STATE_FILE_SUCCESS
|
||||||
else
|
else
|
||||||
echo "Encountered $load_failures templates that were unable to load, likely due to missing dependencies that will be available later; will retry on next highstate"
|
echo "Encountered $load_failures templates that were unable to load, likely due to missing dependencies that will be available later; will retry on next highstate"
|
||||||
|
|||||||
Reference in New Issue
Block a user