<?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: Need to extract installed application. in Cortex XDR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/need-to-extract-installed-application/m-p/437911#M1109</link>
    <description>&lt;P&gt;Yes. There are multiple workarounds.&lt;BR /&gt;1. You can either use the "Endpoint Administration" Tab to get the equivalent "hostname" of the "IP Address"/"user" and then use "quick Launcher" on the top right to get the "Asset View" of the endpoint&lt;BR /&gt;Change the view to applications. That provide the list of application and the count&lt;/P&gt;&lt;P&gt;2. Alternatively, you can use XQL query. Target "Host Inventory" table&lt;BR /&gt;Note:&lt;/P&gt;&lt;P&gt;Agent_id is the primary key for the host inventory table. But you can execute the query with a filter such as&lt;BR /&gt;- host_name&lt;BR /&gt;- ip_addresses&lt;BR /&gt;- users&lt;BR /&gt;Also, note the timeframe specified because host inventory collection happens daily and you could have multiple counts&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;With IP Address&lt;/P&gt;&lt;P&gt;dataset = host_inventory&lt;BR /&gt;| filter ip_addresses = "10.10.10.10"&lt;BR /&gt;| arrayexpand applications&lt;BR /&gt;| alter apps = json_extract(applications, "$.application_name")&lt;BR /&gt;| fields apps&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;To make it a re-usable query, change the hardcoded IP Address to "$system_ip" and save it into your query library&lt;BR /&gt;Whenever you want to use the query, you will need to supply the target IP Address as the parameter. See attached screenshot&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;dataset = host_inventory&lt;BR /&gt;| filter ip_addresses = "$system_ip"&lt;BR /&gt;| arrayexpand applications&lt;BR /&gt;| alter apps = json_extract(applications, "$.application_name")&lt;BR /&gt;| fields apps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With User name&lt;/P&gt;&lt;P&gt;change the target_user e.g. Smith (case sensitive)&lt;/P&gt;&lt;P&gt;dataset = host_inventory&lt;BR /&gt;| arrayexpand users&lt;BR /&gt;| alter target_user = json_extract(users, "$.name")&lt;BR /&gt;| filter (target_user = "\"target_user\"")&lt;BR /&gt;| arrayexpand applications&lt;BR /&gt;| alter apps = json_extract(applications, "$.application_name")&lt;BR /&gt;| fields apps&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;For the count of applications per IP Address&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;dataset = host_inventory&lt;BR /&gt;| filter ip_addresses = "10.10.10.10"&lt;BR /&gt;| arrayexpand applications&lt;BR /&gt;| alter apps = json_extract(applications, "$.application_name")&lt;BR /&gt;| dedup apps by asc _time&lt;BR /&gt;| comp count(apps) as Counter by _time&lt;/P&gt;</description>
    <pubDate>Thu, 30 Sep 2021 22:39:16 GMT</pubDate>
    <dc:creator>malalade</dc:creator>
    <dc:date>2021-09-30T22:39:16Z</dc:date>
    <item>
      <title>Need to extract installed application.</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/need-to-extract-installed-application/m-p/437774#M1108</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have queries regarding cortex XDR,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does the cortex xdr provide application inventory counts?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We want to extract each and every application which is installed in all our network systems but with IP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for e.g, 10.10.10.10 is a system IP, I want to extract how many other applications are installed in this particular IP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From host insight, we get the list but we want with IP or user.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2021 16:53:18 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/need-to-extract-installed-application/m-p/437774#M1108</guid>
      <dc:creator>OsamaKhan</dc:creator>
      <dc:date>2021-09-30T16:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Need to extract installed application.</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/need-to-extract-installed-application/m-p/437911#M1109</link>
      <description>&lt;P&gt;Yes. There are multiple workarounds.&lt;BR /&gt;1. You can either use the "Endpoint Administration" Tab to get the equivalent "hostname" of the "IP Address"/"user" and then use "quick Launcher" on the top right to get the "Asset View" of the endpoint&lt;BR /&gt;Change the view to applications. That provide the list of application and the count&lt;/P&gt;&lt;P&gt;2. Alternatively, you can use XQL query. Target "Host Inventory" table&lt;BR /&gt;Note:&lt;/P&gt;&lt;P&gt;Agent_id is the primary key for the host inventory table. But you can execute the query with a filter such as&lt;BR /&gt;- host_name&lt;BR /&gt;- ip_addresses&lt;BR /&gt;- users&lt;BR /&gt;Also, note the timeframe specified because host inventory collection happens daily and you could have multiple counts&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;With IP Address&lt;/P&gt;&lt;P&gt;dataset = host_inventory&lt;BR /&gt;| filter ip_addresses = "10.10.10.10"&lt;BR /&gt;| arrayexpand applications&lt;BR /&gt;| alter apps = json_extract(applications, "$.application_name")&lt;BR /&gt;| fields apps&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;To make it a re-usable query, change the hardcoded IP Address to "$system_ip" and save it into your query library&lt;BR /&gt;Whenever you want to use the query, you will need to supply the target IP Address as the parameter. See attached screenshot&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;dataset = host_inventory&lt;BR /&gt;| filter ip_addresses = "$system_ip"&lt;BR /&gt;| arrayexpand applications&lt;BR /&gt;| alter apps = json_extract(applications, "$.application_name")&lt;BR /&gt;| fields apps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With User name&lt;/P&gt;&lt;P&gt;change the target_user e.g. Smith (case sensitive)&lt;/P&gt;&lt;P&gt;dataset = host_inventory&lt;BR /&gt;| arrayexpand users&lt;BR /&gt;| alter target_user = json_extract(users, "$.name")&lt;BR /&gt;| filter (target_user = "\"target_user\"")&lt;BR /&gt;| arrayexpand applications&lt;BR /&gt;| alter apps = json_extract(applications, "$.application_name")&lt;BR /&gt;| fields apps&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;For the count of applications per IP Address&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;dataset = host_inventory&lt;BR /&gt;| filter ip_addresses = "10.10.10.10"&lt;BR /&gt;| arrayexpand applications&lt;BR /&gt;| alter apps = json_extract(applications, "$.application_name")&lt;BR /&gt;| dedup apps by asc _time&lt;BR /&gt;| comp count(apps) as Counter by _time&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2021 22:39:16 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/need-to-extract-installed-application/m-p/437911#M1109</guid>
      <dc:creator>malalade</dc:creator>
      <dc:date>2021-09-30T22:39:16Z</dc:date>
    </item>
  </channel>
</rss>

