cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Who Me Too'd this topic

API to run user activity report

L2 Linker

I need to generate a UAR for multiple users and wish to automate it.

 

I can script the creation of report, and I can use the API to schedule the report:

 

https://(firewallname)/api/?type=op&cmd=<schedule><uar-report><title>test3</title><user-group>tdc\palo alto networks test reporting</user-group></uar-report>&key=(key)

 

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.

 

But I then cannot retrieve the report in PDF format. I found the documentation which states to do this: https://(firewallname)/api/?type=report&action=get&job-id=(jobid)&key=(key)

 

But it states "No such report". 

 

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.

 

Thanks,

Shannon

 

Who Me Too'd this topic