mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Re-Work IDSTOOLS
This commit is contained in:
@@ -3,3 +3,7 @@ idstools:
|
||||
urls: []
|
||||
ruleset: ETOPEN
|
||||
oinkcode: ""
|
||||
sids:
|
||||
enabled: []
|
||||
isabled: []
|
||||
modify: []
|
||||
@@ -1,6 +1,6 @@
|
||||
{%- from 'vars/globals.map.jinja' import GLOBALS %}
|
||||
{%- import_yaml 'idstools/defaults.yaml' as IDSTOOLSDEFAULTS %}
|
||||
{%- set IDSTOOLSMERGED = salt['pillar.get']('idstools', IDSTOOLSDEFAULTS, merge=True) %}
|
||||
{%- set IDSTOOLSMERGED = salt['pillar.get']('idstools', IDSTOOLSDEFAULTS.idstools, merge=True) %}
|
||||
{%- if GLOBALS.airgap is sameas true -%}
|
||||
--merged=/opt/so/rules/nids/all.rules
|
||||
--local=/opt/so/rules/nids/local.rules
|
||||
|
||||
@@ -1359,17 +1359,6 @@ ls_heapsize() {
|
||||
idstools_pillar() {
|
||||
title "Ading IDSTOOLS pillar options"
|
||||
touch $adv_idstools_pillar_file
|
||||
printf '%s\n'\
|
||||
"idstools:"\
|
||||
" config:"\
|
||||
" oinkcode: ''"\
|
||||
" urls: []"\
|
||||
" sids:"\
|
||||
" enabled: []"\
|
||||
" disabled: []"\
|
||||
" modify: []"\
|
||||
"" > "$idstools_pillar_file"
|
||||
|
||||
}
|
||||
|
||||
soc_pillar() {
|
||||
|
||||
Reference in New Issue
Block a user