Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.17] [Authz] Removed security property from route.options types (#2…
…01352) (#201428) # Backport This will backport the following commits from `main` to `8.17`: - [[Authz] Removed security property from route.options types (#201352)](#201352) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Elena Shostak","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-22T16:13:08Z","message":"[Authz] Removed security property from route.options types (#201352)\n\n## Summary\r\n\r\nRemoved `security` property from `route.options` types, `security`\r\nshould exist only as a top level property.\r\nFixed routes with incorrect config accordingly.\r\n\r\n\r\n## Routes Impacted\r\nRoutes with disabled authorization (impact can be considered negligible)\r\n```\r\n/internal/entities/managed/enablement\r\n/internal/entities/managed/enablement\r\n/internal/entities/managed/enablement\r\n/internal/entities/definition\r\n/internal/entities/definition/{id}\r\n/internal/entities/definition/{id?}\r\n/internal/entities/definition/{id}/_reset\r\n/internal/entities/definition/{id}\r\n/api/streams/_enable\r\n/api/streams/_resync\r\n/api/streams/{id}/_fork\r\n/api/streams/{id}\r\n/api/streams/{id}\r\n/api/streams/{id}\r\n/api/streams \r\n```\r\n\r\nRoutes with authorization (will be backported to `8.17.0`)\r\n\r\n```\r\n/internal/product_doc_base/status\r\n/internal/product_doc_base/install\r\n/internal/product_doc_base/uninstall\r\n```\r\n\r\n\r\n\r\n__Fixes: https://github.com/elastic/kibana/issues/201347__","sha":"ec7e1a808f9dc8012fb53a6a7bad0391afe265f2","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Security","release_note:skip","Feature:Security/Authorization","v9.0.0","backport:prev-minor","backport:version","v8.17.0"],"title":"[Authz] Removed security property from route.options types","number":201352,"url":"https://github.com/elastic/kibana/pull/201352","mergeCommit":{"message":"[Authz] Removed security property from route.options types (#201352)\n\n## Summary\r\n\r\nRemoved `security` property from `route.options` types, `security`\r\nshould exist only as a top level property.\r\nFixed routes with incorrect config accordingly.\r\n\r\n\r\n## Routes Impacted\r\nRoutes with disabled authorization (impact can be considered negligible)\r\n```\r\n/internal/entities/managed/enablement\r\n/internal/entities/managed/enablement\r\n/internal/entities/managed/enablement\r\n/internal/entities/definition\r\n/internal/entities/definition/{id}\r\n/internal/entities/definition/{id?}\r\n/internal/entities/definition/{id}/_reset\r\n/internal/entities/definition/{id}\r\n/api/streams/_enable\r\n/api/streams/_resync\r\n/api/streams/{id}/_fork\r\n/api/streams/{id}\r\n/api/streams/{id}\r\n/api/streams/{id}\r\n/api/streams \r\n```\r\n\r\nRoutes with authorization (will be backported to `8.17.0`)\r\n\r\n```\r\n/internal/product_doc_base/status\r\n/internal/product_doc_base/install\r\n/internal/product_doc_base/uninstall\r\n```\r\n\r\n\r\n\r\n__Fixes: https://github.com/elastic/kibana/issues/201347__","sha":"ec7e1a808f9dc8012fb53a6a7bad0391afe265f2"}},"sourceBranch":"main","suggestedTargetBranches":["8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/201352","number":201352,"mergeCommit":{"message":"[Authz] Removed security property from route.options types (#201352)\n\n## Summary\r\n\r\nRemoved `security` property from `route.options` types, `security`\r\nshould exist only as a top level property.\r\nFixed routes with incorrect config accordingly.\r\n\r\n\r\n## Routes Impacted\r\nRoutes with disabled authorization (impact can be considered negligible)\r\n```\r\n/internal/entities/managed/enablement\r\n/internal/entities/managed/enablement\r\n/internal/entities/managed/enablement\r\n/internal/entities/definition\r\n/internal/entities/definition/{id}\r\n/internal/entities/definition/{id?}\r\n/internal/entities/definition/{id}/_reset\r\n/internal/entities/definition/{id}\r\n/api/streams/_enable\r\n/api/streams/_resync\r\n/api/streams/{id}/_fork\r\n/api/streams/{id}\r\n/api/streams/{id}\r\n/api/streams/{id}\r\n/api/streams \r\n```\r\n\r\nRoutes with authorization (will be backported to `8.17.0`)\r\n\r\n```\r\n/internal/product_doc_base/status\r\n/internal/product_doc_base/install\r\n/internal/product_doc_base/uninstall\r\n```\r\n\r\n\r\n\r\n__Fixes: https://github.com/elastic/kibana/issues/201347__","sha":"ec7e1a808f9dc8012fb53a6a7bad0391afe265f2"}},{"branch":"8.17","label":"v8.17.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Elena Shostak <[email protected]>
- Loading branch information