Compare commits

...
Author SHA1 Message Date
Mike Reeves 3743173c88 Start the queue with Valkey settings and a longer stop timeout 2026-11-25 10:14:36 -05:00
Matthew Wright 8c899ef367 Merge pull request #16423 from Security-Onion-Solutions/mc-wright/551
Onion AI Notifications Tools
2026-11-24 16:05:43 -05:00
Jason Ertel ad0c0f454b Merge pull request #16424 from Security-Onion-Solutions/jertel/wip
Upgrade registry version
2026-11-24 15:56:05 -05:00
Jason Ertel ba3282a963 Merge branch '3/dev' into jertel/wip 2026-11-24 15:53:27 -05:00
Jason Ertel 462a5d9cd1 upgrade to newer registry 2026-11-24 15:49:18 -05:00
Matthew Wright 7d8edebf0e field reword 2026-11-24 15:39:09 -05:00
Matthew Wright 26d503cb1e query_notifications configurable defaults annotations 2026-11-24 09:36:58 -05:00
Mike Reeves e79b61f7ab Merge pull request #16422 from Security-Onion-Solutions/TOoSmOotH/599
FEATURE: Missing Postgres metrics graphs on the Grid metrics tab
2026-11-23 18:03:29 -05:00
Mike Reeves 5c77862e65 Give Telegraf the host process and mount info for disk and process metrics 2026-11-23 16:07:30 -05:00
Jorge Reyes 5c70f097dc Merge pull request #16414 from Security-Onion-Solutions/reyesj2/612
[expedite] Map event_data numbers and booleans as keyword in detection alerts
2026-11-20 14:43:32 -06:00
reyesj2 1b4a9d2a3f Map event_data numbers and booleans as keyword in detection alerts
Add an event_data.* dynamic template mapping long, double and boolean to keyword, and roll over logs-detections.alerts-so in post_to_3.5.0 so
upgraded grids pick it up immediately.
2026-11-20 14:28:25 -06:00
Jorge Reyes 399219b735 Merge pull request #16406 from Security-Onion-Solutions/reyesj2/589
Fix global_overrides dropped by in-place pillar pop
2026-11-19 08:49:50 -06:00
reyesj2 180a4814f9 Fix global_overrides dropped by in-place pillar pop in template.map.jinja 2026-11-18 10:47:54 -06:00
Jason Ertel 9a0e88f8d2 Merge branch '3/dev' into jertel/wip 2026-11-11 15:42:51 -05:00
reyesj2 d37241376a Surface ILM policy validation errors in highstate
Fail 4xx ILM PUTs immediately (retry 429/5xx/connect), print the
Elasticsearch reason in the salt summary, and retry the load on the
next highstate via /opt/so/state/esilm.txt when the last run failed.

Fixes https://github.com/Security-Onion-Solutions/sos/issues/277
2026-11-11 15:40:50 -05:00
reyesj2 3d8e6d0c6e Wait for Elasticsearch and retry ILM policy loads
Require wait_for_so-elasticsearch, check ES is responsive before
dispatch, and retry each policy PUT so soup no longer fails with
empty output when ES is not ready yet.

Fixes https://github.com/Security-Onion-Solutions/securityonion/issues/16369
2026-11-11 15:40:50 -05:00
reyesj2 ddf168f062 Skip leftover ISO registry.tar when tags do not match SOVERSION
Fixes #16372
2026-11-11 15:40:50 -05:00
Doug Burks 693f7917ae Install securityonion-so-crates on Security Onion Desktop 2026-11-11 15:40:50 -05:00
Mike Reeves 3682e0fde6 Remove x86-64-v3 CPU check from soup 2026-11-11 15:40:50 -05:00
Mike Reeves 161d0d145f Add version 3.5.0 to discussion template 2026-11-11 15:40:50 -05:00
Mike Reeves c04f06af1e Bump version from 3.4.0 to 3.5.0 2026-11-11 15:40:49 -05:00
Mike Reeves 7b2c44e965 3.4.0 2026-11-11 15:40:49 -05:00
Mike Reeves 9895dfbe7f 3.4.0 2026-11-11 15:40:49 -05:00
Corey Ogburn a21d4b5f1b New Configurable Timeouts for Detection Engine Syncs
Each engine now has timeouts for how long to allow a sync to go on after detections are modified.
2026-11-11 15:40:49 -05:00
Mike Reeves f5edb1f6a4 Use the host CA trust store for sensor, strelka and idh containers
Mount the host trust store into zeek, suricata, tcpreplay, the strelka
containers and idh, and restart them when it changes. Point the Python
requests clients in strelka-backend and idh at it instead of certifi.

Remove the frozen /opt/so/conf/ca bundles from every node in ca.trust
rather than only on the manager in soup.
2026-11-11 15:40:49 -05:00
Mike Reeves 708b872583 Use the host CA trust store for all grid containers
Anchor the grid CA and blocklist the eMudhra roots in the host trust
store (new ca.trust state, also used by the desktop role), then mount the
extracted store into each container instead of the frozen copies made by
so-catrust. Containers restart when the host trust changes.
2026-11-11 15:40:49 -05:00
Mike Reeves 844ca33aed Remove unused elasticsearch.p12/sokeys keystore 2026-11-11 15:40:49 -05:00
Josh Patterson 45046b946e Add custom_bind_mounts to so-kafka and so-soc
Every container in docker/defaults.yaml exposes custom_bind_mounts via
soc_docker.yaml, but kafka and soc enabled.sls never appended them to
binds, so the setting was silently ignored for those two containers.
2026-11-11 15:40:49 -05:00
9 changed files with 62 additions and 7 deletions

No files matched your search

