<?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 Creation of App-Id though XML Api in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/creation-of-app-id-though-xml-api/m-p/304265#M2094</link>
    <description>&lt;P&gt;Hi Guys I am trying to create a App Id though xml api. I looked at the request though Debug Console:&lt;/P&gt;&lt;P&gt;&amp;lt;request cmd="set" &lt;FONT color="#FF0000"&gt;obj="/config/devices/entry[@name='localhost.localdomain']/vsys/entry[@name='vsys1']/application/entry[@name='test2']&lt;/FONT&gt;" cookie="3920960267560155" newonly="yes"&amp;gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;&amp;lt;default&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;&amp;lt;ident-by-ip-protocol&amp;gt;12&amp;lt;/ident-by-ip-protocol&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;&amp;lt;/default&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;&amp;lt;subcategory&amp;gt;infrastructure&amp;lt;/subcategory&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;&amp;lt;category&amp;gt;networking&amp;lt;/category&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;&amp;lt;technology&amp;gt;client-server&amp;lt;/technology&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;&amp;lt;description&amp;gt;testing puirposes&amp;lt;/description&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;&amp;lt;risk&amp;gt;5&amp;lt;/risk&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&amp;lt;/request&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;https://&lt;/SPAN&gt;firewall&lt;SPAN&gt;/api/?type=set&amp;amp;cmd=&lt;FONT color="#800080"&gt;&amp;lt;default&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;&amp;lt;ident-by-ip-protocol&amp;gt;12&amp;lt;/ident-by-ip-protocol&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;&amp;lt;/default&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;&amp;lt;subcategory&amp;gt;infrastructure&amp;lt;/subcategory&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;&amp;lt;category&amp;gt;networking&amp;lt;/category&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;&amp;lt;technology&amp;gt;client-server&amp;lt;/technology&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;&amp;lt;description&amp;gt;testing puirposes&amp;lt;/description&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;&amp;lt;risk&amp;gt;5&amp;lt;/risk&amp;gt;&lt;/FONT&gt;&amp;amp;key=&lt;/SPAN&gt;apikey&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where does the object comes into play ? Where should we include that ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Dec 2019 16:38:21 GMT</pubDate>
    <dc:creator>Rmuppalla</dc:creator>
    <dc:date>2019-12-18T16:38:21Z</dc:date>
    <item>
      <title>Creation of App-Id though XML Api</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/creation-of-app-id-though-xml-api/m-p/304265#M2094</link>
      <description>&lt;P&gt;Hi Guys I am trying to create a App Id though xml api. I looked at the request though Debug Console:&lt;/P&gt;&lt;P&gt;&amp;lt;request cmd="set" &lt;FONT color="#FF0000"&gt;obj="/config/devices/entry[@name='localhost.localdomain']/vsys/entry[@name='vsys1']/application/entry[@name='test2']&lt;/FONT&gt;" cookie="3920960267560155" newonly="yes"&amp;gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;&amp;lt;default&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;&amp;lt;ident-by-ip-protocol&amp;gt;12&amp;lt;/ident-by-ip-protocol&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;&amp;lt;/default&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;&amp;lt;subcategory&amp;gt;infrastructure&amp;lt;/subcategory&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;&amp;lt;category&amp;gt;networking&amp;lt;/category&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;&amp;lt;technology&amp;gt;client-server&amp;lt;/technology&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;&amp;lt;description&amp;gt;testing puirposes&amp;lt;/description&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;&amp;lt;risk&amp;gt;5&amp;lt;/risk&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&amp;lt;/request&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;https://&lt;/SPAN&gt;firewall&lt;SPAN&gt;/api/?type=set&amp;amp;cmd=&lt;FONT color="#800080"&gt;&amp;lt;default&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;&amp;lt;ident-by-ip-protocol&amp;gt;12&amp;lt;/ident-by-ip-protocol&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;&amp;lt;/default&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;&amp;lt;subcategory&amp;gt;infrastructure&amp;lt;/subcategory&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;&amp;lt;category&amp;gt;networking&amp;lt;/category&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;&amp;lt;technology&amp;gt;client-server&amp;lt;/technology&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;&amp;lt;description&amp;gt;testing puirposes&amp;lt;/description&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;&amp;lt;risk&amp;gt;5&amp;lt;/risk&amp;gt;&lt;/FONT&gt;&amp;amp;key=&lt;/SPAN&gt;apikey&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where does the object comes into play ? Where should we include that ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 16:38:21 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/creation-of-app-id-though-xml-api/m-p/304265#M2094</guid>
      <dc:creator>Rmuppalla</dc:creator>
      <dc:date>2019-12-18T16:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: Creation of App-Id though XML Api</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/creation-of-app-id-though-xml-api/m-p/305449#M2111</link>
      <description>&lt;P&gt;Using the /debug to see what the GUI does gets you part of the way, but it's not a direct 1-to-1 what you need to send / do.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;type=config&lt;/P&gt;
&lt;P&gt;action=set&lt;/P&gt;
&lt;P&gt;xpath=&lt;SPAN&gt;/config/devices/entry[@name='localhost.localdomain']/vsys/entry[@name='vsys1']/application/entry[@name='test2']&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;element=&amp;lt;entry name="test2"&amp;gt;(WHAT YOU HAVE AS cmd HERE)&amp;lt;/entry&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would highly recommend using either of the libraries that Palo Alto Networks has for working with the API if you want to get serious with the PAN-OS API:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;python:&amp;nbsp; &lt;A href="https://github.com/PaloAltoNetworks/pandevice" target="_self"&gt;pandevice&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;golang: &lt;A href="https://github.com/PaloAltoNetworks/pango" target="_self"&gt;pango&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2020 16:59:21 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/creation-of-app-id-though-xml-api/m-p/305449#M2111</guid>
      <dc:creator>gfreeman</dc:creator>
      <dc:date>2020-01-02T16:59:21Z</dc:date>
    </item>
  </channel>
</rss>

