mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-04-27 15:07:51 +02:00
enabled/disable registry in ui
This commit is contained in:
@@ -324,6 +324,13 @@ function add_soc_to_minion() {
|
||||
" " >> $PILLARFILE
|
||||
}
|
||||
|
||||
function add_registry_to_minion() {
|
||||
printf '%s\n'\
|
||||
"registry:"\
|
||||
" enabled: True"\
|
||||
" " >> $PILLARFILE
|
||||
}
|
||||
|
||||
function create_fleet_policy() {
|
||||
|
||||
JSON_STRING=$( jq -n \
|
||||
@@ -379,6 +386,7 @@ function createEVAL() {
|
||||
add_nginx_to_minion
|
||||
add_soctopus_to_minion
|
||||
add_soc_to_minion
|
||||
add_registry_to_minion
|
||||
}
|
||||
|
||||
function createSTANDALONE() {
|
||||
@@ -396,6 +404,7 @@ function createSTANDALONE() {
|
||||
add_nginx_to_minion
|
||||
add_soctopus_to_minion
|
||||
add_soc_to_minion
|
||||
add_registry_to_minion
|
||||
}
|
||||
|
||||
function createMANAGER() {
|
||||
@@ -411,6 +420,7 @@ function createMANAGER() {
|
||||
add_nginx_to_minion
|
||||
add_soctopus_to_minion
|
||||
add_soc_to_minion
|
||||
add_registry_to_minion
|
||||
}
|
||||
|
||||
function createMANAGERSEARCH() {
|
||||
@@ -426,6 +436,7 @@ function createMANAGERSEARCH() {
|
||||
add_nginx_to_minion
|
||||
add_soctopus_to_minion
|
||||
add_soc_to_minion
|
||||
add_registry_to_minion
|
||||
}
|
||||
|
||||
function createIMPORT() {
|
||||
@@ -436,6 +447,7 @@ function createIMPORT() {
|
||||
add_influxdb_to_minion
|
||||
add_nginx_to_minion
|
||||
add_soc_to_minion
|
||||
add_registry_to_minion
|
||||
}
|
||||
|
||||
function createFLEET() {
|
||||
|
||||
Reference in New Issue
Block a user