mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 17:52:46 +01:00
enabled/disable elastic-fleet-package-registry via ui
This commit is contained in:
@@ -353,6 +353,13 @@ function add_idstools_to_minion() {
|
||||
" " >> $PILLARFILE
|
||||
}
|
||||
|
||||
function add_elastic-fleet-package-registry_to_minion() {
|
||||
printf '%s\n'\
|
||||
"elastic-fleet-package-registry:"\
|
||||
" enabled: True"\
|
||||
" " >> $PILLARFILE
|
||||
}
|
||||
|
||||
function create_fleet_policy() {
|
||||
|
||||
JSON_STRING=$( jq -n \
|
||||
@@ -412,6 +419,7 @@ function createEVAL() {
|
||||
add_mysql_to_minion
|
||||
add_kratos_to_minion
|
||||
add_idstools_to_minion
|
||||
add_elastic-fleet-package-registry_to_minion
|
||||
}
|
||||
|
||||
function createSTANDALONE() {
|
||||
@@ -433,6 +441,7 @@ function createSTANDALONE() {
|
||||
add_mysql_to_minion
|
||||
add_kratos_to_minion
|
||||
add_idstools_to_minion
|
||||
add_elastic-fleet-package-registry_to_minion
|
||||
}
|
||||
|
||||
function createMANAGER() {
|
||||
@@ -452,6 +461,7 @@ function createMANAGER() {
|
||||
add_mysql_to_minion
|
||||
add_kratos_to_minion
|
||||
add_idstools_to_minion
|
||||
add_elastic-fleet-package-registry_to_minion
|
||||
}
|
||||
|
||||
function createMANAGERSEARCH() {
|
||||
@@ -471,6 +481,7 @@ function createMANAGERSEARCH() {
|
||||
add_mysql_to_minion
|
||||
add_kratos_to_minion
|
||||
add_idstools_to_minion
|
||||
add_elastic-fleet-package-registry_to_minion
|
||||
}
|
||||
|
||||
function createIMPORT() {
|
||||
@@ -484,6 +495,7 @@ function createIMPORT() {
|
||||
add_registry_to_minion
|
||||
add_kratos_to_minion
|
||||
add_idstools_to_minion
|
||||
add_elastic-fleet-package-registry_to_minion
|
||||
}
|
||||
|
||||
function createFLEET() {
|
||||
|
||||
Reference in New Issue
Block a user