mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Merge remote-tracking branch 'remotes/origin/2.4/dev' into 2.4/firewall
This commit is contained in:
@@ -3,4 +3,3 @@ filetype plugin indent on
|
|||||||
|
|
||||||
" Sets .sls files to use YAML syntax highlighting
|
" Sets .sls files to use YAML syntax highlighting
|
||||||
autocmd BufNewFile,BufRead *.sls set syntax=yaml
|
autocmd BufNewFile,BufRead *.sls set syntax=yaml
|
||||||
set number
|
|
||||||
@@ -206,7 +206,7 @@ function createSTANDALONE() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function testConnection() {
|
function testConnection() {
|
||||||
retry 5 10 "salt '$MINION_ID' test.ping" 0
|
retry 15 3 "salt '$MINION_ID' test.ping" 0
|
||||||
local ret=$?
|
local ret=$?
|
||||||
if [[ $ret != 0 ]]; then
|
if [[ $ret != 0 ]]; then
|
||||||
echo "The Minion has been accepted but is not online. Try again later"
|
echo "The Minion has been accepted but is not online. Try again later"
|
||||||
@@ -230,9 +230,7 @@ if [[ "$OPERATION" = 'add' || "$OPERATION" = 'setup' ]]; then
|
|||||||
if [ $OPERATION != 'setup' ]; then
|
if [ $OPERATION != 'setup' ]; then
|
||||||
# Accept the salt key
|
# Accept the salt key
|
||||||
acceptminion
|
acceptminion
|
||||||
# Let the keys echange
|
# Test to see if the minion was accepted
|
||||||
sleep 3
|
|
||||||
# Need logic here to try and salt ping.. If it doesn't work need to do something
|
|
||||||
testConnection
|
testConnection
|
||||||
# Pull the info from the file to build what is needed
|
# Pull the info from the file to build what is needed
|
||||||
getinstallinfo
|
getinstallinfo
|
||||||
|
|||||||
@@ -27,6 +27,7 @@ filebeat:
|
|||||||
- smtp
|
- smtp
|
||||||
- snmp
|
- snmp
|
||||||
- socks
|
- socks
|
||||||
|
- software
|
||||||
- ssh
|
- ssh
|
||||||
- ssl
|
- ssl
|
||||||
- tunnel
|
- tunnel
|
||||||
|
|||||||
Reference in New Issue
Block a user