Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] [Security Solution] Show deprecated bulk endpoints in Upgrade A…
…ssistant (#207091) (#207882) # Backport This will backport the following commits from `main` to `8.x`: - [[Security Solution] Show deprecated bulk endpoints in Upgrade Assistant (#207091)](#207091) <!--- Backport version: 9.6.4 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Nikita Indik","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-01-22T16:36:24Z","message":"[Security Solution] Show deprecated bulk endpoints in Upgrade Assistant (#207091)\n\n**Partially addresses: https://github.com/elastic/kibana/issues/193184**\n\n## Summary\nWe are going to remove our deprecated [bulk action\nendpoints](#193184) in v9.0.0.\nThey are already unavailable in `main`.\n\nThis PR makes deprecated bulk endpoints visible in Upgrade Assistant.\nAlso, it adds an upgrade guide to the documentation to help users\ntransition to supported endpoints.\n\n⚠️ This PR temporarily adds the deprecated endpoints back to\n`register_routes.ts`. This is needed to make merging changes easier.\nI'll open up a follow up PR for `main` that will delete these endpoints\nfrom `9.0`. Will do it once this PR is merged.\n\n## Screenshots\n**Deprecated endpoints visible in Upgrade Assistant table**\n<img width=\"1276\" alt=\"Schermafbeelding 2025-01-21 om 11 27 53\"\nsrc=\"https://github.com/user-attachments/assets/909c7a20-31d9-46bb-89ec-b409550074e4\"\n/>\n\n**Clicking on a table item opens a flyout with more info**\n<table>\n <tr>\n <td>\n<img width=\"1270\" alt=\"patch_update\"\nsrc=\"https://github.com/user-attachments/assets/8e99459d-1ea1-40c4-936c-23074c02cd6f\"\n/>\n </td>\n <td>\n<img width=\"1270\" alt=\"post_create\"\nsrc=\"https://github.com/user-attachments/assets/6e734e97-4cf4-4d96-9f8d-51efeb3977ad\"\n/>\n </td>\n </tr>\n <tr>\n <td>\n<img width=\"1270\" alt=\"put_update\"\nsrc=\"https://github.com/user-attachments/assets/d5b08e16-bf49-475d-81a9-fe5654483e1d\"\n/>\n </td>\n <td>\n<img width=\"1271\" alt=\"post_delete\"\nsrc=\"https://github.com/user-attachments/assets/ccb74552-50a4-4bdb-b04e-06857caa8f38\"\n/>\n </td>\n </tr>\n</table>\n\n**Clicking on \"Learn more\" in the flyout takes you to the [upgrade\nguide](https://kibana_bk_207091.docs-preview.app.elstc.co/guide/en/kibana/master/breaking-changes-summary.html#breaking-207091)**\n<img width=\"731\" alt=\"upgrade_notes\"\nsrc=\"https://github.com/user-attachments/assets/b8b471ea-98c7-4b07-91db-b1630c382554\"\n/>\n\n\n## Testing\nOnce you send a request to one of the deprecated endpoints it should\nshow up in Upgrade Assistant at\n`<basePath>/app/management/stack/upgrade_assistant/kibana_deprecations`.\nPlease refer to [this\nticket](#193184) for the list of\ndeprecated endpoints.\n\nWork started on: 16-Jan-2025","sha":"33145379e57825f022dffa8405ded308d5eba8d0","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Detections and Resp","Team: SecuritySolution","Feature:Rule Management","Team:Detection Rule Management","ui-copy","ci:cloud-deploy","ci:project-deploy-security","backport:version","v8.18.0"],"title":"[Security Solution] Show deprecated bulk endpoints in Upgrade Assistant","number":207091,"url":"https://github.com/elastic/kibana/pull/207091","mergeCommit":{"message":"[Security Solution] Show deprecated bulk endpoints in Upgrade Assistant (#207091)\n\n**Partially addresses: https://github.com/elastic/kibana/issues/193184**\n\n## Summary\nWe are going to remove our deprecated [bulk action\nendpoints](#193184) in v9.0.0.\nThey are already unavailable in `main`.\n\nThis PR makes deprecated bulk endpoints visible in Upgrade Assistant.\nAlso, it adds an upgrade guide to the documentation to help users\ntransition to supported endpoints.\n\n⚠️ This PR temporarily adds the deprecated endpoints back to\n`register_routes.ts`. This is needed to make merging changes easier.\nI'll open up a follow up PR for `main` that will delete these endpoints\nfrom `9.0`. Will do it once this PR is merged.\n\n## Screenshots\n**Deprecated endpoints visible in Upgrade Assistant table**\n<img width=\"1276\" alt=\"Schermafbeelding 2025-01-21 om 11 27 53\"\nsrc=\"https://github.com/user-attachments/assets/909c7a20-31d9-46bb-89ec-b409550074e4\"\n/>\n\n**Clicking on a table item opens a flyout with more info**\n<table>\n <tr>\n <td>\n<img width=\"1270\" alt=\"patch_update\"\nsrc=\"https://github.com/user-attachments/assets/8e99459d-1ea1-40c4-936c-23074c02cd6f\"\n/>\n </td>\n <td>\n<img width=\"1270\" alt=\"post_create\"\nsrc=\"https://github.com/user-attachments/assets/6e734e97-4cf4-4d96-9f8d-51efeb3977ad\"\n/>\n </td>\n </tr>\n <tr>\n <td>\n<img width=\"1270\" alt=\"put_update\"\nsrc=\"https://github.com/user-attachments/assets/d5b08e16-bf49-475d-81a9-fe5654483e1d\"\n/>\n </td>\n <td>\n<img width=\"1271\" alt=\"post_delete\"\nsrc=\"https://github.com/user-attachments/assets/ccb74552-50a4-4bdb-b04e-06857caa8f38\"\n/>\n </td>\n </tr>\n</table>\n\n**Clicking on \"Learn more\" in the flyout takes you to the [upgrade\nguide](https://kibana_bk_207091.docs-preview.app.elstc.co/guide/en/kibana/master/breaking-changes-summary.html#breaking-207091)**\n<img width=\"731\" alt=\"upgrade_notes\"\nsrc=\"https://github.com/user-attachments/assets/b8b471ea-98c7-4b07-91db-b1630c382554\"\n/>\n\n\n## Testing\nOnce you send a request to one of the deprecated endpoints it should\nshow up in Upgrade Assistant at\n`<basePath>/app/management/stack/upgrade_assistant/kibana_deprecations`.\nPlease refer to [this\nticket](#193184) for the list of\ndeprecated endpoints.\n\nWork started on: 16-Jan-2025","sha":"33145379e57825f022dffa8405ded308d5eba8d0"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/207091","number":207091,"mergeCommit":{"message":"[Security Solution] Show deprecated bulk endpoints in Upgrade Assistant (#207091)\n\n**Partially addresses: https://github.com/elastic/kibana/issues/193184**\n\n## Summary\nWe are going to remove our deprecated [bulk action\nendpoints](#193184) in v9.0.0.\nThey are already unavailable in `main`.\n\nThis PR makes deprecated bulk endpoints visible in Upgrade Assistant.\nAlso, it adds an upgrade guide to the documentation to help users\ntransition to supported endpoints.\n\n⚠️ This PR temporarily adds the deprecated endpoints back to\n`register_routes.ts`. This is needed to make merging changes easier.\nI'll open up a follow up PR for `main` that will delete these endpoints\nfrom `9.0`. Will do it once this PR is merged.\n\n## Screenshots\n**Deprecated endpoints visible in Upgrade Assistant table**\n<img width=\"1276\" alt=\"Schermafbeelding 2025-01-21 om 11 27 53\"\nsrc=\"https://github.com/user-attachments/assets/909c7a20-31d9-46bb-89ec-b409550074e4\"\n/>\n\n**Clicking on a table item opens a flyout with more info**\n<table>\n <tr>\n <td>\n<img width=\"1270\" alt=\"patch_update\"\nsrc=\"https://github.com/user-attachments/assets/8e99459d-1ea1-40c4-936c-23074c02cd6f\"\n/>\n </td>\n <td>\n<img width=\"1270\" alt=\"post_create\"\nsrc=\"https://github.com/user-attachments/assets/6e734e97-4cf4-4d96-9f8d-51efeb3977ad\"\n/>\n </td>\n </tr>\n <tr>\n <td>\n<img width=\"1270\" alt=\"put_update\"\nsrc=\"https://github.com/user-attachments/assets/d5b08e16-bf49-475d-81a9-fe5654483e1d\"\n/>\n </td>\n <td>\n<img width=\"1271\" alt=\"post_delete\"\nsrc=\"https://github.com/user-attachments/assets/ccb74552-50a4-4bdb-b04e-06857caa8f38\"\n/>\n </td>\n </tr>\n</table>\n\n**Clicking on \"Learn more\" in the flyout takes you to the [upgrade\nguide](https://kibana_bk_207091.docs-preview.app.elstc.co/guide/en/kibana/master/breaking-changes-summary.html#breaking-207091)**\n<img width=\"731\" alt=\"upgrade_notes\"\nsrc=\"https://github.com/user-attachments/assets/b8b471ea-98c7-4b07-91db-b1630c382554\"\n/>\n\n\n## Testing\nOnce you send a request to one of the deprecated endpoints it should\nshow up in Upgrade Assistant at\n`<basePath>/app/management/stack/upgrade_assistant/kibana_deprecations`.\nPlease refer to [this\nticket](#193184) for the list of\ndeprecated endpoints.\n\nWork started on: 16-Jan-2025","sha":"33145379e57825f022dffa8405ded308d5eba8d0"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->
- Loading branch information