mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-11 19:52:51 +01:00
Update init.sls
This commit is contained in:
@@ -83,12 +83,6 @@ surilogscript:
|
|||||||
- source: salt://suricata/cron/surilogcompress
|
- source: salt://suricata/cron/surilogcompress
|
||||||
- mode: 755
|
- mode: 755
|
||||||
|
|
||||||
surirotatescript:
|
|
||||||
file.managed:
|
|
||||||
- name: /usr/local/bin/surirotate
|
|
||||||
- source: salt://suricata/cron/surirotate
|
|
||||||
- mode: 755
|
|
||||||
|
|
||||||
/usr/local/bin/surilogcompress:
|
/usr/local/bin/surilogcompress:
|
||||||
cron.present:
|
cron.present:
|
||||||
- user: suricata
|
- user: suricata
|
||||||
@@ -176,21 +170,6 @@ disable_so-suricata_so-status.conf:
|
|||||||
- regex: ^so-suricata$
|
- regex: ^so-suricata$
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
surilogrotate:
|
|
||||||
file.managed:
|
|
||||||
- name: /opt/so/conf/suricata/suri-rotate.conf
|
|
||||||
- source: salt://suricata/files/suri-rotate.conf
|
|
||||||
- mode: 644
|
|
||||||
|
|
||||||
/usr/local/bin/surirotate:
|
|
||||||
cron.present:
|
|
||||||
- user: root
|
|
||||||
- minute: '11'
|
|
||||||
- hour: '*'
|
|
||||||
- daymonth: '*'
|
|
||||||
- month: '*'
|
|
||||||
- dayweek: '*'
|
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
||||||
suricata_state_not_allowed:
|
suricata_state_not_allowed:
|
||||||
|
|||||||
Reference in New Issue
Block a user