<?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 API to run user activity report in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-to-run-user-activity-report/m-p/99014#M1256</link>
    <description>&lt;P&gt;I need to generate a UAR for multiple users and wish to automate it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can script the creation of report, and I can use the API to schedule the report:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;https://(firewallname)/api/?type=op&amp;amp;cmd=&amp;lt;schedule&amp;gt;&amp;lt;uar-report&amp;gt;&amp;lt;title&amp;gt;test3&amp;lt;/title&amp;gt;&amp;lt;user-group&amp;gt;tdc\palo alto networks test reporting&amp;lt;/user-group&amp;gt;&amp;lt;/uar-report&amp;gt;&amp;amp;key=(key)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This comes back "Success" and provides a job ID. I check the tasks and confirm the job has status of "FIN" so it has completed successfully.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I then cannot retrieve the report in PDF format. I found the documentation which states to do this:&amp;nbsp;https://(firewallname)/api/?type=report&amp;amp;action=get&amp;amp;job-id=(jobid)&amp;amp;key=(key)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But it states "No such report".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would love some help in finding out how I can leverate the API to run my multiple UAR's and either email them, or have them available somewhere on-box where I can retrieve them using tftp/scp etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shannon&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jul 2016 04:56:07 GMT</pubDate>
    <dc:creator>Shannon-Rowe</dc:creator>
    <dc:date>2016-07-21T04:56:07Z</dc:date>
    <item>
      <title>API to run user activity report</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-to-run-user-activity-report/m-p/99014#M1256</link>
      <description>&lt;P&gt;I need to generate a UAR for multiple users and wish to automate it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can script the creation of report, and I can use the API to schedule the report:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;https://(firewallname)/api/?type=op&amp;amp;cmd=&amp;lt;schedule&amp;gt;&amp;lt;uar-report&amp;gt;&amp;lt;title&amp;gt;test3&amp;lt;/title&amp;gt;&amp;lt;user-group&amp;gt;tdc\palo alto networks test reporting&amp;lt;/user-group&amp;gt;&amp;lt;/uar-report&amp;gt;&amp;amp;key=(key)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This comes back "Success" and provides a job ID. I check the tasks and confirm the job has status of "FIN" so it has completed successfully.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I then cannot retrieve the report in PDF format. I found the documentation which states to do this:&amp;nbsp;https://(firewallname)/api/?type=report&amp;amp;action=get&amp;amp;job-id=(jobid)&amp;amp;key=(key)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But it states "No such report".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would love some help in finding out how I can leverate the API to run my multiple UAR's and either email them, or have them available somewhere on-box where I can retrieve them using tftp/scp etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shannon&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 04:56:07 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-to-run-user-activity-report/m-p/99014#M1256</guid>
      <dc:creator>Shannon-Rowe</dc:creator>
      <dc:date>2016-07-21T04:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: API to run user activity report</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-to-run-user-activity-report/m-p/201641#M1596</link>
      <description>&lt;P&gt;Were you able to pull this report in PDF format using API?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2018 18:16:49 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-to-run-user-activity-report/m-p/201641#M1596</guid>
      <dc:creator>harish</dc:creator>
      <dc:date>2018-02-21T18:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: API to run user activity report</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-to-run-user-activity-report/m-p/204601#M1619</link>
      <description>&lt;P&gt;No solution available?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Mar 2018 17:22:41 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-to-run-user-activity-report/m-p/204601#M1619</guid>
      <dc:creator>rkoenig</dc:creator>
      <dc:date>2018-03-09T17:22:41Z</dc:date>
    </item>
  </channel>
</rss>

