Hi Team,
I need to count how many users change their password from sailpoint UI as attaching screenshot.
I am also attaching my code for reference. is it correct or not?
int countPasswordChanges=0;
QueryOptions qo9 = new QueryOptions();
qo9.add(Filter.eq("action", "PasswordChange"));
List results = context.getObjects(AuditEvent.class, qo9);
// System.out.println(">>>>>>>>>>>>"+results);
countPasswordChanges =results.size();
Hi @amanKsingh , You will be able to view the modifications in the XML as Password History.
Hi @amanKsingh,
yes, I think is correct. Also you can use countObject and it return the number of changes,
or like @amahlemohlokonya says, you can read from the identity the password history, but this funcion came back a string with all old pwds
can you let me know from where you are attaching this screenshot ?
Hi @amanKsingh,
Code will return the count. But you can direct view the count from Advanced analytics.
Regards,
Arun
In action tab drop down list not contain password change. How can I show in drop down.
Hi Aman, To find this, go to the debug page, select ‘Identity’ as the object type, and search by entering the username.
do you have actived the audit for Change Password?
Go to Global Configuration and select the Audit configuration. Enable the password changed action…
amanKsingh
(Aman Singh)
10
But check box is not coming for password related. Can you help me from where I can enable it.
Hi @amanKsingh please share your screenshot for Audit configuration
amanKsingh
(Aman Singh)
12
I am attaching screenshot
amanKsingh
(Aman Singh)
13
In lower ENV it is coming but in prod not showing
Hi @amanKsingh , This is due to certain capabilities in Prod that have been set up.
Here is a reference to IdentityIQ Capabilities Matrix - All Versions - Compass (sailpoint.com)
Check on AuditConfig:

iff you this key enable:
<AuditAction displayName="audit_action_PasswordChanged" enabled="true" name="PasswordChange"/>
if not present, paste this key
system
(system)
Closed
16
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.