I was doing some searching based on the email address using the Search UI and was noticing some odd behavior and was wondering if anyone else has encountered this with the email attribute or any other attributes.
I also encountered some differences in how you need to search the email field as well, which I will document here also.
For the purpose of this message, I am using a fresh ambassador tenant with Sailpoint Demo data installed on it. The user I will be searching for will be Adam Kennedy, who has an email address of “[email protected]” in the system.
Searching the Exact, Complete Email Address
First, the primary issue I saw, that I believe may be a bug. When using the Search UI, I was attempting to look up an identity based on the email address and if I used the actual, complete email address, it returned ALL identities, not just the one that matched.
When I used the search query “attributes.email:[email protected]” the search returned every identity.
If I modified the search to remove the last letter to give me this search query “attributes.email:[email protected]” the search returned the singular identity.
I have not tested to see if this occurs with other fields at this time, but will if I have time later.
After I noticed that, I started testing out some additional searches based on other odd items I found helping a client.
Searching using a partial match before the @ symbol:
attributes.email:[email protected] - Returns ALL identities
attributes.email:Adam.Kennedy@sailpointdem - Works, Returns matching identitied
attributes.email:Adam.Kennedy@sailpointdem* - Does not work. Returns 0 results
attributes.email:Adam.Kennedy@ - Works, Returns matching identities
attributes.email:Adam.Kennedy@* - Does not work. Returns 0 results
attributes.email:Adam.Kennedy - Works, Returns matching identities
attributes.email:Adam.Kennedy* - Works, Returns matching identities
attributes.email:Adam.Ken - Does not work. Returns 0 results
attributes.email:Adam.Ken* - Works, Returns matching identities
Switched to "An" here because this will return more than 1 result
attributes.email:An - Does not work. Returns 0 results
attributes.email:An* - Works, Returns matching identities