- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
09-23-2013 10:32 PM
i am working on paloalto VM version 5.0.6 and tying to read reports from wildfire with the help of API using cURL.
i am pulling the report on the basis of "device_id" and "report_id" but getting error.
curl -i -k -F device_id=[SERIAL NUMBER] -F report_id=[TID FROM LOG] -F format=xml
are above options are supported in version 5.0.6?if yes then anything that i am missing in my command.if not then in which version this will be supported.
09-24-2013 06:57 AM - last edited on 02-29-2016 11:53 PM by reaper
Hello Edwin,
Three variables are passable in a GET request to the Wildfire API - apikey,device_id and report_id.
The following request should return a XML containing the information from the the Wildfire report including the sha256 of the file:
Also, you can use curl to get a report:
curl -i -d apikey=<YOUR-API-KEY -d device_id=<YOUR-DEVICE-SERIAL> -d report_id=<YOUR-REPORT-ID> https://wildfire.paloaltonetworks.com/publicapi/report
Here is a good link for Wildfire's API guide.
https://www.paloaltonetworks.com/documentation/wildfire-portal-api-doc.html
Please let me know if the above suggestions were helped you!
Regards,
Kunal Adak
09-24-2013 06:57 AM - last edited on 02-29-2016 11:53 PM by reaper
Hello Edwin,
Three variables are passable in a GET request to the Wildfire API - apikey,device_id and report_id.
The following request should return a XML containing the information from the the Wildfire report including the sha256 of the file:
Also, you can use curl to get a report:
curl -i -d apikey=<YOUR-API-KEY -d device_id=<YOUR-DEVICE-SERIAL> -d report_id=<YOUR-REPORT-ID> https://wildfire.paloaltonetworks.com/publicapi/report
Here is a good link for Wildfire's API guide.
https://www.paloaltonetworks.com/documentation/wildfire-portal-api-doc.html
Please let me know if the above suggestions were helped you!
Regards,
Kunal Adak
09-30-2013 02:03 AM
Thanks kunal,
Thats what exactly i was loking or searching for.
09-30-2013 06:20 AM
Hello Edwin,
Glad that you got what you were looking for.
Regards,
Kunal Adak.
04-28-2016 10:08 AM
Hello,
I'm trying to figure out the GET Syntax for 7.0 wildfire wihtout the use of CURL.
I've tried the following format but it doesn't seem to work.
https://wildfire.paloaltonetworks.com/publicapi/get/report?apikey=<api key>?hash=<hash>&format=xml
Getting the following message:
04-03-2018 10:07 AM
Hi There,
Did you get your problem solved? If yes, could you tell me how?
Thank you.
Raymond
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!