12-14-2020 12:07 PM
Does anyone know of a way to expose the internal user database password expiration date? It seems it should be trivial but not easily found. One use case for this request has to do with a number of "service" accounts with the same email. The password expiration just indicates an account password will expire, but with no way to know which one. It seems it should be easy to find users who are locked out or print out a list of password expiration dates... ?
-- Jerry Matson
HDR Inc.
Solved! Go to Solution.
12-15-2020 03:11 PM
You are correct, Jerry, ISE does not expose that information, unfortunately.
I've sent it to one of our product managers as an enhancement.
12-14-2020 12:40 PM
Have you considered relying on the ISE ERS APIs?
Here are two curl commands you could use (first one returns all internal users with unique ID; second one returns the expiryDate for specific user ID)
1: curl -k --include --header 'Content-Type:application/json' --header 'Accept: application/json' --user <user:pass> --request GET https://isepan:9060/ers/config/internaluser
2: curl -k --include --header 'Content-Type:application/json' --header 'Accept: application/json' --user <user:pass> --request GET https://isepan:9060/ers/config/internaluser/uniqueID
See more: ISE ERS API Examples - Cisco Community
https://isepan:9060/ers/sdk#
12-14-2020 12:48 PM
I have used Postman to query that same location but it only shows if the user account is set to expire and that expiration date. Unfortunately, nothing about the password expiration date.
12-15-2020 03:11 PM
You are correct, Jerry, ISE does not expose that information, unfortunately.
I've sent it to one of our product managers as an enhancement.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide