Get Assets and Vulnerabilities from Cortex XDR via API

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

Get Assets and Vulnerabilities from Cortex XDR via API

L0 Member

Hey Team, 
I wanted to fetch Assets and their vulnerabilities details from Cortex XDR.
Is there any REST endpoint available for the same? 
I tried searching the documentation but coundn't find it. (https://docs-cortex.paloaltonetworks.com/r/Cortex-XDR-REST-API/API-Reference)

2 REPLIES 2

L5 Sessionator

Hi @dishank_08,

 

There is no specific API endpoint available for the assets and VA results.

But, you can run XQL queries using the API, querying the datasets "va_endpoints" or "host_inventory". There is the API reference guide: https://cortex-panw.stoplight.io/docs/cortex-xdr/branches/main/ecc87ad01e173-start-an-xql-query

Using XQL Queries from the API Endpoint consumes Compute Units, keep an eye on that usage under Settings - Configurations - Data Management - Compute Units Usage

 

If this post answers your question, please mark it as the solution.

JM

Thanks @jmazzeo.

I see along with "va_endpoints" there is "va_cves" dataset also available which seems related for all vulnerabilities in XDR. Does there any feature or permission/role requires to access these dataset or data?

  • 187 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!