<?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 Importing rulebase into Excel using XML API in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/importing-rulebase-into-excel-using-xml-api/m-p/24752#M637</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am having an issue with importing the rules base into excel using the XML API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;the query i am using is: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://"&gt;https://&lt;/A&gt;&lt;SPAN style="text-decoration: underline;"&gt;hostname&lt;/SPAN&gt;/esp/restapi.esp?type=config&amp;amp;key=&lt;SPAN style="text-decoration: underline;"&gt;keyvalue&lt;/SPAN&gt;&amp;amp;action=show&amp;amp;xpath=devices/entry/vsys/entry[@name='vsys1']/rulebase/security/rules&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I used the following to generate the keyvalue: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://hostname/api/?type=keygen&amp;amp;user="&gt;https://hostname/api/?type=keygen&amp;amp;user=&lt;/A&gt;&lt;SPAN style="text-decoration: underline;"&gt;username&lt;/SPAN&gt;&amp;amp;password=&lt;SPAN style="text-decoration: underline;"&gt;password&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have used the default admin use to create this keyvalue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i keep getting the error error code 403. User not authorised to perform this operation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;help would be greatly appreciated as to why this user does not have access or if the query i'm using is incorrect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 May 2013 05:44:01 GMT</pubDate>
    <dc:creator>ssala</dc:creator>
    <dc:date>2013-05-13T05:44:01Z</dc:date>
    <item>
      <title>Importing rulebase into Excel using XML API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/importing-rulebase-into-excel-using-xml-api/m-p/24752#M637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am having an issue with importing the rules base into excel using the XML API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;the query i am using is: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://"&gt;https://&lt;/A&gt;&lt;SPAN style="text-decoration: underline;"&gt;hostname&lt;/SPAN&gt;/esp/restapi.esp?type=config&amp;amp;key=&lt;SPAN style="text-decoration: underline;"&gt;keyvalue&lt;/SPAN&gt;&amp;amp;action=show&amp;amp;xpath=devices/entry/vsys/entry[@name='vsys1']/rulebase/security/rules&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I used the following to generate the keyvalue: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://hostname/api/?type=keygen&amp;amp;user="&gt;https://hostname/api/?type=keygen&amp;amp;user=&lt;/A&gt;&lt;SPAN style="text-decoration: underline;"&gt;username&lt;/SPAN&gt;&amp;amp;password=&lt;SPAN style="text-decoration: underline;"&gt;password&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have used the default admin use to create this keyvalue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i keep getting the error error code 403. User not authorised to perform this operation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;help would be greatly appreciated as to why this user does not have access or if the query i'm using is incorrect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2013 05:44:01 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/importing-rulebase-into-excel-using-xml-api/m-p/24752#M637</guid>
      <dc:creator>ssala</dc:creator>
      <dc:date>2013-05-13T05:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: Importing rulebase into Excel using XML API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/importing-rulebase-into-excel-using-xml-api/m-p/24753#M638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What version of PaloAlto are you on? Older versions use esp, newer ones use api, so try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://live.paloaltonetworks.com/"&gt;https://&lt;/A&gt;&lt;SPAN style="text-decoration: underline;"&gt;hostname&lt;/SPAN&gt;/&lt;STRONG&gt;api&lt;/STRONG&gt;?type=config&amp;amp;key=&lt;SPAN style="text-decoration: underline;"&gt;keyvalue&lt;/SPAN&gt;&amp;amp;action=show&amp;amp;xpath=devices/entry/vsys/entry[@name='vsys1']/rulebase/security/rules&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2013 14:41:23 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/importing-rulebase-into-excel-using-xml-api/m-p/24753#M638</guid>
      <dc:creator>hvcomputech</dc:creator>
      <dc:date>2013-05-13T14:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: Importing rulebase into Excel using XML API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/importing-rulebase-into-excel-using-xml-api/m-p/24754#M639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;we are using PANOS 4.1.7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i try the string with api instead of esp i get the login prompt and then the dashboard same as i would is i logged in via the browser.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2013 22:58:18 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/importing-rulebase-into-excel-using-xml-api/m-p/24754#M639</guid>
      <dc:creator>ssala</dc:creator>
      <dc:date>2013-05-13T22:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Importing rulebase into Excel using XML API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/importing-rulebase-into-excel-using-xml-api/m-p/24755#M640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you got 403 error, it means something wrong with your key. There is a known bug in 4.1.x that alter your key during the generation. Please try the below operational command and see if it works.&lt;/P&gt;&lt;P&gt;&lt;A href="https://hostname/api/?key=keyvalue&amp;amp;type=op&amp;amp;cmd=&amp;lt;show&amp;gt;&amp;lt;system&amp;gt;&amp;lt;info&amp;gt;&amp;lt;/info&amp;gt;&amp;lt;/system&amp;gt;&amp;lt;/show&amp;gt;" title="https://hostname/api/?key=keyvalue&amp;amp;type=op&amp;amp;cmd=&amp;lt;show&amp;gt;&amp;lt;system&amp;gt;&amp;lt;info&amp;gt;&amp;lt;/info&amp;gt;&amp;lt;/system&amp;gt;&amp;lt;/show&amp;gt;"&gt;https://hostname/api/?key=keyvalue&amp;amp;type=op&amp;amp;cmd=&amp;lt;show&amp;gt;&amp;lt;system&amp;gt;&amp;lt;info&amp;gt;&amp;lt;/info&amp;gt;&amp;lt;/system&amp;gt;&amp;lt;/show&amp;gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you still receive 403 error, please regenerate your key and try again. Once you've got the show system info, then try exporting your rule base again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2013 10:40:34 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/importing-rulebase-into-excel-using-xml-api/m-p/24755#M640</guid>
      <dc:creator>Retired Member</dc:creator>
      <dc:date>2013-05-14T10:40:34Z</dc:date>
    </item>
  </channel>
</rss>

