mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-10-14 18:25:40 +02:00
Compare commits
9
Commits
fix/socmerge
...
3/dev
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7121531336 | ||
|
|
ff2b46b73e | ||
|
|
b158a38099 | ||
|
|
26f5d07435 | ||
|
|
747abeed79 | ||
|
|
1bcf80dd10 | ||
|
|
e7d7676a90 | ||
|
|
3304aff62b | ||
|
|
7469d833d1 |
No files matched your search
@@ -1545,7 +1545,6 @@ soc:
|
|||||||
Investigator: haiku@SOAI
|
Investigator: haiku@SOAI
|
||||||
DetectionEngineer: haiku@SOAI
|
DetectionEngineer: haiku@SOAI
|
||||||
AlertTriage: haiku@SOAI
|
AlertTriage: haiku@SOAI
|
||||||
Notifier: haiku@SOAI
|
|
||||||
useMemory: false
|
useMemory: false
|
||||||
useMemoryScanner: false
|
useMemoryScanner: false
|
||||||
dontScanBefore: ""
|
dontScanBefore: ""
|
||||||
@@ -2527,6 +2526,9 @@ soc:
|
|||||||
queries:
|
queries:
|
||||||
- name: 'Group By Name, Module'
|
- name: 'Group By Name, Module'
|
||||||
query: '* | groupby rule.name event.module* event.severity_label rule.uuid'
|
query: '* | groupby rule.name event.module* event.severity_label rule.uuid'
|
||||||
|
- name: 'Group By Assessment, Name'
|
||||||
|
query: '* | groupby event.so_alerttriage.assessment rule.name event.severity_label rule.uuid'
|
||||||
|
license: oai
|
||||||
- name: 'Group By Sensor, Source IP/Port, Destination IP/Port, Name'
|
- name: 'Group By Sensor, Source IP/Port, Destination IP/Port, Name'
|
||||||
query: '* | groupby observer.name source.ip source.port destination.ip destination.port rule.name network.community_id event.severity_label rule.uuid'
|
query: '* | groupby observer.name source.ip source.port destination.ip destination.port rule.name network.community_id event.severity_label rule.uuid'
|
||||||
- name: 'Group By Source IP, Name'
|
- name: 'Group By Source IP, Name'
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
{% do SOCMERGED.config.server.update({'additionalCA': MANAGERMERGED.additionalCA}) %}
|
{% do SOCMERGED.config.server.update({'additionalCA': MANAGERMERGED.additionalCA}) %}
|
||||||
{% do SOCMERGED.config.server.update({'insecureSkipVerify': MANAGERMERGED.insecureSkipVerify}) %}
|
{% do SOCMERGED.config.server.update({'insecureSkipVerify': MANAGERMERGED.insecureSkipVerify}) %}
|
||||||
|
|
||||||
{# pillar.get replaces lists instead of merging them, so combine availableModels by id #}
|
{# pillar.get replaces lists instead of merging them, so combine availableModels by id and alerts queries by name #}
|
||||||
{% set default_models = {} %}
|
{% set default_models = {} %}
|
||||||
{% for m in SOCDEFAULTS.config.server.client.assistant.availableModels %}
|
{% for m in SOCDEFAULTS.config.server.client.assistant.availableModels %}
|
||||||
{% do default_models.setdefault(m.id, m) %}
|
{% do default_models.setdefault(m.id, m) %}
|
||||||
@@ -41,6 +41,24 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% do SOCMERGED.config.server.client.assistant.update({'availableModels': merged_models}) %}
|
{% do SOCMERGED.config.server.client.assistant.update({'availableModels': merged_models}) %}
|
||||||
|
|
||||||
|
{% set default_queries = {} %}
|
||||||
|
{% for q in SOCDEFAULTS.config.server.client.alerts.queries %}
|
||||||
|
{% do default_queries.setdefault(q.name, q) %}
|
||||||
|
{% endfor %}
|
||||||
|
{% set merged_queries = [] %}
|
||||||
|
{% set merged_names = [] %}
|
||||||
|
{% for q in SOCMERGED.config.server.client.alerts.queries or [] %}
|
||||||
|
{% set query = {} %}
|
||||||
|
{% do query.update(default_queries.get(q.get('name'), {})) %}
|
||||||
|
{% do query.update(q) %}
|
||||||
|
{% do merged_queries.append(query) %}
|
||||||
|
{% do merged_names.append(q.get('name')) %}
|
||||||
|
{% endfor %}
|
||||||
|
{% for name, q in default_queries.items() if name not in merged_names %}
|
||||||
|
{% do merged_queries.append(q) %}
|
||||||
|
{% endfor %}
|
||||||
|
{% do SOCMERGED.config.server.client.alerts.update({'queries': merged_queries}) %}
|
||||||
|
|
||||||
{% if not SOCMERGED.config.server.modules.postgres.host %}
|
{% if not SOCMERGED.config.server.modules.postgres.host %}
|
||||||
{% do SOCMERGED.config.server.modules.postgres.update({'host': GLOBALS.manager}) %}
|
{% do SOCMERGED.config.server.modules.postgres.update({'host': GLOBALS.manager}) %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -954,10 +954,7 @@ soc:
|
|||||||
description: This agent manages detections and their overrides, including tuning noisy rules and authoring rule content.
|
description: This agent manages detections and their overrides, including tuning noisy rules and authoring rule content.
|
||||||
global: True
|
global: True
|
||||||
AlertTriage:
|
AlertTriage:
|
||||||
description: This agent triages alerts autonomously for the Alert Triage automation, ending each run with a report and an assessment of the alert. It can notify through the Notifier but cannot acknowledge alerts or escalate to cases.
|
description: This agent triages alerts autonomously for the Alert Triage automation, ending each run with a report and an assessment of the alert. It can send a notification but cannot acknowledge alerts or escalate to cases.
|
||||||
global: True
|
|
||||||
Notifier:
|
|
||||||
description: This agent sends a single notification on behalf of another agent, such as AlertTriage, and takes no other action.
|
|
||||||
global: True
|
global: True
|
||||||
useMemory:
|
useMemory:
|
||||||
description: Enables the Memory system for OnionAI
|
description: Enables the Memory system for OnionAI
|
||||||
@@ -1229,6 +1226,8 @@ soc:
|
|||||||
- field: showSubtitle
|
- field: showSubtitle
|
||||||
label: Show Query in Dropdown.
|
label: Show Query in Dropdown.
|
||||||
forcedType: bool
|
forcedType: bool
|
||||||
|
- field: license
|
||||||
|
label: Only show on grids licensed for this feature, e.g. oai. An oai query also needs the assistant enabled and agentic. Leave blank to show everywhere.
|
||||||
queryToggleFilters:
|
queryToggleFilters:
|
||||||
description: Customize togglable query filters that apply to all queries. Exclusive toggles will invert the filter if toggled off rather than omitting the filter from the query.
|
description: Customize togglable query filters that apply to all queries. Exclusive toggles will invert the filter if toggled off rather than omitting the filter from the query.
|
||||||
global: True
|
global: True
|
||||||
|
|||||||
Reference in new issue
Block a user