-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
) # Backport This will backport the following commits from `main` to `8.x`: - [[EEM] Disable authorization checks on endpoints (#198695)](#198695) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Milton Hultgren","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-14T08:32:57Z","message":"[EEM] Disable authorization checks on endpoints (#198695)\n\nDisable authorization checks on all entity manager endpoints.\r\n\r\nAlso makes two notable changes to the endpoints/EntityClient behaviour:\r\n- previously the EntityClient accepted a `IScopedClusterClient` and\r\nabstracted usage of asInternalUser/asCurrentUser in its methods which\r\nmay result in unwanted behavior for consumers. It now only accepts an\r\n`ElasticsearchClient` that is preauthenticated by the consumers\r\n- added permissions verifications to custom definition endpoints\r\n\r\n---------\r\n\r\nCo-authored-by: Kevin Lacabane <[email protected]>\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"94d7df3ae7ae6c482906ec8946e61a62e05b1960","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor"],"title":"[EEM] Disable authorization checks on endpoints","number":198695,"url":"https://github.com/elastic/kibana/pull/198695","mergeCommit":{"message":"[EEM] Disable authorization checks on endpoints (#198695)\n\nDisable authorization checks on all entity manager endpoints.\r\n\r\nAlso makes two notable changes to the endpoints/EntityClient behaviour:\r\n- previously the EntityClient accepted a `IScopedClusterClient` and\r\nabstracted usage of asInternalUser/asCurrentUser in its methods which\r\nmay result in unwanted behavior for consumers. It now only accepts an\r\n`ElasticsearchClient` that is preauthenticated by the consumers\r\n- added permissions verifications to custom definition endpoints\r\n\r\n---------\r\n\r\nCo-authored-by: Kevin Lacabane <[email protected]>\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"94d7df3ae7ae6c482906ec8946e61a62e05b1960"}},"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/198695","number":198695,"mergeCommit":{"message":"[EEM] Disable authorization checks on endpoints (#198695)\n\nDisable authorization checks on all entity manager endpoints.\r\n\r\nAlso makes two notable changes to the endpoints/EntityClient behaviour:\r\n- previously the EntityClient accepted a `IScopedClusterClient` and\r\nabstracted usage of asInternalUser/asCurrentUser in its methods which\r\nmay result in unwanted behavior for consumers. It now only accepts an\r\n`ElasticsearchClient` that is preauthenticated by the consumers\r\n- added permissions verifications to custom definition endpoints\r\n\r\n---------\r\n\r\nCo-authored-by: Kevin Lacabane <[email protected]>\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"94d7df3ae7ae6c482906ec8946e61a62e05b1960"}}]}] BACKPORT--> Co-authored-by: Milton Hultgren <[email protected]>
- Loading branch information
1 parent
6ec3126
commit a813573
Showing
19 changed files
with
209 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.