[Fleet] Fix reusable integration multiplespace validation#236428
[Fleet] Fix reusable integration multiplespace validation#236428
Conversation
|
Pinging @elastic/fleet (Team:Fleet) |
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]
History
cc @nchaulet |
|
Starting backport for target branches: 9.1, 9.2, 9.3 https://github.com/elastic/kibana/actions/runs/20793761189 |
|
Starting backport for target branches: 9.1, 9.2, 9.3 https://github.com/elastic/kibana/actions/runs/20793783594 |
💔 All backports failed
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
1 similar comment
💔 All backports failed
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
…6428) (cherry picked from commit dbcae6c) # Conflicts: # x-pack/platform/plugins/shared/fleet/server/services/package_policy.ts # x-pack/platform/test/fleet_api_integration/apis/space_awareness/api_helper.ts # x-pack/platform/test/fleet_api_integration/apis/space_awareness/helpers.ts # x-pack/platform/test/fleet_api_integration/apis/space_awareness/index.js # x-pack/platform/test/fleet_api_integration/apis/space_awareness/package_policies.ts
…6428) (cherry picked from commit dbcae6c) # Conflicts: # x-pack/platform/plugins/shared/fleet/server/services/package_policy.ts # x-pack/platform/test/fleet_api_integration/apis/space_awareness/api_helper.ts # x-pack/platform/test/fleet_api_integration/apis/space_awareness/helpers.ts # x-pack/platform/test/fleet_api_integration/apis/space_awareness/index.js # x-pack/platform/test/fleet_api_integration/apis/space_awareness/package_policies.ts
💔 Some backports could not be created
Note: Successful backport PRs will be merged automatically after passing CI. Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Summary
Resolve #236419
Fix a bug that was blocking the package policy edition for any package policy used in a multi space agent policy.
Test
You can create an agent policy in multiple space, add a package policy, and edit it => it should work
I added missing API test that would have catch this.