Skip to content

Commit

Permalink
Merge pull request #11404 from Security-Onion-Solutions/fix/filecheck…
Browse files Browse the repository at this point in the history
…cron

Fix/filecheckcron
  • Loading branch information
m0duspwnens authored Sep 27, 2023
2 parents 7eefe7b + 3fded86 commit ec046a6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions salt/strelka/filestream/config.sls
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@ filecheck_stdout.log:
{% if GLOBALS.md_engine == 'ZEEK' %}
remove_filecheck_run:
cron.absent:
- identifier: filecheck_run
- user: socore
filecheck_run_socore:
cron.present:
- name: 'ps -ef | grep filecheck | grep -v grep > /dev/null 2>&1 || python3 /opt/so/conf/strelka/filecheck >> /opt/so/log/strelka/filecheck_stdout.log 2>&1 &'
Expand All @@ -121,6 +126,11 @@ remove_filecheck_run_suricata:
{% elif GLOBALS.md_engine == 'SURICATA'%}
remove_filecheck_run:
cron.absent:
- identifier: filecheck_run
- user: suricata
filecheck_run_suricata:
cron.present:
- name: 'ps -ef | grep filecheck | grep -v grep > /dev/null 2>&1 || python3 /opt/so/conf/strelka/filecheck >> /opt/so/log/strelka/filecheck_stdout.log 2>&1 &'
Expand Down

0 comments on commit ec046a6

Please sign in to comment.