+2 -1
View File
@@ -11,7 +11,8 @@
{% set DATA_RETENTION_METHOD = ELASTICSEARCHMERGED.data_retention_method %}
{% set PILLAR_GLOBAL_OVERRIDES = {} %}
{% set ES_INDEX_PILLAR = salt['pillar.get']('elasticsearch:index_settings', {}) %}
{# merge into a copy: pillar.get returns a live reference and this map pops/updates ES_INDEX_PILLAR #}
{% set ES_INDEX_PILLAR = salt['defaults.merge'](salt['pillar.get']('elasticsearch:index_settings', {}), {}, in_place=False) %}
{% if ES_INDEX_PILLAR.global_overrides is defined %}
{% set PILLAR_GLOBAL_OVERRIDES = ES_INDEX_PILLAR.pop('global_overrides') %}
{% endif %}
@@ -140,7 +140,23 @@
}
}
}
}
},
"dynamic_templates": [
{
"event_data_scalars_as_keyword": {
"path_match": "event_data.*",
"match_mapping_type": [
"long",
"double",
"boolean"
],
"mapping": {
"type": "keyword",
"ignore_above": 1024
}
}
}
]
}
},
"_meta": {
+2
View File
@@ -1241,6 +1241,8 @@ remove_localrules_portgroup() {
post_to_3.5.0() {
telegraf_repair
rollover_index "logs-detections.alerts-so"
set_postversion 3.5.0
}
### 3.5.0 End ###
+3 -1
View File
@@ -19,6 +19,8 @@ so-redis:
docker_container.running:
- image: {{ GLOBALS.registry_host }}:5000/{{ GLOBALS.image_repo }}/so-redis:{{ GLOBALS.so_version }}
- restart_policy: unless-stopped
- shutdown_timeout: 180
- stop_timeout: 180
- hostname: so-redis
- user: socore
- networks:
@@ -60,7 +62,7 @@ so-redis:
- {{ ULIMIT.name }}={{ ULIMIT.soft }}:{{ ULIMIT.hard }}
{% endfor %}
{% endif %}
- entrypoint: "redis-server /usr/local/etc/redis/redis.conf"
- entrypoint: "redis-server /usr/local/etc/redis/redis.conf --rdb-version-check relaxed"
- watch:
- cmd: ca_trust_extract
- file: trusttheca
+1 -1
View File
@@ -18,7 +18,7 @@ include:
# Install the registry container
so-dockerregistry:
docker_container.running:
- image: ghcr.io/security-onion-solutions/registry:3.1.1
- image: ghcr.io/security-onion-solutions/registry:3.1.2
# Intentionally `always`-- registry is critical and must
# come back up even if it was manually stopped.
- restart_policy: always
+6
View File
@@ -1638,6 +1638,12 @@ soc:
- "user.effective.name"
- "weird.name"
- "tags"
queryNotifications:
defaultLimit: 10
maxLimit: 50
summaryMaxLength: 1000
fieldValueMaxLength: 200
maxEntries: 25
onionconfig:
saltstackDir: /opt/so/saltstack
bypassEnabled: false
+26
View File
@@ -1112,6 +1112,32 @@ soc:
description: A whitelist of fields to return when OnionAI uses the query_events tool. All other fields are removed. One field per line.
global: True
multiline: True
queryNotifications:
defaultLimit:
description: Number of notifications Onion AI reads with the query_notifications tool when it doesn't ask for a specific number. Must be greater than 0. Values above maxLimit use maxLimit.
global: True
advanced: True
forcedType: int
maxLimit:
description: Maximum number of notifications Onion AI may read with one query_notifications call. Must be greater than 0. Higher values put more notification text into the model's context.
global: True
advanced: True
forcedType: int
summaryMaxLength:
description: Maximum number of characters of each notification summary that query_notifications returns to Onion AI. Must be greater than 0. Longer summaries are shortened.
global: True
advanced: True
forcedType: int
fieldValueMaxLength:
description: Maximum number of characters of each notification field value that query_notifications returns to Onion AI. Must be greater than 0. Longer values are shortened. Link values are never shortened.
global: True
advanced: True
forcedType: int
maxEntries:
description: Maximum number of fields, of links, and of attachment names, each counted separately, per notification that query_notifications returns to Onion AI. Must be greater than 0. The result tells Onion AI how many were left out.
global: True
advanced: True
forcedType: int
client:
assistant:
enabled:
+2
View File
@@ -24,6 +24,8 @@ so-telegraf:
- environment:
- HOST_ETC=/host/etc
- HOST_SYS=/host/sys
- HOST_PROC=/host/proc
- HOST_PROC_MOUNTINFO=/proc/1
- HOST_MOUNT_PREFIX=/host
- GODEBUG=x509ignoreCN=0
{% if DOCKERMERGED.containers['so-telegraf'].extra_env %}
+3 -3
View File
@@ -9,9 +9,9 @@ export REDISCLI_AUTH={{ REDIS_PASS }}
# if this script isn't already running
if [[ ! "`pidof -x $(basename $0) -o %PPID`" ]]; then
UNPARSED=$(redis-cli llen logstash:unparsed | awk '{print $1}')
PARSED=$(redis-cli llen logstash:parsed | awk '{print $1}')
MEM_USED=$(redis-cli info memory | grep used_memory_peak_perc | cut -d ":" -f2 | sed "s/%//")
UNPARSED=$(valkey-cli llen logstash:unparsed | awk '{print $1}')
PARSED=$(valkey-cli llen logstash:parsed | awk '{print $1}')
MEM_USED=$(valkey-cli info memory | grep used_memory_peak_perc | cut -d ":" -f2 | sed "s/%//")
echo "redisqueue unparsed=$UNPARSED,parsed=$PARSED,mem_used=$MEM_USED"