- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Enhanced Security Measures in Place: To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.
02-09-2015 05:37 PM
Hey all,
I have just started playing around with the API in Panorama. I am trying to write an address object with a tag.
I dumped an object and it looks like so:
<response status="success" code="19">
<result total-count="1" count="1">
</tag>
<fqdn>foo.com</fqdn>
</entry>
</result>
</response>
When I try and write a new object I am using this
https://x.x.x.x/api/?type=config&action=set&key=<insert-key-here>&xpath=/config/devices/entry[@name='localhost.localdomain']/device-group/entry[@name='All Firewalls']/address&element=<entry name="blahdeblah"><fqdn>blahdablah.com.com</fqdn><tag><member>IOC23446567</member></tag></entry>
What I am getting back is this.
<response status="error" code="12">
</line>
</line>
</line>
</msg>
</response>
Any Thoughts as to what I am doing wrong?
--Jess
02-10-2015 02:53 AM
are you using PANOS 6+ ?
02-10-2015 02:17 PM
Could you please confirm if that tag already exists on the firewall ?
I just tried the following command and it worked:
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!