Skip to content

Conversation

@michel-laterman
Copy link
Contributor

@michel-laterman michel-laterman commented Dec 2, 2025

What does this PR do?

Add a call to the Kibana client to update a download source by ID.
See: https://www.elastic.co/docs/api/doc/kibana/operation/operation-put-fleet-agent-download-sources-sourceid

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have added tests that prove my fix is effective or that my feature works

Related issues

@michel-laterman michel-laterman requested a review from a team as a code owner December 2, 2025 00:21
@michel-laterman michel-laterman added enhancement New feature or request Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team labels Dec 2, 2025
@michel-laterman michel-laterman requested review from faec and leehinman and removed request for a team December 2, 2025 00:21
Copy link
Contributor

@leehinman leehinman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code LGTM, should probably have a test in fleet_test.go though.

@pierrehilbert pierrehilbert added the Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team label Dec 2, 2025
@michel-laterman
Copy link
Contributor Author

Build is failing due to gvm version, issue is addressed here: #372

@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

History

Copy link
Contributor

@leehinman leehinman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@michel-laterman michel-laterman merged commit a0201d3 into elastic:main Dec 2, 2025
5 checks passed
@michel-laterman michel-laterman deleted the enhance/add-fleet-update-download-sources branch December 2, 2025 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants