mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-04-26 22:47:49 +02:00
Change Fleet Host URL API Endpoint
This commit is contained in:
@@ -10,8 +10,6 @@
|
||||
|
||||
. /usr/sbin/so-common
|
||||
|
||||
#FLEETHOST="https://{{ GLOBALS.manager_ip }}:8220"
|
||||
|
||||
for i in {1..30}
|
||||
do
|
||||
ENROLLMENTOKEN=$(curl -K /opt/so/conf/elasticsearch/curl.config -L "localhost:5601/api/fleet/enrollment_api_keys" -H 'kbn-xsrf: true' -H 'Content-Type: application/json' | jq .list | jq -r -c '.[] | select(.policy_id | contains("endpoints-initial")) | .api_key')
|
||||
|
||||
Reference in New Issue
Block a user