<?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 XQL &amp;quot;Let&amp;quot; replacement in Cortex XDR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xql-quot-let-quot-replacement/m-p/1236517#M8684</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/1084995931"&gt;@KCaudwell&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;dataset = va_cves
| arrayexpand affected_hosts
| join (preset = host_inventory_endpoints | filter group_names in ("UKI", "CAN", "AUS") | fields endpoint_name, group_names ) as edr edr.endpoint_name = affected_hosts
| fields endpoint_name , group_names , name , description , exploitability_score , impact_score

| comp count(endpoint_name ) as count&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or maybe&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;dataset = va_cves
| arrayexpand affected_hosts
| join (preset = host_inventory_endpoints | filter group_names contains "UKI"  OR group_names contains "AUS" OR group_name contains "CAN" | fields endpoint_name, group_names ) as edr edr.endpoint_name = affected_hosts
| fields endpoint_name , group_names , name , description , exploitability_score , impact_score
| comp count(endpoint_name ) as count&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please let me know if the former worked for you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&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;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;KR,&lt;/P&gt;
&lt;P&gt;Luis&lt;/P&gt;</description>
    <pubDate>Fri, 22 Aug 2025 12:21:53 GMT</pubDate>
    <dc:creator>eluis</dc:creator>
    <dc:date>2025-08-22T12:21:53Z</dc:date>
    <item>
      <title>Cortex XQL "Let" replacement</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xql-quot-let-quot-replacement/m-p/1236353#M8677</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm wondering if anybody knows a method, I can use to join multiple queries within the same XQL query.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have 3 separate queries which return a count of vulnerabilities for each region of logs. How do i merge these 3 queries to return a table which shows&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;UKI 1&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CAN&amp;nbsp; 1&lt;/P&gt;
&lt;P&gt;AUS&amp;nbsp; 1&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I know this was possible with Sentinel KQL as you could nest queries in let functions.. is it possible with XQL?&lt;/P&gt;
&lt;P&gt;Kind regards,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;dataset = va_cves &lt;BR /&gt;| arrayexpand affected_hosts &lt;BR /&gt;| join (preset = host_inventory_endpoints | filter group_names contains "UKI" | fields endpoint_name, group_names ) as edr edr.endpoint_name = affected_hosts &lt;BR /&gt;| fields endpoint_name , group_names , name , description , exploitability_score , impact_score&lt;/P&gt;
&lt;P&gt;| comp count(endpoint_name ) as count&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;dataset = va_cves &lt;BR /&gt;| arrayexpand affected_hosts &lt;BR /&gt;| join (preset = host_inventory_endpoints | filter group_names contains "CAN" | fields endpoint_name, group_names ) as edr edr.endpoint_name = affected_hosts &lt;BR /&gt;| fields endpoint_name , group_names , name , description , exploitability_score , impact_score&lt;/P&gt;
&lt;P&gt;| comp count(endpoint_name ) as count&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;dataset = va_cves &lt;BR /&gt;| arrayexpand affected_hosts &lt;BR /&gt;| join (preset = host_inventory_endpoints | filter group_names contains "UKI" | fields endpoint_name, group_names ) as edr edr.endpoint_name = affected_hosts &lt;BR /&gt;| fields endpoint_name , group_names , name , description , exploitability_score , impact_score&lt;/P&gt;
&lt;P&gt;| comp count(endpoint_name ) as count&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2025 14:37:43 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xql-quot-let-quot-replacement/m-p/1236353#M8677</guid>
      <dc:creator>KCaudwell</dc:creator>
      <dc:date>2025-08-20T14:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Cortex XQL "Let" replacement</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xql-quot-let-quot-replacement/m-p/1236517#M8684</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/1084995931"&gt;@KCaudwell&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;dataset = va_cves
| arrayexpand affected_hosts
| join (preset = host_inventory_endpoints | filter group_names in ("UKI", "CAN", "AUS") | fields endpoint_name, group_names ) as edr edr.endpoint_name = affected_hosts
| fields endpoint_name , group_names , name , description , exploitability_score , impact_score

| comp count(endpoint_name ) as count&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or maybe&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;dataset = va_cves
| arrayexpand affected_hosts
| join (preset = host_inventory_endpoints | filter group_names contains "UKI"  OR group_names contains "AUS" OR group_name contains "CAN" | fields endpoint_name, group_names ) as edr edr.endpoint_name = affected_hosts
| fields endpoint_name , group_names , name , description , exploitability_score , impact_score
| comp count(endpoint_name ) as count&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please let me know if the former worked for you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&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;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;KR,&lt;/P&gt;
&lt;P&gt;Luis&lt;/P&gt;</description>
      <pubDate>Fri, 22 Aug 2025 12:21:53 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xql-quot-let-quot-replacement/m-p/1236517#M8684</guid>
      <dc:creator>eluis</dc:creator>
      <dc:date>2025-08-22T12:21:53Z</dc:date>
    </item>
  </channel>
</rss>

