Skip to content

Conversation

@tobio
Copy link
Member

@tobio tobio commented Sep 2, 2025

Fixes #1265

Are all these generated models correct? No idea, but it's what Kibana describes. Stack developers should be able to fix request/response models at the source (i.e the Kibana repo) when adding new resources.

@tobio tobio self-assigned this Sep 2, 2025
@tobio tobio requested a review from Copilot September 2, 2025 03:27
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes Kibana API spec integration by updating references to use fully qualified type names instead of simplified type aliases. The changes ensure compatibility with the complete Kibana API specification without allowlisting specific operations.

  • Updates monitoring type references in Fleet agent policy models
  • Corrects package policy format parameter type reference

Reviewed Changes

Copilot reviewed 2 out of 4 changed files in this pull request and generated no comments.

File Description
internal/fleet/agent_policy/models.go Updates monitoring enum references to use fully qualified type names
internal/clients/fleet/fleet.go Updates format parameter to use fully qualified type name

nick-benoit
nick-benoit previously approved these changes Sep 2, 2025
Copy link
Contributor

@nick-benoit nick-benoit left a comment

Choose a reason for hiding this comment

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

🚀

gigerdo
gigerdo previously approved these changes Sep 4, 2025
Instead generate a client covering all available endpoints
@tobio tobio merged commit 99531a1 into main Sep 8, 2025
50 checks passed
@tobio tobio deleted the full-kbapi branch September 8, 2025 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fully cover the Kibana API in the bundled generated client.

4 participants