mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
add receiver node
This commit is contained in:
@@ -110,7 +110,7 @@ base:
|
|||||||
- elasticsearch.auth
|
- elasticsearch.auth
|
||||||
- global
|
- global
|
||||||
- minions.{{ grains.id }}
|
- minions.{{ grains.id }}
|
||||||
- data.receivertab
|
- data.receiverstab
|
||||||
|
|
||||||
'*_import':
|
'*_import':
|
||||||
- zeeklogs
|
- zeeklogs
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ addtotab_generate_templates() {
|
|||||||
|
|
||||||
local addtotab_path=$local_salt_dir/pillar/data
|
local addtotab_path=$local_salt_dir/pillar/data
|
||||||
|
|
||||||
for i in evaltab managersearchtab managertab nodestab sensorstab standalonetab; do
|
for i in evaltab managersearchtab managertab nodestab sensorstab standalonetab receiverstab; do
|
||||||
printf '%s\n'\
|
printf '%s\n'\
|
||||||
"$i:"\
|
"$i:"\
|
||||||
"" > "$addtotab_path"/$i.sls
|
"" > "$addtotab_path"/$i.sls
|
||||||
@@ -2687,7 +2687,7 @@ set_initial_firewall_policy() {
|
|||||||
;;
|
;;
|
||||||
'RECEIVER')
|
'RECEIVER')
|
||||||
$sshcmd -i /root/.ssh/so.key soremote@"$MSRV" sudo $default_salt_dir/salt/common/tools/sbin/so-firewall --apply includehost receiver "$MAINIP"
|
$sshcmd -i /root/.ssh/so.key soremote@"$MSRV" sudo $default_salt_dir/salt/common/tools/sbin/so-firewall --apply includehost receiver "$MAINIP"
|
||||||
$sshcmd -i /root/.ssh/so.key soremote@"$MSRV" sudo $default_salt_dir/pillar/data/addtotab.sh receivertab "$MINION_ID" "$MAINIP"
|
$sshcmd -i /root/.ssh/so.key soremote@"$MSRV" sudo $default_salt_dir/pillar/data/addtotab.sh receiverstab "$MINION_ID" "$MAINIP"
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
'PARSINGNODE')
|
'PARSINGNODE')
|
||||||
|
|||||||
Reference in New Issue
Block a user