mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-15 21:52:47 +01:00
Change Fleet Host URL API Endpoint
This commit is contained in:
@@ -47,7 +47,6 @@ fi
|
||||
curl -K /opt/so/conf/elasticsearch/curl.config -L -X POST "localhost:5601/api/fleet/fleet_server_hosts" -H 'kbn-xsrf: true' -H 'Content-Type: application/json' -d "$JSON_STRING"
|
||||
printf "\n\n"
|
||||
|
||||
|
||||
### Create Policies & Associated Integration Configuration ###
|
||||
|
||||
# Manager Fleet Server Host
|
||||
@@ -72,7 +71,7 @@ so-elastic-fleet-integration-policy-load
|
||||
# Set Elastic Agent Artifact Registry URL
|
||||
JSON_STRING=$( jq -n \
|
||||
--arg NAME "FleetServer_{{ GLOBALS.hostname }}" \
|
||||
--arg URL "http://{{ GLOBALS.url_base }}/artifacts/" \
|
||||
--arg URL "http://{{ GLOBALS.url_base }}:8443/artifacts/" \
|
||||
'{"name":$NAME,"host":$URL,"is_default":true}'
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user