-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Fleet] Agent policy inputs id are not unique #125844
Comments
Pinging @elastic/fleet (Team:Fleet) |
@jen-huang @joshdover The only missing piece is this one. We need to merge all PR in the same release and then backport it to 7.17.X How can we make it our top priority? cc @ruflin |
@jlind23 Thanks for raising, I don't think this requires a huge effort, I've added it to our current iteration. Just to verify: we'd want to fix to land in 8.2, 8.1.x, 8.0.x, and 7.17.x? |
@jen-huang yes that would be the target, just a note theses ids need to stable, by stable I mean if a user edit the same integration the ids of the input stay the same. This will also be useful later, for reporting health information for a specific input. |
@jen-huang thanks @jen-huang and @nchaulet for the work. |
Thanks, I will move the other pr to get them merged. |
Description
When do not use id for inputs in the generated agent policy we send to agent, we should probably fix that as id are expected to unique.
https://github.com/elastic/kibana/blob/main/x-pack/plugins/fleet/common/services/package_policies_to_agent_inputs.ts/#L29
Currently we use the package policy id as the input id this cause problem with package policy with multiple inputs.
The text was updated successfully, but these errors were encountered: