<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Cortex host insight Vulnerability Assessment average severity score in Cortex XDR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-host-insight-vulnerability-assessment-average-severity/m-p/1222051#M7966</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for joining Live Community.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can try using the va_endpoint and va_cves datasets, and then filter as you need.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example below short query:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;|dataset = va_endpoints &lt;BR /&gt;| fields cves, endpoint_name, os_type, severity&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need information on XQL, you can review below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs-cortex.paloaltonetworks.com/r/Cortex-XDR/Cortex-XDR-XQL-Language-Reference/Get-Started-with-XQL" target="_blank"&gt;https://docs-cortex.paloaltonetworks.com/r/Cortex-XDR/Cortex-XDR-XQL-Language-Reference/Get-Started-with-XQL&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs-cortex.paloaltonetworks.com/r/Cortex-XQL-Schema-Reference-Guide/Introduction" target="_blank"&gt;https://docs-cortex.paloaltonetworks.com/r/Cortex-XQL-Schema-Reference-Guide/Introduction&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://live.paloaltonetworks.com/t5/cortex-xdr-how-to-videos/cortex-xdr-basic-xql-crash-course/ta-p/544056" target="_blank"&gt;LIVEcommunity - Cortex XDR Basic XQL Crash Course - LIVEcommunity - 544056&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://live.paloaltonetworks.com/t5/cortex-xdr-how-to-videos/cortex-xdr-xql-use-cases-and-applications-crash-course/ta-p/544228" target="_blank"&gt;LIVEcommunity - Cortex XDR XQL Use Cases and Applications Crash Course - LIVEcommunity - 544228&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post solves your inquiry, please mark As Solution.&lt;/P&gt;</description>
    <pubDate>Wed, 26 Feb 2025 18:55:51 GMT</pubDate>
    <dc:creator>mavega</dc:creator>
    <dc:date>2025-02-26T18:55:51Z</dc:date>
    <item>
      <title>Cortex host insight Vulnerability Assessment average severity score</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-host-insight-vulnerability-assessment-average-severity/m-p/1221968#M7961</link>
      <description>&lt;P&gt;trying to find XQL query that will take all of our severity scores and give us a average and send that to report. I cant seem find the dataset&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not very good with XQL at this time. maybe someone from the community can help&lt;/P&gt;
&lt;P&gt;dataset = host_inventory &lt;BR /&gt;| filter 0 is not null and array_length(vulnerabilities) &amp;gt; 0&amp;nbsp;&lt;BR /&gt;| alter vulnerability_scores = array_map(vulnerabilities, vulnerability -&amp;gt; case(&lt;BR /&gt;vulnerability.severity == "Critical", 10,&lt;BR /&gt;vulnerability.severity == "High", 7,&lt;BR /&gt;vulnerability.severity == "Medium", 5,&lt;BR /&gt;vulnerability.severity == "Low", 2,&lt;BR /&gt;vulnerability.cvss_score, vulnerability.cvss_score,&amp;nbsp;&lt;BR /&gt;0 // Default if severity is unknown&lt;BR /&gt;))&lt;BR /&gt;| alter average_severity_score = array_avg(vulnerability_scores)&lt;BR /&gt;| fields host_name, average_severity_score, timestamp&lt;BR /&gt;| sort timestamp desc&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2025 01:00:28 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-host-insight-vulnerability-assessment-average-severity/m-p/1221968#M7961</guid>
      <dc:creator>TCoffey2</dc:creator>
      <dc:date>2025-02-26T01:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: Cortex host insight Vulnerability Assessment average severity score</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-host-insight-vulnerability-assessment-average-severity/m-p/1222051#M7966</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for joining Live Community.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can try using the va_endpoint and va_cves datasets, and then filter as you need.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example below short query:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;|dataset = va_endpoints &lt;BR /&gt;| fields cves, endpoint_name, os_type, severity&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need information on XQL, you can review below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs-cortex.paloaltonetworks.com/r/Cortex-XDR/Cortex-XDR-XQL-Language-Reference/Get-Started-with-XQL" target="_blank"&gt;https://docs-cortex.paloaltonetworks.com/r/Cortex-XDR/Cortex-XDR-XQL-Language-Reference/Get-Started-with-XQL&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs-cortex.paloaltonetworks.com/r/Cortex-XQL-Schema-Reference-Guide/Introduction" target="_blank"&gt;https://docs-cortex.paloaltonetworks.com/r/Cortex-XQL-Schema-Reference-Guide/Introduction&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://live.paloaltonetworks.com/t5/cortex-xdr-how-to-videos/cortex-xdr-basic-xql-crash-course/ta-p/544056" target="_blank"&gt;LIVEcommunity - Cortex XDR Basic XQL Crash Course - LIVEcommunity - 544056&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://live.paloaltonetworks.com/t5/cortex-xdr-how-to-videos/cortex-xdr-xql-use-cases-and-applications-crash-course/ta-p/544228" target="_blank"&gt;LIVEcommunity - Cortex XDR XQL Use Cases and Applications Crash Course - LIVEcommunity - 544228&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post solves your inquiry, please mark As Solution.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2025 18:55:51 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-host-insight-vulnerability-assessment-average-severity/m-p/1222051#M7966</guid>
      <dc:creator>mavega</dc:creator>
      <dc:date>2025-02-26T18:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: Cortex host insight Vulnerability Assessment average severity score</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-host-insight-vulnerability-assessment-average-severity/m-p/1222133#M7969</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below query gives you the average by Endpoint name&lt;/P&gt;
&lt;P&gt;dataset = va_endpoints &lt;BR /&gt;| filter cves != null&lt;BR /&gt;| fields cves , endpoint_name , severity , severity_score&lt;BR /&gt;| comp avg(severity_score) as Average_Severity_Score by endpoint_name&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you feel this has answered your query, please let us know by clicking like and on "mark this as a Solution". Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 06:05:14 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-host-insight-vulnerability-assessment-average-severity/m-p/1222133#M7969</guid>
      <dc:creator>aspatil</dc:creator>
      <dc:date>2025-02-27T06:05:14Z</dc:date>
    </item>
  </channel>
</rss>

