<?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: Endpoints with Public IP in Cortex XDR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/endpoints-with-public-ip/m-p/1223466#M8037</link>
    <description>&lt;P&gt;Thank you,&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/308232"&gt;@aspatil&lt;/a&gt;,&amp;nbsp;this is what I needed. Much appreciated.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Mar 2025 17:40:09 GMT</pubDate>
    <dc:creator>Joe_Carissimo</dc:creator>
    <dc:date>2025-03-11T17:40:09Z</dc:date>
    <item>
      <title>Endpoints with Public IP</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/endpoints-with-public-ip/m-p/1222347#M7988</link>
      <description>&lt;P&gt;Hi All, looking for some help here on creating an XQL query to search for any endpoints that are assigned public IP addresses. I searched and didn't see anything in the Live Community that already speaks to this.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I appreciate any support you can provide.&amp;nbsp;&lt;BR /&gt;Thank you,&lt;BR /&gt;Joe&lt;/P&gt;</description>
      <pubDate>Sun, 02 Mar 2025 19:54:10 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/endpoints-with-public-ip/m-p/1222347#M7988</guid>
      <dc:creator>Joe_Carissimo</dc:creator>
      <dc:date>2025-03-02T19:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: Endpoints with Public IP</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/endpoints-with-public-ip/m-p/1222382#M7993</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/217597"&gt;@Joe_Carissimo&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks for reaching out on LiveCommunity!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Below query should help:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;dataset = xdr_data&lt;BR /&gt;| filter agent_external_ip != null&lt;BR /&gt;| fields action_remote_ip, agent_ip_addresses, agent_hostname, agent_external_ip, _time, actor_remote_ip, action_local_ip, actor_local_ip&lt;BR /&gt;|dedup agent_hostname &lt;/SPAN&gt;&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 on "mark this as a Solution". Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Mar 2025 07:40:31 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/endpoints-with-public-ip/m-p/1222382#M7993</guid>
      <dc:creator>aspatil</dc:creator>
      <dc:date>2025-03-03T07:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Endpoints with Public IP</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/endpoints-with-public-ip/m-p/1223186#M8020</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/308232"&gt;@aspatil&lt;/a&gt;,&amp;nbsp;well this is the second time today I'm replying to you. For some reason the first time did not go through...&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Thank you for your reply. However, this is not what I'm trying to accomplish. What I want to do is run a query to select agent_hostname and agent_ip_address from xdr_data where NOT incidr(192.168.0.0/16 or 10.0.0.0/24 or 172.16.0.0/20).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm just not using the right syntax with incidr and I also think the function "arrayexpand ip_address" has to come into play because the IP address can be multiple local addresses. For example, I could be connected to our VPN with a 172.23.129.50 address as well as my internal IP address being 192.168.1.197.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this makes sense and you're able to help.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thank you again,&lt;BR /&gt;Joe&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2025 20:41:27 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/endpoints-with-public-ip/m-p/1223186#M8020</guid>
      <dc:creator>Joe_Carissimo</dc:creator>
      <dc:date>2025-03-07T20:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: Endpoints with Public IP</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/endpoints-with-public-ip/m-p/1223316#M8025</link>
      <description>&lt;P&gt;I think you should target Endpoint data set. Please refer to below query:&lt;BR /&gt;dataset = endpoints&lt;BR /&gt;| fields endpoint_name as agent_hostname, ip_address as agent_ip_address&lt;BR /&gt;| arrayexpand agent_ip_address&lt;BR /&gt;| filter not incidr(agent_ip_address, "10.0.0.0/24") &lt;BR /&gt;and not incidr(agent_ip_address, "172.16.0.0/20") &lt;BR /&gt;and not incidr(agent_ip_address, "192.168.0.0/16")&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 on "mark this as a Solution". Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 09:18:07 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/endpoints-with-public-ip/m-p/1223316#M8025</guid>
      <dc:creator>aspatil</dc:creator>
      <dc:date>2025-03-10T09:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Endpoints with Public IP</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/endpoints-with-public-ip/m-p/1223466#M8037</link>
      <description>&lt;P&gt;Thank you,&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/308232"&gt;@aspatil&lt;/a&gt;,&amp;nbsp;this is what I needed. Much appreciated.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 17:40:09 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/endpoints-with-public-ip/m-p/1223466#M8037</guid>
      <dc:creator>Joe_Carissimo</dc:creator>
      <dc:date>2025-03-11T17:40:09Z</dc:date>
    </item>
  </channel>
</rss>

