mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 09:42:46 +01:00
add add_kibana_to_minion to so-minion
This commit is contained in:
@@ -220,7 +220,6 @@ function add_sensor_to_minion() {
|
||||
echo " " >> $PILLARFILE
|
||||
}
|
||||
|
||||
# Add basic host info to the minion file
|
||||
function add_playbook_to_minion() {
|
||||
printf '%s\n'\
|
||||
"playbook:"\
|
||||
@@ -228,7 +227,6 @@ function add_playbook_to_minion() {
|
||||
" " >> $PILLARFILE
|
||||
}
|
||||
|
||||
# Add basic host info to the minion file
|
||||
function add_elastalert_to_minion() {
|
||||
printf '%s\n'\
|
||||
"elastalert:"\
|
||||
@@ -236,6 +234,13 @@ function add_elastalert_to_minion() {
|
||||
" " >> $PILLARFILE
|
||||
}
|
||||
|
||||
function add_kibana_to_minion() {
|
||||
printf '%s\n'\
|
||||
"kibana:"\
|
||||
" enabled: True"\
|
||||
" " >> $PILLARFILE
|
||||
}
|
||||
|
||||
function create_fleet_policy() {
|
||||
|
||||
JSON_STRING=$( jq -n \
|
||||
@@ -284,6 +289,7 @@ function createEVAL() {
|
||||
add_logstash_to_minion
|
||||
add_sensor_to_minion
|
||||
add_elastalert_to_minion
|
||||
add_kibana_to_minion
|
||||
}
|
||||
|
||||
function createSTANDALONE() {
|
||||
@@ -292,6 +298,7 @@ function createSTANDALONE() {
|
||||
add_sensor_to_minion
|
||||
add_playbook_to_minion
|
||||
add_elastalert_to_minion
|
||||
add_kibana_to_minion
|
||||
}
|
||||
|
||||
function createMANAGER() {
|
||||
@@ -299,6 +306,7 @@ function createMANAGER() {
|
||||
add_logstash_to_minion
|
||||
add_playbook_to_minion
|
||||
add_elastalert_to_minion
|
||||
add_kibana_to_minion
|
||||
}
|
||||
|
||||
function createMANAGERSEARCH() {
|
||||
@@ -306,6 +314,14 @@ function createMANAGERSEARCH() {
|
||||
add_logstash_to_minion
|
||||
add_playbook_to_minion
|
||||
add_elastalert_to_minion
|
||||
add_kibana_to_minion
|
||||
}
|
||||
|
||||
function createIMPORT() {
|
||||
add_elasticsearch_to_minion
|
||||
add_logstash_to_minion
|
||||
add_sensor_to_minion
|
||||
add_kibana_to_minion
|
||||
}
|
||||
|
||||
function createFLEET() {
|
||||
@@ -320,12 +336,6 @@ function createIDH() {
|
||||
add_idh_to_minion
|
||||
}
|
||||
|
||||
function createIMPORT() {
|
||||
add_elasticsearch_to_minion
|
||||
add_logstash_to_minion
|
||||
add_sensor_to_minion
|
||||
}
|
||||
|
||||
function createHEAVYNODE() {
|
||||
add_elasticsearch_to_minion
|
||||
add_logstash_to_minion
|
||||
|
||||
Reference in New Issue
Block a user