-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[FTR] support custom native roles in serverless tests #194677
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
Merged
dmlemeshko
merged 28 commits into
elastic:main
from
dmlemeshko:ftr/support-custom-native-roles
Oct 11, 2024
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
4e79028
[ftr] login with custom native role
dmlemeshko 0195b9f
Merge remote-tracking branch 'upstream/main' into ftr/support-custom-…
dmlemeshko 7adbe78
fix typo
dmlemeshko 150f80d
fix typo, export interface
dmlemeshko fc86e90
fix typo
dmlemeshko 30a8002
fix API key creation for custom role
dmlemeshko 8e78de2
add comments
dmlemeshko 53c60c6
Merge branch 'main' into ftr/support-custom-native-roles
dmlemeshko 45369f5
Merge branch 'ftr/support-custom-native-roles' of github.com:dmlemesh…
dmlemeshko c383b2a
update security/authorization tests
dmlemeshko a22be26
Merge remote-tracking branch 'upstream/main' into ftr/support-custom-…
dmlemeshko f7b9752
skip tests
dmlemeshko 2989f2a
Merge branch 'main' into ftr/support-custom-native-roles
dmlemeshko 913942e
Merge branch 'ftr/support-custom-native-roles' of github.com:dmlemesh…
dmlemeshko d951b7c
update condition
dmlemeshko a0b1a79
update docs
dmlemeshko d393633
add check if custom role is supported
dmlemeshko b54710c
Merge remote-tracking branch 'upstream/main' into ftr/support-custom-…
dmlemeshko d4afd7b
post merge fix
dmlemeshko 9e3f754
Update custom_role_access.ts
dmlemeshko d9347c8
Merge branch 'main' into ftr/support-custom-native-roles
dmlemeshko 472d30f
Merge branch 'main' into ftr/support-custom-native-roles
dmlemeshko a8243e9
Merge branch 'main' into ftr/support-custom-native-roles
dmlemeshko 403ea84
Merge branch 'main' into ftr/support-custom-native-roles
dmlemeshko c7cef60
move login to before hook
dmlemeshko 7b57978
Merge branch 'main' into ftr/support-custom-native-roles
dmlemeshko 898c2f3
Merge branch 'main' into ftr/support-custom-native-roles
dmlemeshko c6c4b32
Merge branch 'main' into ftr/support-custom-native-roles
dmlemeshko File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
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.
I was getting 400 status code while trying to send payload with
role_descriptorsfor custom role. I searched in Kibana repo for some code examples and found schema validation forkibana_role_descriptionhttps://github.com/elastic/kibana/blob/main/x-pack/packages/security/plugin_types_server/src/authentication/api_keys/api_keys.ts#L29-L36Would be good if @jeramysoucy or @azasypkin can confirm I'm doing it correctly