<?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 Cortex Disable Policy in Cortex XDR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/api-cortex-disable-policy/m-p/532467#M3723</link>
    <description>&lt;P&gt;Hi Luismi.Anton,&lt;BR /&gt;&lt;BR /&gt;There is not an API for disabling policies, this must be done via the UI. If you are using specific policies temporarily, one possible workaround is to target endpoints for these policies based on the endpoint 'tags'. If the policies are configured in that way, you can effectively change the endpoints assigned policy via API by &lt;A href="https://docs-cortex.paloaltonetworks.com/r/Cortex-XDR/Cortex-XDR-API-Reference/Assign-Tags" target="_self"&gt;assigning&lt;/A&gt; or &lt;A href="https://docs-cortex.paloaltonetworks.com/r/Cortex-XDR/Cortex-XDR-API-Reference/Remove-Tags" target="_self"&gt;removing&lt;/A&gt; endpoint tags via API.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Ben&lt;/P&gt;</description>
    <pubDate>Tue, 28 Feb 2023 14:52:10 GMT</pubDate>
    <dc:creator>bbucao</dc:creator>
    <dc:date>2023-02-28T14:52:10Z</dc:date>
    <item>
      <title>API Cortex Disable Policy</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/api-cortex-disable-policy/m-p/532446#M3720</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does anyone knows the specific endpoint to disable Policy Rule through the API?&lt;/P&gt;
&lt;P&gt;In the API Doc only shows get-policy associated to endpoint.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs-cortex.paloaltonetworks.com/r/Cortex-XDR/Cortex-XDR-API-Reference/Get-Policy" target="_blank" rel="noopener"&gt;https://docs-cortex.paloaltonetworks.com/r/Cortex-XDR/Cortex-XDR-API-Reference/Get-Policy&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="luismianton_0-1677584651879.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/48224i76011570D02F131E/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="luismianton_0-1677584651879.png" alt="luismianton_0-1677584651879.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 14:05:22 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/api-cortex-disable-policy/m-p/532446#M3720</guid>
      <dc:creator>luismi.anton</dc:creator>
      <dc:date>2023-02-28T14:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: API Cortex Disable Policy</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/api-cortex-disable-policy/m-p/532467#M3723</link>
      <description>&lt;P&gt;Hi Luismi.Anton,&lt;BR /&gt;&lt;BR /&gt;There is not an API for disabling policies, this must be done via the UI. If you are using specific policies temporarily, one possible workaround is to target endpoints for these policies based on the endpoint 'tags'. If the policies are configured in that way, you can effectively change the endpoints assigned policy via API by &lt;A href="https://docs-cortex.paloaltonetworks.com/r/Cortex-XDR/Cortex-XDR-API-Reference/Assign-Tags" target="_self"&gt;assigning&lt;/A&gt; or &lt;A href="https://docs-cortex.paloaltonetworks.com/r/Cortex-XDR/Cortex-XDR-API-Reference/Remove-Tags" target="_self"&gt;removing&lt;/A&gt; endpoint tags via API.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Ben&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 14:52:10 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/api-cortex-disable-policy/m-p/532467#M3723</guid>
      <dc:creator>bbucao</dc:creator>
      <dc:date>2023-02-28T14:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: API Cortex Disable Policy</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/api-cortex-disable-policy/m-p/532480#M3726</link>
      <description>&lt;P&gt;Great!, thank you very match Bbucao!!&lt;/P&gt;
&lt;P&gt;This policies are not temporarily, but if I remove one endpoint tag, in the future is possible to create again with the same API? or only is possible with de UI.&lt;/P&gt;
&lt;P&gt;The concept is develop a button that triggers a query to the API for enable and disable policy...&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 16:24:08 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/api-cortex-disable-policy/m-p/532480#M3726</guid>
      <dc:creator>luismi.anton</dc:creator>
      <dc:date>2023-02-28T16:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: API Cortex Disable Policy</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/api-cortex-disable-policy/m-p/532489#M3728</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/276339"&gt;@luismi.anton&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Removing the endpoint tag will just remove that tag assignment from the specified endpoint(s). The tag will still be available for future assignment and will still be referenced in any Policy Rule(s), if they are configured to target endpoints with that tag. The endpoint which has the tag removed will no longer be governed by that particular policy and will be evaluated against the other policies' target criteria until one is matched.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Tim&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 16:54:49 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/api-cortex-disable-policy/m-p/532489#M3728</guid>
      <dc:creator>timurphy</dc:creator>
      <dc:date>2023-02-28T16:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: API Cortex Disable Policy</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/api-cortex-disable-policy/m-p/532922#M3747</link>
      <description>&lt;P&gt;Finally we´re able to do this implementation. Thanks at all folks!!!&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 11:19:34 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/api-cortex-disable-policy/m-p/532922#M3747</guid>
      <dc:creator>luismi.anton</dc:creator>
      <dc:date>2023-03-02T11:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: API Cortex Disable Policy</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/api-cortex-disable-policy/m-p/533958#M3805</link>
      <description>&lt;P&gt;Hi Again Folks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider wi b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;After assign a tag to a specific group via API, how can we confirm that all de endpoints presents on that group have that specific tag assigned?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider wi b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;Thank you very much.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2023 13:20:11 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/api-cortex-disable-policy/m-p/533958#M3805</guid>
      <dc:creator>luismi.anton</dc:creator>
      <dc:date>2023-03-10T13:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: API Cortex Disable Policy</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/api-cortex-disable-policy/m-p/533972#M3806</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/276339"&gt;@luismi.anton&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To verify the tag is present on the endpoints, you could validate in the console by navigating to Endpoints &amp;gt; Endpoint Groups and then right click the group name and select "View endpoints." In the resulting table, make sure the "Tags" column is shown by customizing the table layout using the ellipsis in the upper right corner. This will show all of the endpoint tags associated with the endpoints in your target group.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could also return the information via the &lt;A href="https://cortex-panw.stoplight.io/docs/cortex-xdr/f922236a8bc9a-get-endpoint" target="_self"&gt;Get Endpoint&lt;/A&gt; API. Within the request body, you can specify &lt;CODE&gt;filters&lt;/CODE&gt; and use the &lt;CODE&gt;group_name&lt;/CODE&gt; field - this will return all endpoints in that group, and one of the properties returned in the response for each endpoint would be &lt;CODE&gt;endpointTags&lt;/CODE&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Tim&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2023 15:39:00 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/api-cortex-disable-policy/m-p/533972#M3806</guid>
      <dc:creator>timurphy</dc:creator>
      <dc:date>2023-03-10T15:39:00Z</dc:date>
    </item>
  </channel>
</rss>

