<?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: API &amp; Custom reports in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-custom-reports/m-p/14990#M381</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marc,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok, too bad the API doesn't mimic the GUI behavior.&lt;/P&gt;&lt;P&gt;Any chances the commit requirement will be lifted in a next version ? Or that the "starttime" and "endtime" parameters are going to be supported when requesting custom reports through the API ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On another note, it seems you have edited some lines out of your post, about committing through the API being possible since v4.0.2.&lt;/P&gt;&lt;P&gt;I didn't try it out nor found any documentation about it. Is it ready for "prime-time" ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Adrien&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Sep 2011 08:45:23 GMT</pubDate>
    <dc:creator>adeboss</dc:creator>
    <dc:date>2011-09-02T08:45:23Z</dc:date>
    <item>
      <title>API &amp; Custom reports</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-custom-reports/m-p/14988#M379</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 want to change my custom reports time frame just before executing them, using the XML API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is how I proceed:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Modify the &amp;lt;start-time&amp;gt; and &amp;lt;end-time&amp;gt; using a "action=edit" API request&lt;/LI&gt;&lt;LI&gt;Pull the results out my report with a "type=report&amp;amp;reporttype=custom" API request&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first step works fine, I see the time frame modification in the web interface and the config logs.&lt;/P&gt;&lt;P&gt;But when I pull the results, the new time frame is not taken into account. It seems that the "running config" time frame is used, instead of the one in the "candidate config".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I manage to make it work without doing a commit ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Adrien&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2011 10:03:58 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-custom-reports/m-p/14988#M379</guid>
      <dc:creator>adeboss</dc:creator>
      <dc:date>2011-09-01T10:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: API &amp; Custom reports</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-custom-reports/m-p/14989#M380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adrien,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately the system requires that you commit the custom report changes prior to being able to invoke them using the API, unlike the 'run now' function in the gui.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Marc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2011 16:02:29 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-custom-reports/m-p/14989#M380</guid>
      <dc:creator>mbenoit</dc:creator>
      <dc:date>2011-09-01T16:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: API &amp; Custom reports</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-custom-reports/m-p/14990#M381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marc,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok, too bad the API doesn't mimic the GUI behavior.&lt;/P&gt;&lt;P&gt;Any chances the commit requirement will be lifted in a next version ? Or that the "starttime" and "endtime" parameters are going to be supported when requesting custom reports through the API ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On another note, it seems you have edited some lines out of your post, about committing through the API being possible since v4.0.2.&lt;/P&gt;&lt;P&gt;I didn't try it out nor found any documentation about it. Is it ready for "prime-time" ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Adrien&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2011 08:45:23 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-custom-reports/m-p/14990#M381</guid>
      <dc:creator>adeboss</dc:creator>
      <dc:date>2011-09-02T08:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: API &amp; Custom reports</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-custom-reports/m-p/14991#M382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adrien,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes... I ammended my post because the commit API feature is officially in version 4.1 which is in beta testing currently.&amp;nbsp; Have you checked out the updated Perl Package for interacting with the XML API? There are many useful libs to simplify scripting efforts...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current version is located here:&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://live.paloaltonetworks.com/docs/DOC-1910"&gt;https://live.paloaltonetworks.com/docs/DOC-1910&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will take a look to see if &amp;lt;period&amp;gt; will be supported with custom reports....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Marc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2011 15:51:51 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-custom-reports/m-p/14991#M382</guid>
      <dc:creator>mbenoit</dc:creator>
      <dc:date>2011-09-02T15:51:51Z</dc:date>
    </item>
  </channel>
</rss>

