-
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 @elastic/kibana-core #198187
Conversation
Pinging @elastic/kibana-core (Team:Core) |
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.
🚀
Pinging @elastic/kibana-cloud-security-posture (Team:Cloud Security) |
💚 Build Succeeded
Metrics [docs]
History
cc @afharo |
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.
Starting backport for target branches: 8.x https://github.com/elastic/kibana/actions/runs/11733945263 |
💔 All backports failed
Manual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation |
Starting backport for target branches: 8.x https://github.com/elastic/kibana/actions/runs/11740548890 |
Starting backport for target branches: 8.x https://github.com/elastic/kibana/actions/runs/11740548893 |
💔 All backports failed
Manual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation |
1 similar comment
💔 All backports failed
Manual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation |
…lastic#198187) Co-authored-by: Alejandro Fernández Haro <[email protected]>
…lastic#198187) Co-authored-by: Alejandro Fernández Haro <[email protected]>
I will retry the backport when #199470 is merged |
Starting backport for target branches: 8.x https://github.com/elastic/kibana/actions/runs/11744133143 |
Starting backport for target branches: 8.x https://github.com/elastic/kibana/actions/runs/11744133248 |
…lastic#198187) Co-authored-by: Alejandro Fernández Haro <[email protected]> (cherry picked from commit 543cc2f)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…lastic#198187) Co-authored-by: Alejandro Fernández Haro <[email protected]> (cherry picked from commit 543cc2f)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…core (#198187) (#199489) # Backport This will backport the following commits from `main` to `8.x`: - [Authorized route migration for routes owned by @elastic/kibana-core (#198187)](#198187) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Kibana Machine","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-08T00:48:30Z","message":"Authorized route migration for routes owned by @elastic/kibana-core (#198187)\n\nCo-authored-by: Alejandro Fernández Haro <[email protected]>","sha":"543cc2f494e11d50685ff07afeca49f45008ecdd","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","enhancement","release_note:skip","Feature:Security/Authorization","v9.0.0","Team:Cloud Security","backport:prev-minor","Authz: API migration"],"title":"Authorized route migration for routes owned by @elastic/kibana-core","number":198187,"url":"https://github.com/elastic/kibana/pull/198187","mergeCommit":{"message":"Authorized route migration for routes owned by @elastic/kibana-core (#198187)\n\nCo-authored-by: Alejandro Fernández Haro <[email protected]>","sha":"543cc2f494e11d50685ff07afeca49f45008ecdd"}},"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/198187","number":198187,"mergeCommit":{"message":"Authorized route migration for routes owned by @elastic/kibana-core (#198187)\n\nCo-authored-by: Alejandro Fernández Haro <[email protected]>","sha":"543cc2f494e11d50685ff07afeca49f45008ecdd"}}]}] BACKPORT-->
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.