Wildfire API

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

Wildfire API

Not applicable

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.

1 accepted solution

Accepted Solutions

L5 Sessionator

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:

https://wildfire.paloaltonetworks.com/publicapi/report?apikey=<YOUR-API-KEY>&device_id=<YOUR-DEVICE-...

 

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

 

 

 

 

 

View solution in original post

5 REPLIES 5

L5 Sessionator

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:

https://wildfire.paloaltonetworks.com/publicapi/report?apikey=<YOUR-API-KEY>&device_id=<YOUR-DEVICE-...

 

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

 

 

 

 

 

Thanks kunal,

Thats what exactly i was loking or searching for.

Hello Edwin,

Glad that you got what you were looking for.

Regards,

Kunal Adak.

L1 Bithead

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:

 

<error>
<error-message>'Method is not supported'</error-message>
</error>
 
Any help is greatly appreciated.

Hi There,

 

Did you get your problem solved? If yes, could you tell me how?

 

Thank you.

 

Raymond

 

  • 1 accepted solution
  • 4449 Views
  • 5 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!