Based on documentation (https://docops.ca.com/ca-privileged-access-manager/3-1-1/EN/programming/credential-manager-remote-cli-and-java-api/credential-manager-cli-commands/getmostrecentpasswordhistory), CLI command could be used to get password history.
Executing the command on PAM 3.1.1 does not seem to produce any result:
capam_command capam=xx.xx.xx.xx adminUserID=super cmdName=getMostRecentPasswordHistory TargetAccount.ID=1011 Enter password:
Error Message : 0442PAM-CM-0608: Unsupported command specified.
CA PAM 3.1.1, 3.1.2, 3.0.1, 3.0.2 and 3.2 releases of CA PAM.
This problem happens for Standalone as well as CA PAM cluster environments.
The fix for this problem would be in 3.2.x and higher release of CA PAM.
CA internal tracking defect id is DE371146