elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.62k stars 8.22k forks source link

Add Agent / Install snippets to include proxy parameter if specified in the policy #184222

Closed lucabelluccini closed 1 month ago

lucabelluccini commented 5 months ago

Describe the feature:

Describe a specific use case for the feature:

When a user sets a Proxy to the Source URI, it's likely the Proxy has to be used both when installing and upgrading Elastic Agent. The current installation snippet generated by Fleet UI is not providing any proxy parameter.

When a user sets a Proxy to the Fleet Server, it's likely the Proxy has to be used also when installing/enrolling the Elastic Agent as it has to reach the Fleet Server.

Comments:

This is applicable only for Elastic Agent where the Proxy settings can be specified from the Fleet UI. If we're not able to generate the exact commands, maybe we could add a warning/popup near the snippet to suggest adding proxy parameters or env variables.

elasticmachine commented 5 months ago

Pinging @elastic/fleet (Team:Fleet)