<?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: Query: All vulnerabilities under 29 days in Cortex XDR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/query-all-vulnerabilities-under-29-days/m-p/1219796#M7854</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/315002"&gt;@DavidMoalem1&lt;/a&gt;, thanks for reaching us using the Live Community.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can try this XQL query:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;dataset = va_cves
| alter days = timestamp_diff(current_time(),publication_date ,"DAY")
| filter days &amp;gt; 0 and days &amp;lt; 30
|arrayexpand affected_hosts
| join (dataset = endpoints | fields endpoint_name as Hostname, ip_address as IP) as endpoints endpoints.Hostname = affected_hosts
| fields Hostname, IP, name, affected_products, severity_score, os_type, description, severity&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can add the required fields as you need.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post answers your question, please mark it as the solution.&lt;/P&gt;</description>
    <pubDate>Fri, 07 Feb 2025 12:40:14 GMT</pubDate>
    <dc:creator>jmazzeo</dc:creator>
    <dc:date>2025-02-07T12:40:14Z</dc:date>
    <item>
      <title>Query: All vulnerabilities under 29 days</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/query-all-vulnerabilities-under-29-days/m-p/1219539#M7843</link>
      <description>&lt;P&gt;I created this query to identify all vulnerabilities under 29 days:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;dataset = va_cves&lt;BR /&gt;| alter days = timestamp_diff(current_time(),publication_date ,"DAY")&lt;BR /&gt;| filter days &amp;gt; 0 and days &amp;lt; 30&lt;BR /&gt;|arrayexpand affected_hosts&lt;BR /&gt;&lt;BR /&gt;Is there a way to tie in IP Addresses from a different dataset (e.g. dataset = endpoints) and match them to the computer names within the endpoint_name field?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 21:12:48 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/query-all-vulnerabilities-under-29-days/m-p/1219539#M7843</guid>
      <dc:creator>DavidMoalem1</dc:creator>
      <dc:date>2025-02-05T21:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: Query: All vulnerabilities under 29 days</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/query-all-vulnerabilities-under-29-days/m-p/1219796#M7854</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/315002"&gt;@DavidMoalem1&lt;/a&gt;, thanks for reaching us using the Live Community.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can try this XQL query:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;dataset = va_cves
| alter days = timestamp_diff(current_time(),publication_date ,"DAY")
| filter days &amp;gt; 0 and days &amp;lt; 30
|arrayexpand affected_hosts
| join (dataset = endpoints | fields endpoint_name as Hostname, ip_address as IP) as endpoints endpoints.Hostname = affected_hosts
| fields Hostname, IP, name, affected_products, severity_score, os_type, description, severity&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can add the required fields as you need.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post answers your question, please mark it as the solution.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2025 12:40:14 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/query-all-vulnerabilities-under-29-days/m-p/1219796#M7854</guid>
      <dc:creator>jmazzeo</dc:creator>
      <dc:date>2025-02-07T12:40:14Z</dc:date>
    </item>
  </channel>
</rss>

