mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-26 02:43:11 +01:00
Merge pull request #1176 from Security-Onion-Solutions/feature/playbook
Elastalert/Playbook Stability updates
This commit is contained in:
@@ -16,12 +16,12 @@ disable_rules_on_error: false
|
||||
# How often ElastAlert will query Elasticsearch
|
||||
# The unit can be anything from weeks to seconds
|
||||
run_every:
|
||||
minutes: 1
|
||||
minutes: 3
|
||||
|
||||
# ElastAlert will buffer results from the most recent
|
||||
# period of time, in case some log sources are not in real time
|
||||
buffer_time:
|
||||
minutes: 5
|
||||
minutes: 10
|
||||
|
||||
# The maximum time between queries for ElastAlert to start at the most recently
|
||||
# run query. When ElastAlert starts, for each rule, it will search elastalert_metadata
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{% set es = salt['pillar.get']('global:managerip', '') %}
|
||||
{% set es = salt['pillar.get']('manager:url_base', '') %}
|
||||
{% set hivehost = salt['pillar.get']('global:managerip', '') %}
|
||||
{% set hivekey = salt['pillar.get']('global:hivekey', '') %}
|
||||
alert:
|
||||
@@ -15,7 +15,7 @@ hive_proxies:
|
||||
https: ''
|
||||
|
||||
hive_alert_config:
|
||||
title: '{rule[name]} - '
|
||||
title: "{rule[name]} - "
|
||||
type: 'playbook'
|
||||
source: 'SecurityOnion'
|
||||
description: "`Play:` https://{{es}}/playbook/issues/6000 \n\n `View Event:` <https://{{es}}/kibana/app/kibana#/discover?_g=()&_a=(columns:!(_source),interval:auto,query:(language:lucene,query:'_id:{match[_id]}'),sort:!('@timestamp',desc))> \n\n `Raw Data:` {match[message]}"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{% set es = salt['pillar.get']('global:managerip', '') %}
|
||||
{% set es = salt['pillar.get']('manager:url_base', '') %}
|
||||
{% set hivehost = salt['pillar.get']('global:managerip', '') %}
|
||||
{% set hivekey = salt['pillar.get']('global:hivekey', '') %}
|
||||
alert:
|
||||
@@ -21,7 +21,7 @@ hive_observable_data_mapping:
|
||||
- other: '{match[osquery][hostname]}'
|
||||
|
||||
hive_alert_config:
|
||||
title: '{rule[name]} -- {match[osquery][hostname]} -- {match[osquery][name]}'
|
||||
title: "{rule[name]} -- {match[osquery][hostname]} -- {match[osquery][name]}"
|
||||
type: 'osquery'
|
||||
source: 'SecurityOnion'
|
||||
description: "`Play:` https://{{es}}/playbook/issues/6000 \n\n `View Event:` <https://{{es}}/kibana/app/kibana#/discover?_g=()&_a=(columns:!(_source),interval:auto,query:(language:lucene,query:'_id:{match[_id]}'),sort:!('@timestamp',desc))> \n\n `Hostname:` __{match[osquery][hostname]}__ `Live Query:`__[Pivot Link](https://{{es}}/fleet/queries/new?host_uuids={match[osquery][LiveQuery]})__ `Pack:` __{match[osquery][name]}__ `Data:` {match[osquery][columns]}"
|
||||
|
||||
Reference in New Issue
Block a user