Kibana - API key search results broken

In Kibana go to Stack management > Security > API keys.
Type into search some letters or a word for an API key name.
Nothing is returned, even if the API key names include letters or words you typed.
If you type the whole name of the apikey exactly then that API key is filtered.

This was not the same behavior in 8.13. We could type any word or letter in an API key, and the results would be filtered down to results that included the word. The search seems pointless if we have to type the apikey name exactly.

Note if I go to any other search bar in Kibana this problem does not happen. For instance Stack management > Security > Roles, I am able to filter just fine. The above problem does not happen. In fact, it seems its only the Api keys.

Is this expected? Is there a patch that fixes this?

@Dave_Houser Uhhh What version do you see this? :slight_smile:

8.18.0 and 8.18.6

I am sure it is a bug 8.19.7 Works

You don't have the filter on right?

I'm on 8.19.2 and have a similar behavior.

I need to use a wildcard.

For example, if I have an API Key named Secops Automation API and type Secops only, nothing will be returned, but if I use Secops*, then it will show up.

So that narrows it down... fix is somewhere between 8.19.3 and 8.19.7

Asssuming what you see @leandrojmp on my screen shot solves the issue I don't have spaces in mine I could try that but you see it finding otel in the middle of names

Spaces / Case Insensitive seems to work

I think it was added here: Adding API Key Wildcard Search by Eamonn-OL · Pull Request #221959 · elastic/kibana · GitHub

On versions: 8.18.8, 8.19.5, 9.0.8, 9.1.6, 9.2.0

1 Like

I upgraded to 8.19.5, the problem is gone and it works as 8.13 worked.
Thanks everyone for the recommendations.