<?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: Address group - addresses addition using API in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/address-group-addresses-addition-using-api/m-p/514587#M3134</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/219875"&gt;@RavitejaP&lt;/a&gt;, if you want to use a Dynamic Address Group (&lt;A href="https://docs.paloaltonetworks.com/pan-os/10-1/pan-os-admin/policy/monitor-changes-in-the-virtual-environment/use-dynamic-address-groups-in-policy" target="_self"&gt;docs&lt;/A&gt;), you would specify a "filter" (a match criteria of tags), but in the code you have specified a "member", which is how Static Address Groups work, by adding member objects. Per the docs (at &lt;A href="https://yourpanorama/restapi-doc" target="_blank" rel="noopener"&gt;https://yourpanorama/restapi-doc&lt;/A&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&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="Screenshot 2022-09-12 at 14.37.55.png" style="width: 885px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/43802i049CB5CBDF557171/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2022-09-12 at 14.37.55.png" alt="Screenshot 2022-09-12 at 14.37.55.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also in the docs per the above screenshot, POST should be for creating (and renaming), and PUT for editing, if that helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once you have decided if you are going to use Dynamic or Static Address Groups, the code needs to be amended accordingly.&lt;/P&gt;</description>
    <pubDate>Mon, 12 Sep 2022 14:02:39 GMT</pubDate>
    <dc:creator>JimmyHolland</dc:creator>
    <dc:date>2022-09-12T14:02:39Z</dc:date>
    <item>
      <title>Address group - addresses addition using API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/address-group-addresses-addition-using-api/m-p/487453#M3026</link>
      <description>&lt;P&gt;Dear Team, We have been following the api's provided in documentation and we are stuck where the address created automatically, cannot be added to the address group but the possibility that was seen is only for PUT methods which will overwrite the existing address group. Please suggest if there is a REST-api method that can be utilized to push a new address to existing address group. Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What we tried earlier for testing this:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. PUT option -&amp;gt; is editing entire members of that address group&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. POST option -&amp;gt; not allowing edits &lt;LI-PRODUCT title="Panorama" id="Panorama"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 13:48:59 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/address-group-addresses-addition-using-api/m-p/487453#M3026</guid>
      <dc:creator>RavitejaP</dc:creator>
      <dc:date>2022-05-16T13:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Address group - addresses addition using API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/address-group-addresses-addition-using-api/m-p/514555#M3123</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/219875"&gt;@RavitejaP&lt;/a&gt;, for anyone to assist you, we would need to know which PAN-OS API you are using (XML or REST), and see some (redacted as appropriate) code you are using to interact with the API. Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2022 11:24:01 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/address-group-addresses-addition-using-api/m-p/514555#M3123</guid>
      <dc:creator>JimmyHolland</dc:creator>
      <dc:date>2022-09-12T11:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: Address group - addresses addition using API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/address-group-addresses-addition-using-api/m-p/514571#M3132</link>
      <description>&lt;P&gt;Hi Jimmy,. Thanks for the response.&amp;nbsp;We are using REST API for our regular ops.&amp;nbsp;&lt;BR /&gt;We are testing the action through postman before I deploy into code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Action: Tried POST - No change. Tried PUT: Overrides addressgroup&lt;/P&gt;&lt;P&gt;URL:&amp;nbsp;&lt;A href="https://devpanorama/restapi/v10.1/Objects/AddressGroups?location=Mobile_User_Device_Group&amp;amp;name=RSTesting" target="_blank"&gt;https://devpanorama/restapi/v10.1/Objects/AddressGroups?location=Mobile_User_Device_Group&amp;amp;name=RSTesting&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;with the following body.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
   "entry": [{
       "@name": "RSTesting",
       "dynamic": { "member": ["RStesting123"]}
    }]
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2022 12:11:42 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/address-group-addresses-addition-using-api/m-p/514571#M3132</guid>
      <dc:creator>RavitejaP</dc:creator>
      <dc:date>2022-09-12T12:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Address group - addresses addition using API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/address-group-addresses-addition-using-api/m-p/514587#M3134</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/219875"&gt;@RavitejaP&lt;/a&gt;, if you want to use a Dynamic Address Group (&lt;A href="https://docs.paloaltonetworks.com/pan-os/10-1/pan-os-admin/policy/monitor-changes-in-the-virtual-environment/use-dynamic-address-groups-in-policy" target="_self"&gt;docs&lt;/A&gt;), you would specify a "filter" (a match criteria of tags), but in the code you have specified a "member", which is how Static Address Groups work, by adding member objects. Per the docs (at &lt;A href="https://yourpanorama/restapi-doc" target="_blank" rel="noopener"&gt;https://yourpanorama/restapi-doc&lt;/A&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&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="Screenshot 2022-09-12 at 14.37.55.png" style="width: 885px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/43802i049CB5CBDF557171/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2022-09-12 at 14.37.55.png" alt="Screenshot 2022-09-12 at 14.37.55.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also in the docs per the above screenshot, POST should be for creating (and renaming), and PUT for editing, if that helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once you have decided if you are going to use Dynamic or Static Address Groups, the code needs to be amended accordingly.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2022 14:02:39 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/address-group-addresses-addition-using-api/m-p/514587#M3134</guid>
      <dc:creator>JimmyHolland</dc:creator>
      <dc:date>2022-09-12T14:02:39Z</dc:date>
    </item>
  </channel>
</rss>

