- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
06-26-2022 06:28 AM
Hey guys, i'm having a weird issue when trying to extract HIP Reports via the API.
I'm using the following API endpoint to extract HIP Reports:
https://<FIREWALL_IP>/api?type=op&cmd=<show><user><hip-report><computer>HOSTNAME</computer><ip>IP_ADDRESS</ip><user>USERNAME</user></hip-report></user></show>&key=<API_KEY>
But when i try it i receive the following response from the firewall:
<response status="success"><result><error>can't find hip report</error>
</result></response>
I took the username/ip/hostname from the HIP match logs exactly as they are written so they should be correct, so i'm not sure what could be the issue here, any ideas?
09-12-2022 04:40 AM
Hi @nirkain, similar to this thread (https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/bd-p/Analytics_Discussions), I would recommend getting the HIP report via CLI first to confirm the three variables are correctly formatted (computer, IP, user) and then once successful, try the API command afterwards.
Hope that helps!
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!