<?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: API to tag shared policy in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/api-to-tag-shared-policy/m-p/557445#M113100</link>
    <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/276010"&gt;@Shruthi123&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;If you use the API browser (&lt;A href="https://&amp;lt;firewall&amp;gt;/api" target="_blank"&gt;https://&amp;lt;firewall&amp;gt;/api&lt;/A&gt;) it'll give you the actual XPath and complete API URL that you'll need to make the change. Easiest way to get the calls that you'll need to make in your actual environment instead of us giving you a generic call.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example to get you started:&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;https://&amp;lt;ip&amp;gt;/api/?type=config&amp;amp;action=set&amp;amp;xpath=/config/devices/entry[@name='localhost.localdomain']/vsys/entry[@name='vsys1']/rulebase/security/rules/entry[@name='&amp;lt;rule-name&amp;gt;']&amp;amp;element=&amp;lt;disabled&amp;gt;yes&amp;lt;/disabled&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Sep 2023 02:22:01 GMT</pubDate>
    <dc:creator>BPry</dc:creator>
    <dc:date>2023-09-12T02:22:01Z</dc:date>
    <item>
      <title>API to tag shared policy</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/api-to-tag-shared-policy/m-p/557255#M113083</link>
      <description>&lt;P&gt;We have few shared policy and need to tag and disable them . Please help me with API deatails&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2023 01:53:53 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/api-to-tag-shared-policy/m-p/557255#M113083</guid>
      <dc:creator>Shruthi123</dc:creator>
      <dc:date>2023-09-11T01:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: API to tag shared policy</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/api-to-tag-shared-policy/m-p/557443#M113099</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/276010"&gt;@Shruthi123&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may check the REST-API documentation to understand how an existing policy can be edited to include a tag and to disable it.&lt;/P&gt;
&lt;P&gt;The rest-api documentation is available at: &lt;A href="https://x.x.x.x/restapi-doc" target="_blank"&gt;https://x.x.x.x/restapi-doc&lt;/A&gt;&amp;nbsp;(where x.x.x.x is your device IP).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 02:14:07 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/api-to-tag-shared-policy/m-p/557443#M113099</guid>
      <dc:creator>akuzhuppilly</dc:creator>
      <dc:date>2023-09-12T02:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: API to tag shared policy</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/api-to-tag-shared-policy/m-p/557445#M113100</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/276010"&gt;@Shruthi123&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;If you use the API browser (&lt;A href="https://&amp;lt;firewall&amp;gt;/api" target="_blank"&gt;https://&amp;lt;firewall&amp;gt;/api&lt;/A&gt;) it'll give you the actual XPath and complete API URL that you'll need to make the change. Easiest way to get the calls that you'll need to make in your actual environment instead of us giving you a generic call.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example to get you started:&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;https://&amp;lt;ip&amp;gt;/api/?type=config&amp;amp;action=set&amp;amp;xpath=/config/devices/entry[@name='localhost.localdomain']/vsys/entry[@name='vsys1']/rulebase/security/rules/entry[@name='&amp;lt;rule-name&amp;gt;']&amp;amp;element=&amp;lt;disabled&amp;gt;yes&amp;lt;/disabled&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 02:22:01 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/api-to-tag-shared-policy/m-p/557445#M113100</guid>
      <dc:creator>BPry</dc:creator>
      <dc:date>2023-09-12T02:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: API to tag shared policy</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/api-to-tag-shared-policy/m-p/557690#M113130</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/43480"&gt;@BPry&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;can you please help me for xpath that is specific for "Shared policy". I have tagged &amp;amp; disabled device-group Policies but facing issue while tagging and disables "Shared Policy".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Xpath used for "device-group" policy =&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Shruthi123_0-1694693357305.png" style="width: 808px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/53717iBFC2D0E24B012178/image-dimensions/808x136/is-moderation-mode/true?v=v2" width="808" height="136" role="button" title="Shruthi123_0-1694693357305.png" alt="Shruthi123_0-1694693357305.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Can you please help me with xpath of Shared policy?&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 14 Sep 2023 12:10:37 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/api-to-tag-shared-policy/m-p/557690#M113130</guid>
      <dc:creator>Shruthi123</dc:creator>
      <dc:date>2023-09-14T12:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: API to tag shared policy</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/api-to-tag-shared-policy/m-p/557972#M113177</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/276010"&gt;@Shruthi123&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;The xpath for shared policy is :&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;/config/shared/pre-rulebase/security/rules/entry[@name='policy-name']&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;You may easily verify it by going into the API documentation -&amp;nbsp;&amp;nbsp;&lt;A href="https://&amp;lt;ip&amp;gt;/api" target="_blank"&gt;https://&amp;lt;ip&amp;gt;/api&lt;/A&gt;&amp;nbsp;(IP = your Firewall/Panorama IP)&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 15:40:00 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/api-to-tag-shared-policy/m-p/557972#M113177</guid>
      <dc:creator>akuzhuppilly</dc:creator>
      <dc:date>2023-09-14T15:40:00Z</dc:date>
    </item>
  </channel>
</rss>

