<?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: XDR API for Policy Management in Cortex XDR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xdr-api-for-policy-management/m-p/703924#M7481</link>
    <description>&lt;P&gt;This is just a workaround, take a look at the headers I have used in my postman screenshot. Anyway many months an versions have been rolled out for the XDR product, I haven't tested it again.&lt;/P&gt;</description>
    <pubDate>Tue, 26 Nov 2024 13:37:59 GMT</pubDate>
    <dc:creator>jmazzeo</dc:creator>
    <dc:date>2024-11-26T13:37:59Z</dc:date>
    <item>
      <title>XDR API for Policy Management</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xdr-api-for-policy-management/m-p/570655#M5786</link>
      <description>&lt;P&gt;Is there an API in XDR for Policy Management?&lt;/P&gt;
&lt;P&gt;I'm trying to get the list of policies, profiles and their rules.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RishitShah_0-1703167831594.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/56061i925D39546E9DD02C/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="RishitShah_0-1703167831594.png" alt="RishitShah_0-1703167831594.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;There is&amp;nbsp;&lt;SPAN&gt;/public_api/v1/endpoints/get_policy (&lt;A href="https://docs-cortex.paloaltonetworks.com/r/Cortex-XDR-REST-API/Get-Policy" target="_blank"&gt;Get Policy • Cortex XDR REST API • Reader • Palo Alto Networks documentation portal&lt;/A&gt;)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;However,&lt;SPAN&gt;&amp;nbsp;this just gives the Policy Name for a specific Endpoint.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2023 14:13:55 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xdr-api-for-policy-management/m-p/570655#M5786</guid>
      <dc:creator>RishitShah</dc:creator>
      <dc:date>2023-12-21T14:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: XDR API for Policy Management</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xdr-api-for-policy-management/m-p/570745#M5794</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/258177"&gt;@RishitShah&lt;/a&gt;, thanks for reaching us using the Live Community.&lt;/P&gt;
&lt;P&gt;The public API is limited for the information you need.&lt;/P&gt;
&lt;P&gt;But, the console XDR console itself work with API calls to the backend, so you can pickup the API URL and headers from the requests when you access to any location.&lt;/P&gt;
&lt;P&gt;For example, opening "Policy Rules" with the browser inspect enabled shows the following entry name:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jmazzeo_0-1703266040806.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/56081i587AB65F99C4202B/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="jmazzeo_0-1703266040806.png" alt="jmazzeo_0-1703266040806.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If you select it, look at the headers and you can copy them to the platform needed to do the query. This a screenshot from my Postman, not all the headers are needed, you can play there:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jmazzeo_1-1703266211581.png" style="width: 620px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/56082i2A3844C026320BD5/image-dimensions/620x445/is-moderation-mode/true?v=v2" width="620" height="445" role="button" title="jmazzeo_1-1703266211581.png" alt="jmazzeo_1-1703266211581.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can do this same API workaround with any section of the console.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;NOTE&lt;/STRONG&gt;: this will work only if you have a current web session to the console.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this works for you, please mark this question as the solution.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2023 17:32:34 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xdr-api-for-policy-management/m-p/570745#M5794</guid>
      <dc:creator>jmazzeo</dc:creator>
      <dc:date>2023-12-22T17:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: XDR API for Policy Management</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xdr-api-for-policy-management/m-p/572521#M5862</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/310428"&gt;@jmazzeo&lt;/a&gt;&amp;nbsp;I tried the approach you suggested, however, in response I receive a Sign in Page.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RishitShah_0-1704878505894.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/56395iC4836ADC910BB091/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="RishitShah_0-1704878505894.png" alt="RishitShah_0-1704878505894.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2024 09:22:27 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xdr-api-for-policy-management/m-p/572521#M5862</guid>
      <dc:creator>RishitShah</dc:creator>
      <dc:date>2024-01-10T09:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: XDR API for Policy Management</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xdr-api-for-policy-management/m-p/652121#M7473</link>
      <description>&lt;P&gt;I too got sign in Page, Any solution&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2024 10:09:01 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xdr-api-for-policy-management/m-p/652121#M7473</guid>
      <dc:creator>V.R800240</dc:creator>
      <dc:date>2024-11-25T10:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: XDR API for Policy Management</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xdr-api-for-policy-management/m-p/703924#M7481</link>
      <description>&lt;P&gt;This is just a workaround, take a look at the headers I have used in my postman screenshot. Anyway many months an versions have been rolled out for the XDR product, I haven't tested it again.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2024 13:37:59 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/xdr-api-for-policy-management/m-p/703924#M7481</guid>
      <dc:creator>jmazzeo</dc:creator>
      <dc:date>2024-11-26T13:37:59Z</dc:date>
    </item>
  </channel>
</rss>

