forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] [APM] Update deprecated access tags to the new security configu…
…ration in routes (elastic#204058) (elastic#204245) # Backport This will backport the following commits from `main` to `8.x`: - [[APM] Update deprecated access tags to the new security configuration in routes (elastic#204058)](elastic#204058) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Irene Blanco","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-13T15:43:04Z","message":"[APM] Update deprecated access tags to the new security configuration in routes (elastic#204058)\n\n## Summary\r\n\r\nCloses https://github.com/elastic/kibana/issues/203792\r\n\r\nThis PR replaces the deprecated `access` tags with the new `security`\r\nconfiguration.\r\n\r\nAll instances of `options: {tags: ['access:<privilege>']}` are now\r\nupdated to `security: {authz: {requiredPrivileges: [<privilege>]}}`.\r\n\r\nThese are the access tags currently used in APM that have been migrated:\r\n- `access:apm` \r\n- `access:apm_write` \r\n- `access:apm_settings_write` \r\n- `access:ml:canGetJobs` \r\n- `access:ml:canCreateJob` \r\n- `access:ml:canCloseJob` \r\n- `access:ai_assistant`","sha":"a4cf54c5d5c24c780e95349232cf2b83c469d3b1","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-infra_services","Authz: API migration","v8.18.0"],"title":"[APM] Update deprecated access tags to the new security configuration in routes","number":204058,"url":"https://github.com/elastic/kibana/pull/204058","mergeCommit":{"message":"[APM] Update deprecated access tags to the new security configuration in routes (elastic#204058)\n\n## Summary\r\n\r\nCloses https://github.com/elastic/kibana/issues/203792\r\n\r\nThis PR replaces the deprecated `access` tags with the new `security`\r\nconfiguration.\r\n\r\nAll instances of `options: {tags: ['access:<privilege>']}` are now\r\nupdated to `security: {authz: {requiredPrivileges: [<privilege>]}}`.\r\n\r\nThese are the access tags currently used in APM that have been migrated:\r\n- `access:apm` \r\n- `access:apm_write` \r\n- `access:apm_settings_write` \r\n- `access:ml:canGetJobs` \r\n- `access:ml:canCreateJob` \r\n- `access:ml:canCloseJob` \r\n- `access:ai_assistant`","sha":"a4cf54c5d5c24c780e95349232cf2b83c469d3b1"}},"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/204058","number":204058,"mergeCommit":{"message":"[APM] Update deprecated access tags to the new security configuration in routes (elastic#204058)\n\n## Summary\r\n\r\nCloses https://github.com/elastic/kibana/issues/203792\r\n\r\nThis PR replaces the deprecated `access` tags with the new `security`\r\nconfiguration.\r\n\r\nAll instances of `options: {tags: ['access:<privilege>']}` are now\r\nupdated to `security: {authz: {requiredPrivileges: [<privilege>]}}`.\r\n\r\nThese are the access tags currently used in APM that have been migrated:\r\n- `access:apm` \r\n- `access:apm_write` \r\n- `access:apm_settings_write` \r\n- `access:ml:canGetJobs` \r\n- `access:ml:canCreateJob` \r\n- `access:ml:canCloseJob` \r\n- `access:ai_assistant`","sha":"a4cf54c5d5c24c780e95349232cf2b83c469d3b1"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Irene Blanco <[email protected]>
- Loading branch information
1 parent
16f7615
commit a6e263e
Showing
45 changed files
with
291 additions
and
271 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
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.