first commit
This commit is contained in:
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
# Wird von /etc/cont-init.d/2-manager vor "wazuh-control start" ausgefuehrt.
|
||||
set -e
|
||||
|
||||
# Eigene Agentless-Skripte und Regeln (bei jedem Start aktualisieren)
|
||||
install -o root -g wazuh -m 750 /opt/sshpull/agentless/* /var/ossec/agentless/
|
||||
install -o wazuh -g wazuh -m 660 /opt/sshpull/rules/sshpull_rules.xml /var/ossec/etc/rules/
|
||||
|
||||
/var/ossec/framework/python/bin/python3 /opt/sshpull/generate.py
|
||||
Reference in New Issue
Block a user