Compare commits

..
Author SHA1 Message Date
Josh Patterson 2d02beb752 Require a unit suffix on Logstash and Elasticsearch heap settings and keep them correctable in SOC 2026-12-02 16:14:39 -05:00
Jorge Reyes df44fe7670 Merge pull request #16437 from Security-Onion-Solutions/reyesj2-patch-5
so-log-check false positive
2026-12-02 14:12:43 -06:00
reyesj2 2773b8479f so-log-check false positive 2026-12-02 14:08:10 -06:00
Mike Reeves da7bdd63cd Merge pull request #16432 from Security-Onion-Solutions/TOoSmOotH/597
FEATURE: Built-in Postgres alarms matching the InfluxDB alarms
2026-12-02 12:29:26 -05:00
Josh Patterson 5a59a83fef Merge pull request #16417 from Security-Onion-Solutions/m0duspwnens/598
FIX: Auto-applied pushes fail after a salt-master restart or on a newly added node
2026-12-02 11:08:54 -05:00
Mike Reeves dfcfa580e5 Add example alarm definitions to SOC grid settings 2026-12-02 10:22:17 -05:00
Jason Ertel 99ee0d9750 Merge pull request #16436 from Security-Onion-Solutions/jertel/wip
avoid false positive log check
2026-12-02 09:39:45 -05:00
Jason Ertel 80c5c38cd5 avoid false positive log check 2026-12-02 09:36:08 -05:00
Mike Reeves 4fa5b48035 Add example alarm definitions to SOC grid settings 2026-12-01 15:41:31 -05:00
Mike Reeves ce91c5249b Add example alarm definitions to SOC grid settings 2026-11-30 17:53:28 -05:00
5 changed files with 129 additions and 3 deletions

No files matched your search

+2
View File
@@ -164,6 +164,7 @@ if [[ $EXCLUDE_FALSE_POSITIVE_ERRORS == 'Y' ]]; then
EXCLUDED_ERRORS="$EXCLUDED_ERRORS|syncing rule" # false positive (rule sync log line includes rule name which can contain 'error')
EXCLUDED_ERRORS="$EXCLUDED_ERRORS|request_unauthorized" # false positive (login failures to Hydra result in an 'error' log)
EXCLUDED_ERRORS="$EXCLUDED_ERRORS|adding index lifecycle policy" # false positive (elasticsearch policy names contain 'error')
EXCLUDED_ERRORS="$EXCLUDED_ERRORS|updating index lifecycle policy" # false positive (elasticsearch policy names contain 'error')
EXCLUDED_ERRORS="$EXCLUDED_ERRORS|adding ingest pipeline" # false positive (elasticsearch ingest pipeline names contain 'error')
EXCLUDED_ERRORS="$EXCLUDED_ERRORS|updating index template" # false positive (elasticsearch index or template names contain 'error')
EXCLUDED_ERRORS="$EXCLUDED_ERRORS|updating component template" # false positive (elasticsearch index or template names contain 'error')
@@ -179,6 +180,7 @@ if [[ $EXCLUDE_FALSE_POSITIVE_ERRORS == 'Y' ]]; then
EXCLUDED_ERRORS="$EXCLUDED_ERRORS|Static assets preprocessor only supports GET and HEAD requests" # expected WARN log lines indicating invalid auth header
EXCLUDED_ERRORS="$EXCLUDED_ERRORS|respondError" # respondError is a function name, output via http middleware as standard request logging
EXCLUDED_ERRORS="$EXCLUDED_ERRORS|GET /kibana/" # Ignore Kibana queries with triggered words
EXCLUDED_ERRORS="$EXCLUDED_ERRORS|error-logs" # Elastic indexes can contain error-logs in their names, which can trigger false positives in log checks
fi
if [[ $EXCLUDE_KNOWN_ERRORS == 'Y' ]]; then
+4 -1
View File
@@ -17,7 +17,10 @@ elasticsearch:
global: True
advanced: True
esheap:
description: Specify the memory heap size in (m)egabytes for Elasticsearch.
description: Heap size to use for Elasticsearch, as a number followed by m (megabytes) or g (gigabytes), such as 600m.
forcedType: string
regex: ^[1-9][0-9]*[mMgG]$
regexFailureMessage: Must be a number followed by m or g, such as 600m.
helpLink: elasticsearch
index_clean:
description: Determines if indices should be considered for deletion by available disk space in the cluster. Otherwise, data is retained by the configured lifecycle settings. This setting only applies to EVAL, STANDALONE, and HEAVY NODE installations. Other installations use lifecycle settings only.
+5 -2
View File
@@ -403,8 +403,11 @@ logstash:
custom8: *pipeline_settings
custom9: *pipeline_settings
settings:
lsheap:
description: Heap size to use for logstash
lsheap:
description: Heap size to use for Logstash, as a number followed by m (megabytes) or g (gigabytes), such as 500m.
forcedType: string
regex: ^[1-9][0-9]*[mMgG]$
regexFailureMessage: Must be a number followed by m or g, such as 500m.
helpLink: logstash
global: False
config:
+55
View File
@@ -2557,6 +2557,61 @@ soc:
grid:
maxUploadSize: 26214400
staleMetricsMs: 120000
recommendedAlarms:
- name: Root Disk Usage
metric: disk
metricKey: disk_used_root
operator: gt
threshold: '95'
durationSeconds: 300
severity: critical
clearedSeverity: info
enabled: true
- name: NSM Disk Usage
metric: disk
metricKey: disk_used_nsm
operator: gt
threshold: '95'
durationSeconds: 300
severity: critical
clearedSeverity: info
enabled: true
- name: Low PCAP Retention
metric: pcap_retention
metricKey: pcap_retention
operator: lt
threshold: '1'
durationSeconds: 300
severity: critical
clearedSeverity: info
enabled: true
- name: Suricata Packet Loss
metric: loss
metricKey: suricata_loss
operator: gt
threshold: '5'
durationSeconds: 300
severity: critical
clearedSeverity: info
enabled: true
- name: Zeek Packet Loss
metric: loss
metricKey: zeek_loss
operator: gt
threshold: '5'
durationSeconds: 300
severity: critical
clearedSeverity: info
enabled: true
- name: Low Monitor Traffic
metric: net
metricKey: traffic_mon_in
operator: lt
threshold: '5'
durationSeconds: 300
severity: critical
clearedSeverity: info
enabled: true
cases:
advanced: false
aggregationActionsEnabled: false
+63
View File
@@ -1343,6 +1343,69 @@ soc:
staleMetricsMs:
description: The age in milliseconds of node metrics when they are considered stale. Stale metrics have a faded appearance on the Grid screen.
global: True
recommendedAlarms:
description: Recommended alarms offered on the Grid page's Alarms tab and Options dialog.
global: True
advanced: True
forcedType: "[]{}"
syntax: json
helpLink: grid
uiElements:
- field: name
label: Name
required: True
- field: metric
label: Metric
required: True
- field: metricKey
label: Metric Key
required: False
- field: operator
label: Operator
required: True
options:
- gt
- gte
- lt
- lte
- eq
- ne
- contains
- field: threshold
label: Threshold
required: True
forcedType: string
- field: durationSeconds
label: Duration Seconds
required: False
forcedType: int
- field: severity
label: Severity
required: True
options:
- critical
- high
- medium
- low
- info
- field: clearedSeverity
label: Cleared Severity
required: False
options:
- none
- critical
- high
- medium
- low
- info
- field: enabled
label: Enabled
required: False
forcedType: bool
- field: note
label: Note
required: False
multiline: True
case:
analyzerNodeId:
description: The node ID on which analyzers will be executed.