-
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
[UII] Allow to create integration policy with no agent policies #201051
Conversation
Pinging @elastic/fleet (Team:Fleet) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code LGTM 🚀 Do you think we can add a cypress test to create such package policy?
👍 Added one |
Starting backport for target branches: 8.15, 8.16, 8.17, 8.x |
💛 Build succeeded, but was flaky
Failed CI StepsTest FailuresMetrics [docs]Async chunks
Page load bundle
History
cc @jen-huang |
…tic#201051) ## Summary Resolves elastic#198165. This PR fixes an issue where `policy_ids` array was not able to be cleared behind the scenes to create an orphaned integration policy, even when cluster is able to use the multiple agent policies feature. (cherry picked from commit 3952dea)
…tic#201051) ## Summary Resolves elastic#198165. This PR fixes an issue where `policy_ids` array was not able to be cleared behind the scenes to create an orphaned integration policy, even when cluster is able to use the multiple agent policies feature. (cherry picked from commit 3952dea)
💔 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 |
…#201051) (#201306) # Backport This will backport the following commits from `main` to `8.x`: - [[UII] Allow to create integration policy with no agent policies (#201051)](#201051) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Jen Huang","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-22T00:57:06Z","message":"[UII] Allow to create integration policy with no agent policies (#201051)\n\n## Summary\r\n\r\nResolves #198165. This PR fixes an issue where `policy_ids` array was\r\nnot able to be cleared behind the scenes to create an orphaned\r\nintegration policy, even when cluster is able to use the multiple agent\r\npolicies feature.","sha":"3952dea3962c52dbd8d0cf01f7966670a64639d4","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Fleet","v9.0.0","backport:prev-major"],"title":"[UII] Allow to create integration policy with no agent policies","number":201051,"url":"https://github.com/elastic/kibana/pull/201051","mergeCommit":{"message":"[UII] Allow to create integration policy with no agent policies (#201051)\n\n## Summary\r\n\r\nResolves #198165. This PR fixes an issue where `policy_ids` array was\r\nnot able to be cleared behind the scenes to create an orphaned\r\nintegration policy, even when cluster is able to use the multiple agent\r\npolicies feature.","sha":"3952dea3962c52dbd8d0cf01f7966670a64639d4"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/201051","number":201051,"mergeCommit":{"message":"[UII] Allow to create integration policy with no agent policies (#201051)\n\n## Summary\r\n\r\nResolves #198165. This PR fixes an issue where `policy_ids` array was\r\nnot able to be cleared behind the scenes to create an orphaned\r\nintegration policy, even when cluster is able to use the multiple agent\r\npolicies feature.","sha":"3952dea3962c52dbd8d0cf01f7966670a64639d4"}}]}] BACKPORT--> Co-authored-by: Jen Huang <[email protected]>
#201051) (#201305) # Backport This will backport the following commits from `main` to `8.17`: - [[UII] Allow to create integration policy with no agent policies (#201051)](#201051) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Jen Huang","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-22T00:57:06Z","message":"[UII] Allow to create integration policy with no agent policies (#201051)\n\n## Summary\r\n\r\nResolves #198165. This PR fixes an issue where `policy_ids` array was\r\nnot able to be cleared behind the scenes to create an orphaned\r\nintegration policy, even when cluster is able to use the multiple agent\r\npolicies feature.","sha":"3952dea3962c52dbd8d0cf01f7966670a64639d4","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Fleet","v9.0.0","backport:prev-major"],"title":"[UII] Allow to create integration policy with no agent policies","number":201051,"url":"https://github.com/elastic/kibana/pull/201051","mergeCommit":{"message":"[UII] Allow to create integration policy with no agent policies (#201051)\n\n## Summary\r\n\r\nResolves #198165. This PR fixes an issue where `policy_ids` array was\r\nnot able to be cleared behind the scenes to create an orphaned\r\nintegration policy, even when cluster is able to use the multiple agent\r\npolicies feature.","sha":"3952dea3962c52dbd8d0cf01f7966670a64639d4"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/201051","number":201051,"mergeCommit":{"message":"[UII] Allow to create integration policy with no agent policies (#201051)\n\n## Summary\r\n\r\nResolves #198165. This PR fixes an issue where `policy_ids` array was\r\nnot able to be cleared behind the scenes to create an orphaned\r\nintegration policy, even when cluster is able to use the multiple agent\r\npolicies feature.","sha":"3952dea3962c52dbd8d0cf01f7966670a64639d4"}}]}] BACKPORT--> Co-authored-by: Jen Huang <[email protected]>
…tic#201051) ## Summary Resolves elastic#198165. This PR fixes an issue where `policy_ids` array was not able to be cleared behind the scenes to create an orphaned integration policy, even when cluster is able to use the multiple agent policies feature. (cherry picked from commit 3952dea) # Conflicts: # x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/components/step_edit_hosts.test.tsx
…tic#201051) ## Summary Resolves elastic#198165. This PR fixes an issue where `policy_ids` array was not able to be cleared behind the scenes to create an orphaned integration policy, even when cluster is able to use the multiple agent policies feature. (cherry picked from commit 3952dea) # Conflicts: # x-pack/plugins/fleet/cypress/screens/integrations.ts # x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/components/step_edit_hosts.test.tsx # x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/components/step_edit_hosts.tsx
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
#201051) (#201684) # Backport This will backport the following commits from `main` to `8.15`: - [[UII] Allow to create integration policy with no agent policies (#201051)](#201051) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Jen Huang","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-22T00:57:06Z","message":"[UII] Allow to create integration policy with no agent policies (#201051)\n\n## Summary\r\n\r\nResolves #198165. This PR fixes an issue where `policy_ids` array was\r\nnot able to be cleared behind the scenes to create an orphaned\r\nintegration policy, even when cluster is able to use the multiple agent\r\npolicies feature.","sha":"3952dea3962c52dbd8d0cf01f7966670a64639d4","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Fleet","v9.0.0","backport:prev-major","v8.17.0","v8.18.0"],"number":201051,"url":"https://github.com/elastic/kibana/pull/201051","mergeCommit":{"message":"[UII] Allow to create integration policy with no agent policies (#201051)\n\n## Summary\r\n\r\nResolves #198165. This PR fixes an issue where `policy_ids` array was\r\nnot able to be cleared behind the scenes to create an orphaned\r\nintegration policy, even when cluster is able to use the multiple agent\r\npolicies feature.","sha":"3952dea3962c52dbd8d0cf01f7966670a64639d4"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/201051","number":201051,"mergeCommit":{"message":"[UII] Allow to create integration policy with no agent policies (#201051)\n\n## Summary\r\n\r\nResolves #198165. This PR fixes an issue where `policy_ids` array was\r\nnot able to be cleared behind the scenes to create an orphaned\r\nintegration policy, even when cluster is able to use the multiple agent\r\npolicies feature.","sha":"3952dea3962c52dbd8d0cf01f7966670a64639d4"}},{"branch":"8.17","label":"v8.17.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/201305","number":201305,"state":"MERGED","mergeCommit":{"sha":"8eb67bd1883aad804d5c33df61d065f01f4398ca","message":"[8.17] [UII] Allow to create integration policy with no agent policies (#201051) (#201305)\n\n# Backport\n\nThis will backport the following commits from `main` to `8.17`:\n- [[UII] Allow to create integration policy with no agent policies\n(#201051)](https://github.com/elastic/kibana/pull/201051)\n\n<!--- Backport version: 9.4.3 -->\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT [{\"author\":{\"name\":\"Jen\nHuang\",\"email\":\"[email protected]\"},\"sourceCommit\":{\"committedDate\":\"2024-11-22T00:57:06Z\",\"message\":\"[UII]\nAllow to create integration policy with no agent policies\n(#201051)\\n\\n## Summary\\r\\n\\r\\nResolves #198165. This PR fixes an issue\nwhere `policy_ids` array was\\r\\nnot able to be cleared behind the scenes\nto create an orphaned\\r\\nintegration policy, even when cluster is able\nto use the multiple agent\\r\\npolicies\nfeature.\",\"sha\":\"3952dea3962c52dbd8d0cf01f7966670a64639d4\",\"branchLabelMapping\":{\"^v9.0.0$\":\"main\",\"^v8.18.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"release_note:fix\",\"Team:Fleet\",\"v9.0.0\",\"backport:prev-major\"],\"title\":\"[UII]\nAllow to create integration policy with no agent\npolicies\",\"number\":201051,\"url\":\"https://github.com/elastic/kibana/pull/201051\",\"mergeCommit\":{\"message\":\"[UII]\nAllow to create integration policy with no agent policies\n(#201051)\\n\\n## Summary\\r\\n\\r\\nResolves #198165. This PR fixes an issue\nwhere `policy_ids` array was\\r\\nnot able to be cleared behind the scenes\nto create an orphaned\\r\\nintegration policy, even when cluster is able\nto use the multiple agent\\r\\npolicies\nfeature.\",\"sha\":\"3952dea3962c52dbd8d0cf01f7966670a64639d4\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[],\"targetPullRequestStates\":[{\"branch\":\"main\",\"label\":\"v9.0.0\",\"branchLabelMappingKey\":\"^v9.0.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/201051\",\"number\":201051,\"mergeCommit\":{\"message\":\"[UII]\nAllow to create integration policy with no agent policies\n(#201051)\\n\\n## Summary\\r\\n\\r\\nResolves #198165. This PR fixes an issue\nwhere `policy_ids` array was\\r\\nnot able to be cleared behind the scenes\nto create an orphaned\\r\\nintegration policy, even when cluster is able\nto use the multiple agent\\r\\npolicies\nfeature.\",\"sha\":\"3952dea3962c52dbd8d0cf01f7966670a64639d4\"}}]}]\nBACKPORT-->\n\nCo-authored-by: Jen Huang <[email protected]>"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/201306","number":201306,"state":"MERGED","mergeCommit":{"sha":"19059ee9c2d90d1da7cc21ce05c7c34e6a5b0578","message":"[8.x] [UII] Allow to create integration policy with no agent policies (#201051) (#201306)\n\n# Backport\n\nThis will backport the following commits from `main` to `8.x`:\n- [[UII] Allow to create integration policy with no agent policies\n(#201051)](https://github.com/elastic/kibana/pull/201051)\n\n<!--- Backport version: 9.4.3 -->\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT [{\"author\":{\"name\":\"Jen\nHuang\",\"email\":\"[email protected]\"},\"sourceCommit\":{\"committedDate\":\"2024-11-22T00:57:06Z\",\"message\":\"[UII]\nAllow to create integration policy with no agent policies\n(#201051)\\n\\n## Summary\\r\\n\\r\\nResolves #198165. This PR fixes an issue\nwhere `policy_ids` array was\\r\\nnot able to be cleared behind the scenes\nto create an orphaned\\r\\nintegration policy, even when cluster is able\nto use the multiple agent\\r\\npolicies\nfeature.\",\"sha\":\"3952dea3962c52dbd8d0cf01f7966670a64639d4\",\"branchLabelMapping\":{\"^v9.0.0$\":\"main\",\"^v8.18.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"release_note:fix\",\"Team:Fleet\",\"v9.0.0\",\"backport:prev-major\"],\"title\":\"[UII]\nAllow to create integration policy with no agent\npolicies\",\"number\":201051,\"url\":\"https://github.com/elastic/kibana/pull/201051\",\"mergeCommit\":{\"message\":\"[UII]\nAllow to create integration policy with no agent policies\n(#201051)\\n\\n## Summary\\r\\n\\r\\nResolves #198165. This PR fixes an issue\nwhere `policy_ids` array was\\r\\nnot able to be cleared behind the scenes\nto create an orphaned\\r\\nintegration policy, even when cluster is able\nto use the multiple agent\\r\\npolicies\nfeature.\",\"sha\":\"3952dea3962c52dbd8d0cf01f7966670a64639d4\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[],\"targetPullRequestStates\":[{\"branch\":\"main\",\"label\":\"v9.0.0\",\"branchLabelMappingKey\":\"^v9.0.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/201051\",\"number\":201051,\"mergeCommit\":{\"message\":\"[UII]\nAllow to create integration policy with no agent policies\n(#201051)\\n\\n## Summary\\r\\n\\r\\nResolves #198165. This PR fixes an issue\nwhere `policy_ids` array was\\r\\nnot able to be cleared behind the scenes\nto create an orphaned\\r\\nintegration policy, even when cluster is able\nto use the multiple agent\\r\\npolicies\nfeature.\",\"sha\":\"3952dea3962c52dbd8d0cf01f7966670a64639d4\"}}]}]\nBACKPORT-->\n\nCo-authored-by: Jen Huang <[email protected]>"}}]}] BACKPORT-->
This PR didn't make it on time for the latest v8.15.5 BC. Updating the labels. |
#201051) (#201683) # Backport This will backport the following commits from `main` to `8.16`: - [[UII] Allow to create integration policy with no agent policies (#201051)](#201051) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Jen Huang","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-22T00:57:06Z","message":"[UII] Allow to create integration policy with no agent policies (#201051)\n\n## Summary\r\n\r\nResolves #198165. This PR fixes an issue where `policy_ids` array was\r\nnot able to be cleared behind the scenes to create an orphaned\r\nintegration policy, even when cluster is able to use the multiple agent\r\npolicies feature.","sha":"3952dea3962c52dbd8d0cf01f7966670a64639d4","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Fleet","v9.0.0","backport:prev-major","v8.17.0","v8.18.0"],"number":201051,"url":"https://github.com/elastic/kibana/pull/201051","mergeCommit":{"message":"[UII] Allow to create integration policy with no agent policies (#201051)\n\n## Summary\r\n\r\nResolves #198165. This PR fixes an issue where `policy_ids` array was\r\nnot able to be cleared behind the scenes to create an orphaned\r\nintegration policy, even when cluster is able to use the multiple agent\r\npolicies feature.","sha":"3952dea3962c52dbd8d0cf01f7966670a64639d4"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/201051","number":201051,"mergeCommit":{"message":"[UII] Allow to create integration policy with no agent policies (#201051)\n\n## Summary\r\n\r\nResolves #198165. This PR fixes an issue where `policy_ids` array was\r\nnot able to be cleared behind the scenes to create an orphaned\r\nintegration policy, even when cluster is able to use the multiple agent\r\npolicies feature.","sha":"3952dea3962c52dbd8d0cf01f7966670a64639d4"}},{"branch":"8.17","label":"v8.17.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/201305","number":201305,"state":"MERGED","mergeCommit":{"sha":"8eb67bd1883aad804d5c33df61d065f01f4398ca","message":"[8.17] [UII] Allow to create integration policy with no agent policies (#201051) (#201305)\n\n# Backport\n\nThis will backport the following commits from `main` to `8.17`:\n- [[UII] Allow to create integration policy with no agent policies\n(#201051)](https://github.com/elastic/kibana/pull/201051)\n\n<!--- Backport version: 9.4.3 -->\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT [{\"author\":{\"name\":\"Jen\nHuang\",\"email\":\"[email protected]\"},\"sourceCommit\":{\"committedDate\":\"2024-11-22T00:57:06Z\",\"message\":\"[UII]\nAllow to create integration policy with no agent policies\n(#201051)\\n\\n## Summary\\r\\n\\r\\nResolves #198165. This PR fixes an issue\nwhere `policy_ids` array was\\r\\nnot able to be cleared behind the scenes\nto create an orphaned\\r\\nintegration policy, even when cluster is able\nto use the multiple agent\\r\\npolicies\nfeature.\",\"sha\":\"3952dea3962c52dbd8d0cf01f7966670a64639d4\",\"branchLabelMapping\":{\"^v9.0.0$\":\"main\",\"^v8.18.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"release_note:fix\",\"Team:Fleet\",\"v9.0.0\",\"backport:prev-major\"],\"title\":\"[UII]\nAllow to create integration policy with no agent\npolicies\",\"number\":201051,\"url\":\"https://github.com/elastic/kibana/pull/201051\",\"mergeCommit\":{\"message\":\"[UII]\nAllow to create integration policy with no agent policies\n(#201051)\\n\\n## Summary\\r\\n\\r\\nResolves #198165. This PR fixes an issue\nwhere `policy_ids` array was\\r\\nnot able to be cleared behind the scenes\nto create an orphaned\\r\\nintegration policy, even when cluster is able\nto use the multiple agent\\r\\npolicies\nfeature.\",\"sha\":\"3952dea3962c52dbd8d0cf01f7966670a64639d4\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[],\"targetPullRequestStates\":[{\"branch\":\"main\",\"label\":\"v9.0.0\",\"branchLabelMappingKey\":\"^v9.0.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/201051\",\"number\":201051,\"mergeCommit\":{\"message\":\"[UII]\nAllow to create integration policy with no agent policies\n(#201051)\\n\\n## Summary\\r\\n\\r\\nResolves #198165. This PR fixes an issue\nwhere `policy_ids` array was\\r\\nnot able to be cleared behind the scenes\nto create an orphaned\\r\\nintegration policy, even when cluster is able\nto use the multiple agent\\r\\npolicies\nfeature.\",\"sha\":\"3952dea3962c52dbd8d0cf01f7966670a64639d4\"}}]}]\nBACKPORT-->\n\nCo-authored-by: Jen Huang <[email protected]>"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/201306","number":201306,"state":"MERGED","mergeCommit":{"sha":"19059ee9c2d90d1da7cc21ce05c7c34e6a5b0578","message":"[8.x] [UII] Allow to create integration policy with no agent policies (#201051) (#201306)\n\n# Backport\n\nThis will backport the following commits from `main` to `8.x`:\n- [[UII] Allow to create integration policy with no agent policies\n(#201051)](https://github.com/elastic/kibana/pull/201051)\n\n<!--- Backport version: 9.4.3 -->\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT [{\"author\":{\"name\":\"Jen\nHuang\",\"email\":\"[email protected]\"},\"sourceCommit\":{\"committedDate\":\"2024-11-22T00:57:06Z\",\"message\":\"[UII]\nAllow to create integration policy with no agent policies\n(#201051)\\n\\n## Summary\\r\\n\\r\\nResolves #198165. This PR fixes an issue\nwhere `policy_ids` array was\\r\\nnot able to be cleared behind the scenes\nto create an orphaned\\r\\nintegration policy, even when cluster is able\nto use the multiple agent\\r\\npolicies\nfeature.\",\"sha\":\"3952dea3962c52dbd8d0cf01f7966670a64639d4\",\"branchLabelMapping\":{\"^v9.0.0$\":\"main\",\"^v8.18.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"release_note:fix\",\"Team:Fleet\",\"v9.0.0\",\"backport:prev-major\"],\"title\":\"[UII]\nAllow to create integration policy with no agent\npolicies\",\"number\":201051,\"url\":\"https://github.com/elastic/kibana/pull/201051\",\"mergeCommit\":{\"message\":\"[UII]\nAllow to create integration policy with no agent policies\n(#201051)\\n\\n## Summary\\r\\n\\r\\nResolves #198165. This PR fixes an issue\nwhere `policy_ids` array was\\r\\nnot able to be cleared behind the scenes\nto create an orphaned\\r\\nintegration policy, even when cluster is able\nto use the multiple agent\\r\\npolicies\nfeature.\",\"sha\":\"3952dea3962c52dbd8d0cf01f7966670a64639d4\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[],\"targetPullRequestStates\":[{\"branch\":\"main\",\"label\":\"v9.0.0\",\"branchLabelMappingKey\":\"^v9.0.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/201051\",\"number\":201051,\"mergeCommit\":{\"message\":\"[UII]\nAllow to create integration policy with no agent policies\n(#201051)\\n\\n## Summary\\r\\n\\r\\nResolves #198165. This PR fixes an issue\nwhere `policy_ids` array was\\r\\nnot able to be cleared behind the scenes\nto create an orphaned\\r\\nintegration policy, even when cluster is able\nto use the multiple agent\\r\\npolicies\nfeature.\",\"sha\":\"3952dea3962c52dbd8d0cf01f7966670a64639d4\"}}]}]\nBACKPORT-->\n\nCo-authored-by: Jen Huang <[email protected]>"}}]}] BACKPORT-->
…tic#201051) ## Summary Resolves elastic#198165. This PR fixes an issue where `policy_ids` array was not able to be cleared behind the scenes to create an orphaned integration policy, even when cluster is able to use the multiple agent policies feature.
…tic#201051) ## Summary Resolves elastic#198165. This PR fixes an issue where `policy_ids` array was not able to be cleared behind the scenes to create an orphaned integration policy, even when cluster is able to use the multiple agent policies feature.
Summary
Resolves #198165. This PR fixes an issue where
policy_ids
array was not able to be cleared behind the scenes to create an orphaned integration policy, even when cluster is able to use the multiple agent policies feature.