Adding API Key Wildcard Search#221959
Conversation
Adding ability to do partial matches/searches in the API Key section of the Management Console.
|
Pinging @elastic/kibana-security (Team:Security) |
SiddharthMantri
left a comment
There was a problem hiding this comment.
I tested the changes and the functionality works as expected. @Eamonn-OL Is there a related issue for this? I would like to know, from a product perspective, if this can also be enhanced to support wildcard search on the owner (username) field - the default behavior of the previous in-memory table before we switched to using server side queries
|
@SiddharthMantri sorry for the delay! I was advised that there is an issue: #195795 |
Ooh, that's mine! In that case, can we update this PR to include wildcard search on owner name as well, please? |
|
@elasticmachine merge upstream |
|
Unskipped UI test and added a change for searching by username Screen.Recording.2025-09-30.at.13.47.06.mov |
⏳ Build in-progress, with failures
Failed CI StepsHistory
|
|
@elasticmachine merge upstream |
|
Starting backport for target branches: 8.18, 8.19, 9.0, 9.1 |
Adding ability to do partial matches/searches in the API Key section of the Management Console. https://github.com/user-attachments/assets/02e9c44f-101f-44e3-b7cb-dc731646d140 --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Sid <siddharthmantri1@gmail.com> (cherry picked from commit 7aa44eb)
Adding ability to do partial matches/searches in the API Key section of the Management Console. https://github.com/user-attachments/assets/02e9c44f-101f-44e3-b7cb-dc731646d140 --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Sid <siddharthmantri1@gmail.com> (cherry picked from commit 7aa44eb)
Adding ability to do partial matches/searches in the API Key section of the Management Console. https://github.com/user-attachments/assets/02e9c44f-101f-44e3-b7cb-dc731646d140 --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Sid <siddharthmantri1@gmail.com> (cherry picked from commit 7aa44eb)
Adding ability to do partial matches/searches in the API Key section of the Management Console. https://github.com/user-attachments/assets/02e9c44f-101f-44e3-b7cb-dc731646d140 --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Sid <siddharthmantri1@gmail.com> (cherry picked from commit 7aa44eb)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
# Backport This will backport the following commits from `main` to `9.1`: - [Adding API Key Wildcard Search (#221959)](#221959) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Eamonn-OL","email":"119305140+Eamonn-OL@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-10-02T11:09:41Z","message":"Adding API Key Wildcard Search (#221959)\n\nAdding ability to do partial matches/searches in the API Key section of\nthe Management Console.\n\n\n\nhttps://github.com/user-attachments/assets/02e9c44f-101f-44e3-b7cb-dc731646d140\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>\nCo-authored-by: Sid <siddharthmantri1@gmail.com>","sha":"7aa44ebe60393c5eba50881cb6646d78ccfb09b0","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Security","Feature:Users/Roles/API Keys","backport:all-open","v9.2.0"],"title":"Adding API Key Wildcard Search","number":221959,"url":"https://github.com/elastic/kibana/pull/221959","mergeCommit":{"message":"Adding API Key Wildcard Search (#221959)\n\nAdding ability to do partial matches/searches in the API Key section of\nthe Management Console.\n\n\n\nhttps://github.com/user-attachments/assets/02e9c44f-101f-44e3-b7cb-dc731646d140\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>\nCo-authored-by: Sid <siddharthmantri1@gmail.com>","sha":"7aa44ebe60393c5eba50881cb6646d78ccfb09b0"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/221959","number":221959,"mergeCommit":{"message":"Adding API Key Wildcard Search (#221959)\n\nAdding ability to do partial matches/searches in the API Key section of\nthe Management Console.\n\n\n\nhttps://github.com/user-attachments/assets/02e9c44f-101f-44e3-b7cb-dc731646d140\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>\nCo-authored-by: Sid <siddharthmantri1@gmail.com>","sha":"7aa44ebe60393c5eba50881cb6646d78ccfb09b0"}}]}] BACKPORT--> Co-authored-by: Eamonn-OL <119305140+Eamonn-OL@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Sid <siddharthmantri1@gmail.com>
# Backport This will backport the following commits from `main` to `9.0`: - [Adding API Key Wildcard Search (#221959)](#221959) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Eamonn-OL","email":"119305140+Eamonn-OL@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-10-02T11:09:41Z","message":"Adding API Key Wildcard Search (#221959)\n\nAdding ability to do partial matches/searches in the API Key section of\nthe Management Console.\n\n\n\nhttps://github.com/user-attachments/assets/02e9c44f-101f-44e3-b7cb-dc731646d140\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>\nCo-authored-by: Sid <siddharthmantri1@gmail.com>","sha":"7aa44ebe60393c5eba50881cb6646d78ccfb09b0","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Security","Feature:Users/Roles/API Keys","backport:all-open","v9.2.0"],"title":"Adding API Key Wildcard Search","number":221959,"url":"https://github.com/elastic/kibana/pull/221959","mergeCommit":{"message":"Adding API Key Wildcard Search (#221959)\n\nAdding ability to do partial matches/searches in the API Key section of\nthe Management Console.\n\n\n\nhttps://github.com/user-attachments/assets/02e9c44f-101f-44e3-b7cb-dc731646d140\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>\nCo-authored-by: Sid <siddharthmantri1@gmail.com>","sha":"7aa44ebe60393c5eba50881cb6646d78ccfb09b0"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/221959","number":221959,"mergeCommit":{"message":"Adding API Key Wildcard Search (#221959)\n\nAdding ability to do partial matches/searches in the API Key section of\nthe Management Console.\n\n\n\nhttps://github.com/user-attachments/assets/02e9c44f-101f-44e3-b7cb-dc731646d140\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>\nCo-authored-by: Sid <siddharthmantri1@gmail.com>","sha":"7aa44ebe60393c5eba50881cb6646d78ccfb09b0"}}]}] BACKPORT--> Co-authored-by: Eamonn-OL <119305140+Eamonn-OL@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Sid <siddharthmantri1@gmail.com>
# Backport This will backport the following commits from `main` to `8.19`: - [Adding API Key Wildcard Search (#221959)](#221959) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Eamonn-OL","email":"119305140+Eamonn-OL@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-10-02T11:09:41Z","message":"Adding API Key Wildcard Search (#221959)\n\nAdding ability to do partial matches/searches in the API Key section of\nthe Management Console.\n\n\n\nhttps://github.com/user-attachments/assets/02e9c44f-101f-44e3-b7cb-dc731646d140\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>\nCo-authored-by: Sid <siddharthmantri1@gmail.com>","sha":"7aa44ebe60393c5eba50881cb6646d78ccfb09b0","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Security","Feature:Users/Roles/API Keys","backport:all-open","v9.2.0"],"title":"Adding API Key Wildcard Search","number":221959,"url":"https://github.com/elastic/kibana/pull/221959","mergeCommit":{"message":"Adding API Key Wildcard Search (#221959)\n\nAdding ability to do partial matches/searches in the API Key section of\nthe Management Console.\n\n\n\nhttps://github.com/user-attachments/assets/02e9c44f-101f-44e3-b7cb-dc731646d140\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>\nCo-authored-by: Sid <siddharthmantri1@gmail.com>","sha":"7aa44ebe60393c5eba50881cb6646d78ccfb09b0"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/221959","number":221959,"mergeCommit":{"message":"Adding API Key Wildcard Search (#221959)\n\nAdding ability to do partial matches/searches in the API Key section of\nthe Management Console.\n\n\n\nhttps://github.com/user-attachments/assets/02e9c44f-101f-44e3-b7cb-dc731646d140\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>\nCo-authored-by: Sid <siddharthmantri1@gmail.com>","sha":"7aa44ebe60393c5eba50881cb6646d78ccfb09b0"}}]}] BACKPORT--> Co-authored-by: Eamonn-OL <119305140+Eamonn-OL@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Sid <siddharthmantri1@gmail.com>
# Backport This will backport the following commits from `main` to `8.18`: - [Adding API Key Wildcard Search (#221959)](#221959) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Eamonn-OL","email":"119305140+Eamonn-OL@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-10-02T11:09:41Z","message":"Adding API Key Wildcard Search (#221959)\n\nAdding ability to do partial matches/searches in the API Key section of\nthe Management Console.\n\n\n\nhttps://github.com/user-attachments/assets/02e9c44f-101f-44e3-b7cb-dc731646d140\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>\nCo-authored-by: Sid <siddharthmantri1@gmail.com>","sha":"7aa44ebe60393c5eba50881cb6646d78ccfb09b0","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Security","Feature:Users/Roles/API Keys","backport:all-open","v9.2.0"],"title":"Adding API Key Wildcard Search","number":221959,"url":"https://github.com/elastic/kibana/pull/221959","mergeCommit":{"message":"Adding API Key Wildcard Search (#221959)\n\nAdding ability to do partial matches/searches in the API Key section of\nthe Management Console.\n\n\n\nhttps://github.com/user-attachments/assets/02e9c44f-101f-44e3-b7cb-dc731646d140\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>\nCo-authored-by: Sid <siddharthmantri1@gmail.com>","sha":"7aa44ebe60393c5eba50881cb6646d78ccfb09b0"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/221959","number":221959,"mergeCommit":{"message":"Adding API Key Wildcard Search (#221959)\n\nAdding ability to do partial matches/searches in the API Key section of\nthe Management Console.\n\n\n\nhttps://github.com/user-attachments/assets/02e9c44f-101f-44e3-b7cb-dc731646d140\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>\nCo-authored-by: Sid <siddharthmantri1@gmail.com>","sha":"7aa44ebe60393c5eba50881cb6646d78ccfb09b0"}}]}] BACKPORT--> Co-authored-by: Eamonn-OL <119305140+Eamonn-OL@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Sid <siddharthmantri1@gmail.com>
Adding ability to do partial matches/searches in the API Key section of the Management Console. https://github.com/user-attachments/assets/02e9c44f-101f-44e3-b7cb-dc731646d140 --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Sid <siddharthmantri1@gmail.com>
Adding ability to do partial matches/searches in the API Key section of the Management Console.
1000042133.mp4