mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-02-20 22:15:28 +01:00
enable/disable idstools in ui
This commit is contained in:
@@ -149,7 +149,6 @@ function add_fleet_to_minion() {
|
||||
" " >> $PILLARFILE
|
||||
}
|
||||
|
||||
|
||||
# Add IDH Services info to the minion file
|
||||
function add_idh_to_minion() {
|
||||
printf '%s\n'\
|
||||
@@ -346,6 +345,13 @@ function add_kratos_to_minion() {
|
||||
" " >> $PILLARFILE
|
||||
}
|
||||
|
||||
function add_idstools_to_minion() {
|
||||
printf '%s\n'\
|
||||
"idstools:"\
|
||||
" enabled: True"\
|
||||
" " >> $PILLARFILE
|
||||
}
|
||||
|
||||
function create_fleet_policy() {
|
||||
|
||||
JSON_STRING=$( jq -n \
|
||||
@@ -404,6 +410,7 @@ function createEVAL() {
|
||||
add_registry_to_minion
|
||||
add_mysql_to_minion
|
||||
add_kratos_to_minion
|
||||
add_idstools_to_minion
|
||||
}
|
||||
|
||||
function createSTANDALONE() {
|
||||
@@ -424,6 +431,7 @@ function createSTANDALONE() {
|
||||
add_registry_to_minion
|
||||
add_mysql_to_minion
|
||||
add_kratos_to_minion
|
||||
add_idstools_to_minion
|
||||
}
|
||||
|
||||
function createMANAGER() {
|
||||
@@ -442,6 +450,7 @@ function createMANAGER() {
|
||||
add_registry_to_minion
|
||||
add_mysql_to_minion
|
||||
add_kratos_to_minion
|
||||
add_idstools_to_minion
|
||||
}
|
||||
|
||||
function createMANAGERSEARCH() {
|
||||
@@ -460,6 +469,7 @@ function createMANAGERSEARCH() {
|
||||
add_registry_to_minion
|
||||
add_mysql_to_minion
|
||||
add_kratos_to_minion
|
||||
add_idstools_to_minion
|
||||
}
|
||||
|
||||
function createIMPORT() {
|
||||
@@ -472,6 +482,7 @@ function createIMPORT() {
|
||||
add_soc_to_minion
|
||||
add_registry_to_minion
|
||||
add_kratos_to_minion
|
||||
add_idstools_to_minion
|
||||
}
|
||||
|
||||
function createFLEET() {
|
||||
|
||||
Reference in New Issue
Block a user