<?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 display hosts with KB not installed in Cortex XDR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-display-hosts-with-kb-not-installed/m-p/578223#M6141</link>
    <description>&lt;P&gt;Try this using one KB value at a time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;preset = host_inventory_kbs&lt;BR /&gt;| filter endpoint_type contains "WORKSTATION" &lt;BR /&gt;| filter hotfix_id != null&lt;BR /&gt;| filter hotfix_id not contains "KB5034763"&lt;BR /&gt;| fields endpoint_name, hotfix_id&lt;/P&gt;</description>
    <pubDate>Fri, 23 Feb 2024 19:24:53 GMT</pubDate>
    <dc:creator>CJNTS</dc:creator>
    <dc:date>2024-02-23T19:24:53Z</dc:date>
    <item>
      <title>XQL query display hosts with KB not installed</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-display-hosts-with-kb-not-installed/m-p/577888#M6116</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;If I want to display hosts with some KBs installed, it is relatively easy as I use following query:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;preset = host_inventory_kbs
| filter endpoint_type contains "WORKSTATION" and hotfix_id in ("KB5034763","KB5034122")
| fields  endpoint_name&lt;/LI-CODE&gt;
&lt;P&gt;Problem starts when I want to display hosts without any of KBs installed as with operator NOT IN, results shows all other patches not hosts without them. Could somebody advise how to create it correctly please?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 12:02:03 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-display-hosts-with-kb-not-installed/m-p/577888#M6116</guid>
      <dc:creator>Piotr_Kowalczyk</dc:creator>
      <dc:date>2024-02-21T12:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: XQL query display hosts with KB not installed</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-display-hosts-with-kb-not-installed/m-p/578223#M6141</link>
      <description>&lt;P&gt;Try this using one KB value at a time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;preset = host_inventory_kbs&lt;BR /&gt;| filter endpoint_type contains "WORKSTATION" &lt;BR /&gt;| filter hotfix_id != null&lt;BR /&gt;| filter hotfix_id not contains "KB5034763"&lt;BR /&gt;| fields endpoint_name, hotfix_id&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 19:24:53 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-display-hosts-with-kb-not-installed/m-p/578223#M6141</guid>
      <dc:creator>CJNTS</dc:creator>
      <dc:date>2024-02-23T19:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: XQL query display hosts with KB not installed</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-display-hosts-with-kb-not-installed/m-p/578462#M6157</link>
      <description>&lt;P&gt;Thanks for your reply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately this query doesn't do what I was looking for. The result displays all patches which are not&amp;nbsp;&lt;SPAN&gt;"KB5034763" and on which host they are installed so around 12,000 items with 800 hosts. I'm looking to display hosts which don't have this patch installed, the results should be less then total number of hosts.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 12:40:02 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-display-hosts-with-kb-not-installed/m-p/578462#M6157</guid>
      <dc:creator>Piotr_Kowalczyk</dc:creator>
      <dc:date>2024-02-27T12:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: XQL query display hosts with KB not installed</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-display-hosts-with-kb-not-installed/m-p/580104#M6310</link>
      <description>&lt;P&gt;Try this maybe?&amp;nbsp; It removes the hotfix ID and uses dedup to limit the list to single entries for hosts:&lt;BR /&gt;preset = host_inventory_kbs&lt;BR /&gt;| filter endpoint_type contains "WORKSTATION"&lt;BR /&gt;| filter hotfix_id != null&lt;BR /&gt;| filter hotfix_id not contains "KB5034763"&lt;BR /&gt;| fields endpoint_name&lt;BR /&gt;| dedup endpoint_name &lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 19:07:48 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-display-hosts-with-kb-not-installed/m-p/580104#M6310</guid>
      <dc:creator>tporritt</dc:creator>
      <dc:date>2024-03-12T19:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: XQL query display hosts with KB not installed</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-display-hosts-with-kb-not-installed/m-p/580184#M6314</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for the reply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sadly the query doesn't work. If the&amp;nbsp;&lt;SPAN&gt;KB5034763 would be the only update on computer it would give proper results but as it is not, it shows all other updates and as a result after deduplication, returns all computers.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 10:25:23 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xql-query-display-hosts-with-kb-not-installed/m-p/580184#M6314</guid>
      <dc:creator>Piotr_Kowalczyk</dc:creator>
      <dc:date>2024-03-13T10:25:23Z</dc:date>
    </item>
  </channel>
</rss>

