Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Runtime v2 analytics not found - fetchRuntimeControlsDataV2

SS
New Contributor III
New Contributor III

Hi,

I am using fetchRuntimeControlsDataV2 to obtain the logs. When we hit the URL from postman, be get error 'Runtime v2 analytics not found'.

SS_0-1715064810442.png

The analytics is v2 and is working fine. 

SS_1-1715064862448.pngSS_2-1715064891310.png

I also see '412 Preconditions Failed' message in postman. 

NOTE: For testing purposes, I am using a user with 'ROLE_ADMIN' SAV role assigned.

Can you please tell me what is going wrong here?

Below is the header from postman.

SS_1-1715065372434.pngSS_0-1715065324660.png

[This message has been edited by moderator to merge reply comment]

6 REPLIES 6

rushikeshvartak
All-Star
All-Star

Your report is not runtime report

How to validate runtime? icon in end of report name 

rushikeshvartak_0-1715086539053.png

 

https://forums.saviynt.com/t5/identity-governance/export-analytics-result-via-postman-api/m-p/90830#...


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

SS
New Contributor III
New Contributor III

Thank you @rushikeshvartak . I am doing this exercise to create analytics for integrating SIEM. So, as I understand, the analytics control that is created for SIEM integration should be a runtime analytics (v2). Apart from audit logs, we can create our own custom analytics controls that can be consumed by the SIEM system, please confirm. Using the  fetchRuntimeControlsDataV2 we can then fetch the results of these controls to be consumed by the SIEM system. Is my understanding correct?

@SS : Yes apart from default one you can use custom analytics but to use fetchRuntimeControlsDataV2 API that analytics should be Runtime not just simple SQL Query

Saathvik_0-1715099094078.png

Also like Rushi mentioned you can identify the Runtime analytics with icon at the end of analytics name.


Regards,
Saathvik
If this reply answered your question, please Accept As Solution and give Kudos to help others facing similar issue.

SS
New Contributor III
New Contributor III

Thank you @Saathvik  If understand correctly, only the data of analytics of type 'Runtime Analytics' be fetched via an API, am I correct?

@SS : Yes that's true


Regards,
Saathvik
If this reply answered your question, please Accept As Solution and give Kudos to help others facing similar issue.

Yes

Please click the 'Accept As Solution' button on the reply (or replies) that best answered your original question.


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.