Pulling reports using the XML API

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

Network and security admins usually spend their days putting out fires and fixing problems. Scripts and automated tasks are our little helpers that ensure that at the end of the day, we managed to clear the important tasks even though we were interrupted 5 thousand times because 'the firewall broke something' again.

 

Jobs need to be run, backups need to be taken and reports need to be created.

 

In this video tutorial, Jason Yates from the Global Enablement Team shows you how to access the API interface, which options are available, how the XML API works and how to leverage the API to fetch reports.

 

 

Some key commands and pointers:

 

  • Create a separate admin account for the API access with an appropriately restrictive admin role
  • Generate an API key
    https://<hostname>/api/?type=keygen&user=<username>&password=<password>
  • Add the key to the GET command
    https://<hostname>/api/?type=report&reporttype=predefined&reportname=<ReportName>&key=<APIkey>

 

Why not make your life a little easier? Feel free to leave a comment or ask a question in the comments below.

 

Reaper out!

10 Comments
  • 42336 Views
  • 10 comments
  • 3 Likes
Register or Sign-in
About the Author
I drink and I know things
Labels