Enhanced Security Measures in Place:   To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.

How to list findings via API calls

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

How to list findings via API calls

L1 Bithead

Hi there

 

I'm trying to report on findings via API call but can't seem to find the correct request to send. Does anyone know how to get this info ?  

 

/resource/scan_info  only reports on alert and vulnerability

 

JulienPotier_1-1728656167920.png

Thanks

 

1 accepted solution

Accepted Solutions

L2 Linker

@Julien-Potier 

 

Use the  https://pan.dev/prisma-cloud/api/cspm/get-resource-scan-info-v-2/  to get the UnifiedAssetID response element

OOmotayo_0-1728853972434.png

 

Use the POST https://{{api-endpoint}}/uai/v1/asset  with payload 

{"type":"asset_lite",
"assetId":"<UnifiedAssetID"}
in the body of the API call to retrieve the Information on page.
 
OOmotayo_1-1728854172048.png

 

Pleaselet me know if you have further questions.

View solution in original post

2 REPLIES 2

L2 Linker

@Julien-Potier 

 

Use the  https://pan.dev/prisma-cloud/api/cspm/get-resource-scan-info-v-2/  to get the UnifiedAssetID response element

OOmotayo_0-1728853972434.png

 

Use the POST https://{{api-endpoint}}/uai/v1/asset  with payload 

{"type":"asset_lite",
"assetId":"<UnifiedAssetID"}
in the body of the API call to retrieve the Information on page.
 
OOmotayo_1-1728854172048.png

 

Pleaselet me know if you have further questions.

L1 Bithead

Thank you. Yes that provided the info i was after.  Many thanks

  • 1 accepted solution
  • 431 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!