<?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: XQL query for host inventory with versions in Cortex XDR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-for-host-inventory-with-versions/m-p/1225011#M8146</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/697161449"&gt;@JustJulian&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here you go:&lt;BR /&gt;dataset = host_inventory&lt;BR /&gt;| filter applications != null&lt;BR /&gt;| arrayexpand applications&lt;BR /&gt;| alter applications=json_extract(applications, "$.application_name"), software_vendor = json_extract(applications, "$.vendor"), software_verion = json_extract(applications, "$.version")&lt;BR /&gt;| filter applications contains "google chrome"&lt;BR /&gt;| fields applications, host_name, software_vendor , software_verion &lt;BR /&gt;| dedup host_name by asc host_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&amp;nbsp; on "mark this as a Solution". Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Mar 2025 11:51:23 GMT</pubDate>
    <dc:creator>aspatil</dc:creator>
    <dc:date>2025-03-28T11:51:23Z</dc:date>
    <item>
      <title>XQL query for host inventory with versions</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-for-host-inventory-with-versions/m-p/1225005#M8142</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need a XQL query which outputs all endpoints and installed versions of a specific application. I found a way to get all computers with the application installed, but no version of it:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;config case_sensitive = false&lt;BR /&gt;| dataset = host_inventory &lt;BR /&gt;| filter applications != null&lt;BR /&gt;| arrayexpand applications&lt;BR /&gt;| alter applications=json_extract(applications, "$.application_name")&lt;BR /&gt;| filter applications contains "google chrome"&lt;BR /&gt;| fields applications, host_name&lt;BR /&gt;| dedup host_name by asc host_name&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just kind of similar to the Host Insights, which outputs the version of the application. Any help would be appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 28 Mar 2025 10:11:18 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-for-host-inventory-with-versions/m-p/1225005#M8142</guid>
      <dc:creator>JustJulian</dc:creator>
      <dc:date>2025-03-28T10:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: XQL query for host inventory with versions</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-for-host-inventory-with-versions/m-p/1225011#M8146</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/697161449"&gt;@JustJulian&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here you go:&lt;BR /&gt;dataset = host_inventory&lt;BR /&gt;| filter applications != null&lt;BR /&gt;| arrayexpand applications&lt;BR /&gt;| alter applications=json_extract(applications, "$.application_name"), software_vendor = json_extract(applications, "$.vendor"), software_verion = json_extract(applications, "$.version")&lt;BR /&gt;| filter applications contains "google chrome"&lt;BR /&gt;| fields applications, host_name, software_vendor , software_verion &lt;BR /&gt;| dedup host_name by asc host_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&amp;nbsp; on "mark this as a Solution". Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Mar 2025 11:51:23 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-for-host-inventory-with-versions/m-p/1225011#M8146</guid>
      <dc:creator>aspatil</dc:creator>
      <dc:date>2025-03-28T11:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: XQL query for host inventory with versions</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-for-host-inventory-with-versions/m-p/1225020#M8153</link>
      <description>&lt;P&gt;Thank you, this works great!&lt;/P&gt;</description>
      <pubDate>Fri, 28 Mar 2025 13:03:03 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-for-host-inventory-with-versions/m-p/1225020#M8153</guid>
      <dc:creator>JustJulian</dc:creator>
      <dc:date>2025-03-28T13:03:03Z</dc:date>
    </item>
  </channel>
</rss>

