Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.12] [Fleet] Fix wrong policy_id in dev tools flyout request (#176729) #176800

Merged
merged 1 commit into from
Feb 13, 2024

Conversation

kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 8.12:

Questions ?

Please refer to the Backport tool documentation

Fixes elastic#172798

## Summary
Small bug fix: when adding a new integration, the `policy_id` in dev
tools flyout request was not correct

Steps to reproduce:

- Add one agent policy to the stack
- Go to any integration and navigate to `add integration` page
- Switch to `Existing hosts` and select an existing policy.
- Open `Preview API request`. The policy id in the preview should be the
one from the selected policy
- Switch back to `New hosts`
- Open `Preview API request`. The policy id should be
`<agent_policy_id>` again (not the one from the previously selected
policy)

![Screenshot 2024-02-12 at 17 56
45](https://github.com/elastic/kibana/assets/16084106/6f2e5085-7418-4fef-ac4e-79b57d551722)

(cherry picked from commit 466a05a)
@kibanamachine kibanamachine enabled auto-merge (squash) February 13, 2024 10:06
@botelastic botelastic bot added the Team:Fleet Team label for Observability Data Collection Fleet team label Feb 13, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
fleet 1.2MB 1.2MB +18.0B

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @criamico

@kibanamachine kibanamachine merged commit 1110628 into elastic:8.12 Feb 13, 2024
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Team:Fleet Team label for Observability Data Collection Fleet team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants