- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Enhanced Security Measures in Place: To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.
01-03-2024 11:41 AM
does anyone have a xql query that will return endpoint_names with and associated CVE count?
01-04-2024 07:23 AM - edited 01-04-2024 07:33 AM
va_cves or va_endpoints would contain this data. Below are some example queries that might work.
======================================================
dataset = va_cves
| arrayexpand affected_hosts
| comp count(name) as Total_CVE_per_host by affected_hosts
===============================================
dataset = va_endpoints
|arrayexpand cves
|comp count(cves) by endpoint_name
==========================================
Here's the details on the schemas (va_cves and va_endpoints) https://docs-cortex.paloaltonetworks.com/r/Cortex-XDR/Cortex-XDR-Pro-Administrator-Guide/Vulnerabili...
Here's the link to the syntax example from the pandev page for the xql query engine integration. You would use this with the xdr-xql-generic-query command in xsoar https://xsoar.pan.dev/docs/reference/integrations/cortex-xdr---xql-query-engine#command-example
01-04-2024 07:23 AM - edited 01-04-2024 07:33 AM
va_cves or va_endpoints would contain this data. Below are some example queries that might work.
======================================================
dataset = va_cves
| arrayexpand affected_hosts
| comp count(name) as Total_CVE_per_host by affected_hosts
===============================================
dataset = va_endpoints
|arrayexpand cves
|comp count(cves) by endpoint_name
==========================================
Here's the details on the schemas (va_cves and va_endpoints) https://docs-cortex.paloaltonetworks.com/r/Cortex-XDR/Cortex-XDR-Pro-Administrator-Guide/Vulnerabili...
Here's the link to the syntax example from the pandev page for the xql query engine integration. You would use this with the xdr-xql-generic-query command in xsoar https://xsoar.pan.dev/docs/reference/integrations/cortex-xdr---xql-query-engine#command-example
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!