Re-Work IDSTOOLS

This commit is contained in:
Mike Reeves
2023-03-15 17:19:33 -04:00
parent 28dc490775
commit afcd1155bf
3 changed files with 6 additions and 13 deletions

View File

@@ -2,4 +2,8 @@ idstools:
config:
urls: []
ruleset: ETOPEN
oinkcode: ""
oinkcode: ""
sids:
enabled: []
isabled: []
modify: []

View File

@@ -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

View File

@@ -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() {