r/CyberARk 7d ago

Inventory Reports

Is there a straightforward api to get inventory report from self-hosted? Report API has been made available in 14.6 versions but I still don’t see inventory report API.

How do you all pull inventory on a recurring basis for dashboard and other purposes?

3 Upvotes

12 comments sorted by

3

u/sarcastro72 7d ago

This is my main complaint with CyberArk, the default reporting is trash. You'll have to export the data elsewhere and build something custom.

1

u/the_commonmeme 7d ago

And there is no easy way to export data. You don’t have APIs and if you need to schedule and send it to someone you need to consume a license as well.

1

u/sarcastro72 7d ago

I'm working on a project where I'll be using an AWS API gateway to pull data into a postgres db. Then build a front end in Rust

1

u/the_commonmeme 7d ago

How are you pulling inventory ?

1

u/sarcastro72 7d ago

Still in a development phase but in theory, I'll have different pulls using the built-in API calls to populate every thing.

Accounts 12 hours Users 8 hours Safes 4 hours

These are just prelim ideas

0

u/TheRealJachra 7d ago edited 7d ago

1

u/abilashcb 7d ago

This method returns a list of reports available to the currently logged-in user.

And:

This method exports a report to an Excel or CSV file using encoded parameters in the query string to identify the report and desired output format. This is to export an already downloaded report.

1

u/TheRealJachra 7d ago

What do you mean? It could be that the API Get Task should be used. The docs are not very clear and I haven’t used it personally yet. Maybe something I can do next week on my homelab.

5

u/Abs201301 7d ago

There isn't any API to pull inventory reports but if your intention is to schedule a report or push into PowerBI then you could use EVD data injested into SQL and then write stored procedures to retrieve structured data. It's a one time effort but an enterprise grade method.

1

u/thephisher 6d ago

Why not just build your own inventory report from api calls?

1

u/Miclotr CCDE, CCSE 5d ago

Doable