Master Update Script - Initial commit

This commit is contained in:
Mike Reeves
2018-09-28 18:40:23 -04:00
parent aa268803dd
commit ec79aadcd5
2 changed files with 12 additions and 0 deletions

3
exclude-list.txt Normal file
View File

@@ -0,0 +1,3 @@
salt/bro/files/local.bro
salt/bro/files/local.bro.community
salt/suricata/suricata.yaml

9
updatemaster.sh Normal file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
# Clone github
mkdir /tmp/sogh
cd /tmp/sogh
git clone https://github.com/TOoSmOotH/securityonion-saltstack.git
cd securityonion-saltstack
rsync -a pillar /opt/so/saltstack/
rsync -a --exclude-from 'exclude-list.txt' salt /opt/so/saltstack/