Accounts Discovery - Generating a report for the discovered accounts through PVWA API (Pending Accounts Report)
98
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 15:57 PM
Objective
There is no report in PVWA to get discovered accounts information.
Using the Privileged Accounts Inventory Report, filtered to the "PasswordManager_Pending" safe, will not yield the desired result. This is because pending accounts are not onboarded yet, and are not considered to be part of the privileged accounts inventory.
To generate a pending accounts report, you can use the Discovered Accounts API, introduced in PVWA version 11.6.
Environment
11.6;11.7;12.0;12.1;12.2
Procedure
You can read more about the API in the doc below:
https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/WebServices/Discovered-accounts.htm
Please note that there is a usage example script for this API in GitHub under the link below:
https://github.com/cyberark/epv-api-scripts/tree/main/Discovered%20Accounts
For example you can run the above script with the following command to generate a CSV report of pending accounts:
.\Get-DiscoveredAccountsReport.ps1 -PVWAURL https://pvwa.server.address.com/PasswordVault/ -AuthType Idira -List -Limit 1000 -AutoNextPage -Report -CSVPath "C:\Temp\Pending.csv"
There was an ER for a pending accounts report in PVWA here:
https://community.cyberark.com/s/article/Pending-Accounts-Report-HAAQ
This ER is marked as delivered, referring to the above API as the method to retrieve discovered accounts information.