elastic / kibana

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

Allow adding 'file://' URI's as Agent Binary Sources for Fleet #192358

Open vx-sec opened 2 months ago

vx-sec commented 2 months ago

Describe the feature: The elastic-agent CLI accepts file:// URIs as --source-uri parameter and works pretty well with it, so Fleet should allow adding URIs of that type as agent binary sources too.

Describe a specific use case for the feature: Upgrading agents that have restricted access to the internet can be done seamlessly if this feature is implemented. Currently one can trigger an upgrade on a host by providing the file and the sha signature, but when the agent tries to talk back to the Fleet server, it rejects the new version as seen here. Allowing the file URI would allow uploading the necessary files to the hosts, and triggering the upgrade from the Fleet.

elasticmachine commented 1 month ago

Pinging @elastic/fleet (Team:Fleet)