mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-20 16:03:06 +01:00
enabled/disable kratos in ui
This commit is contained in:
@@ -338,6 +338,13 @@ function add_mysql_to_minion() {
|
||||
" " >> $PILLARFILE
|
||||
}
|
||||
|
||||
function add_kratos_to_minion() {
|
||||
printf '%s\n'\
|
||||
"kratos:"\
|
||||
" enabled: True"\
|
||||
" " >> $PILLARFILE
|
||||
}
|
||||
|
||||
function create_fleet_policy() {
|
||||
|
||||
JSON_STRING=$( jq -n \
|
||||
@@ -395,6 +402,7 @@ function createEVAL() {
|
||||
add_soc_to_minion
|
||||
add_registry_to_minion
|
||||
add_mysql_to_minion
|
||||
add_kratos_to_minion
|
||||
}
|
||||
|
||||
function createSTANDALONE() {
|
||||
@@ -414,6 +422,7 @@ function createSTANDALONE() {
|
||||
add_soc_to_minion
|
||||
add_registry_to_minion
|
||||
add_mysql_to_minion
|
||||
add_kratos_to_minion
|
||||
}
|
||||
|
||||
function createMANAGER() {
|
||||
@@ -431,6 +440,7 @@ function createMANAGER() {
|
||||
add_soc_to_minion
|
||||
add_registry_to_minion
|
||||
add_mysql_to_minion
|
||||
add_kratos_to_minion
|
||||
}
|
||||
|
||||
function createMANAGERSEARCH() {
|
||||
@@ -448,6 +458,7 @@ function createMANAGERSEARCH() {
|
||||
add_soc_to_minion
|
||||
add_registry_to_minion
|
||||
add_mysql_to_minion
|
||||
add_kratos_to_minion
|
||||
}
|
||||
|
||||
function createIMPORT() {
|
||||
@@ -459,6 +470,7 @@ function createIMPORT() {
|
||||
add_nginx_to_minion
|
||||
add_soc_to_minion
|
||||
add_registry_to_minion
|
||||
add_kratos_to_minion
|
||||
}
|
||||
|
||||
function createFLEET() {
|
||||
|
||||
Reference in New Issue
Block a user