Skip to content

Commit

Permalink
Adds onboarding id as query param to download elastic agent config on…
Browse files Browse the repository at this point in the history
… host
  • Loading branch information
ogupte committed Jun 14, 2023
1 parent b8b3e35 commit 888250b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ downloadElasticAgentConfig() {
echo "Downloading elastic-agent.yml"
updateStepProgress "ea-config" "loading"
curl --request GET \
--url "${API_ENDPOINT}/elastic_agent/config" \
--url "${API_ENDPOINT}/elastic_agent/config?id=${ONBOARDING_ID}" \
--header "Authorization: ApiKey ${API_KEY_ENCODED}" \
--header "Content-Type: application/json" \
--header "kbn-xsrf: true" \
Expand Down

0 comments on commit 888250b

Please sign in to comment.