How to retrieve / update a registered dynamic address objects

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

How to retrieve / update a registered dynamic address objects

L1 Bithead

Hello,

For Palo Dynamic address objects, trying to find 2 things.

How to retrieve an already registered Dynamic Address Object.

How to update the tag of already registered Dynamic Address Object.

 

I have used below XML Body for register

<uid-message> <version>1.0</version> <type>update</type> <payload> <register> <entry ip="10.1.1.1"> <tag> <member timeout="3600">CBB09C3D-3416-4734-BE90-0395B7598DE3</member> </tag> </entry> </register> <unregister> <entry ip="10.1.1.3"/> <tag> <member>CBB09C3D-3416-4734-BE90-0395B7598DE5</member> </tag> </entry> </unregister> </payload> </uid-message>

1 REPLY 1

L5 Sessionator

Hi @jobik_PaloALto,

 

To retrieve the IP addresses already registered to a tag:

https://{{host}}/api?key={{key}}&type=op&cmd=<show><object><registered-ip><tag><entry name='{{ tag-name }}'/></tag></registered-ip></object></show>

 

To update the tag, per your original post, you would register the IP address to the tag, then if you wish also deregister any existing IP addresses registered to the tag, using the list you get from the API command I gave above.

 

Hope that helps!

Help the community: "Like" helpful comments, and click "Accept as Solution" if you found your answer 🙂
  • 1487 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!