No... the expiration is not a property of the target account itself. Its a property of the password composition policy associated with the target application that the target account belongs to.
What you want to look at is the updateTime or updateDate... they should be the same value just in different formats (Linux & Mysql date/time). That will tell you the last time the password was updated. Its up to you to calculate how long the account has before it reaches expiration.
NOTE, if I remember correctly, a new account may not have an updateTime or updateDate... in which case you may need to look at the createTime and createDate. You would want to test this to be sure.
Original Message:
Sent: 11-16-2020 12:18 PM
From: Pankaj Kumar
Subject: Target Account expiration details
Hi @Joseph Fry,
Output from both commands doesn't have password expiry details.
Original Message:
Sent: 11-16-2020 10:25 AM
From: Joseph Fry
Subject: Target Account expiration details
The only way I can think of is using the listTargetAccounts or searchTargetAccounts CLI commands to grab a list of the target accounts, then filtering them further in your script or a spreadsheet.
https://techdocs.broadcom.com/us/en/symantec-security-software/identity-security/privileged-access-manager/3-2/programming/credential-manager-remote-cli-and-java-api.html
Original Message:
Sent: 11-13-2020 09:39 AM
From: Pankaj Kumar
Subject: Target Account expiration details
Hi SME's,
There is requirement to send password expiry notification in advance for certain accounts . How can I fetch Target accounts password expiration details ?