-
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
Authorized route migration for routes owned by security-defend-workflows #198381
Authorized route migration for routes owned by security-defend-workflows #198381
Conversation
Pinging @elastic/security-defend-workflows (Team:Defend Workflows) |
…horized-routes-security-defend-workflows
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.
All changes align well with the expected structure, and I haven’t noticed anything missing in the new version compared to the current one.
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.
👍
thanks @szwarckonrad for the updates to tests.
Starting backport for target branches: 8.x https://github.com/elastic/kibana/actions/runs/11783697819 |
💚 Build Succeeded
Metrics [docs]
History
|
…ows (elastic#198381) ### Authz API migration for authorized routes This PR migrates `access:<privilege>` tags used in route definitions to new security configuration. (cherry picked from commit 68a5308)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…workflows (#198381) (#199680) # Backport This will backport the following commits from `main` to `8.x`: - [Authorized route migration for routes owned by security-defend-workflows (#198381)](#198381) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Kibana Machine","email":"42973632+kibanamachine@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-11-11T17:56:34Z","message":"Authorized route migration for routes owned by security-defend-workflows (#198381)\n\n### Authz API migration for authorized routes\r\n\r\nThis PR migrates `access:<privilege>` tags used in route definitions to\r\nnew security configuration.","sha":"68a5308bd5b4a4caa0cdaaa5d6b6d80553ceee9a","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["enhancement","release_note:skip","Feature:Security/Authorization","v9.0.0","Team:Defend Workflows","backport:prev-minor","Authz: API migration"],"title":"Authorized route migration for routes owned by security-defend-workflows","number":198381,"url":"https://github.com/elastic/kibana/pull/198381","mergeCommit":{"message":"Authorized route migration for routes owned by security-defend-workflows (#198381)\n\n### Authz API migration for authorized routes\r\n\r\nThis PR migrates `access:<privilege>` tags used in route definitions to\r\nnew security configuration.","sha":"68a5308bd5b4a4caa0cdaaa5d6b6d80553ceee9a"}},"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/198381","number":198381,"mergeCommit":{"message":"Authorized route migration for routes owned by security-defend-workflows (#198381)\n\n### Authz API migration for authorized routes\r\n\r\nThis PR migrates `access:<privilege>` tags used in route definitions to\r\nnew security configuration.","sha":"68a5308bd5b4a4caa0cdaaa5d6b6d80553ceee9a"}}]}] BACKPORT-->
…ows (elastic#198381) ### Authz API migration for authorized routes This PR migrates `access:<privilege>` tags used in route definitions to new security configuration.
…ows (elastic#198381) ### Authz API migration for authorized routes This PR migrates `access:<privilege>` tags used in route definitions to new security configuration.
Authz API migration for authorized routes
This PR migrates
access:<privilege>
tags used in route definitions to new security configuration.Please refer to the documentation for more information: Authorization API
Before migration:
Access control tags were defined in the
options
object of the route:After migration:
Tags have been replaced with the more robust
security.authz.requiredPrivileges
field undersecurity
:What to do next?
access
tags.Any questions?
If you have any questions or need help with API authorization, please reach out to the
@elastic/kibana-security
team.