<?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 XDR - API Automation in Cortex XDR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xdr-api-automation/m-p/1240521#M8822</link>
    <description>&lt;P&gt;Thanks a lot!&lt;BR /&gt;&lt;BR /&gt;I totally missed it. you saved me&lt;/P&gt;</description>
    <pubDate>Wed, 22 Oct 2025 13:43:35 GMT</pubDate>
    <dc:creator>L.Filloux</dc:creator>
    <dc:date>2025-10-22T13:43:35Z</dc:date>
    <item>
      <title>Cortex XDR - API Automation</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xdr-api-automation/m-p/1240153#M8804</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I am currently trying to code a Script with Cortex API in order to check the version of the latest available Agent. I am talking the precise agent version not like 5.X but the 5.X.XXXX.&lt;BR /&gt;I haven't seen anything in their actual documentation, perhaps I missed something.&lt;BR /&gt;&lt;BR /&gt;Hope someone can help me out&lt;BR /&gt;&lt;BR /&gt;Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Thu, 16 Oct 2025 12:13:57 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xdr-api-automation/m-p/1240153#M8804</guid>
      <dc:creator>L.Filloux</dc:creator>
      <dc:date>2025-10-16T12:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Cortex XDR - API Automation</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xdr-api-automation/m-p/1240302#M8807</link>
      <description>&lt;P&gt;Should be possible with this API:&amp;nbsp;&lt;A href="https://cortex-panw.stoplight.io/docs/cortex-xdr/30237841cb254-get-distribution-version" target="_blank"&gt;https://cortex-panw.stoplight.io/docs/cortex-xdr/30237841cb254-get-distribution-version&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;import requests

def get_cortex_distribution_version(tenant_name, tenant_region, api_key_id, api_key):
    url = f"https://api-{tenant_name}.xdr.{tenant_region}.paloaltonetworks.com/public_api/v1/distributions/get_versions"
    headers = {
        "x-xdr-auth-id": api_key_id,
        "Authorization": api_key
    }
    response = requests.post(url, headers=headers, json={"request_data": {}})
    return response.json()&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 20 Oct 2025 12:24:17 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xdr-api-automation/m-p/1240302#M8807</guid>
      <dc:creator>Rocky-25</dc:creator>
      <dc:date>2025-10-20T12:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Cortex XDR - API Automation</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xdr-api-automation/m-p/1240521#M8822</link>
      <description>&lt;P&gt;Thanks a lot!&lt;BR /&gt;&lt;BR /&gt;I totally missed it. you saved me&lt;/P&gt;</description>
      <pubDate>Wed, 22 Oct 2025 13:43:35 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/cortex-xdr-api-automation/m-p/1240521#M8822</guid>
      <dc:creator>L.Filloux</dc:creator>
      <dc:date>2025-10-22T13:43:35Z</dc:date>
    </item>
  </channel>
</rss>

