- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
04-29-2025 01:10 AM
I'm currently testing the api for Cortex XDR, in particular the 'get_all_incidents' function under '/public_api/v1/incidents/get_incidents' url.
Reference : https://docs-cortex.paloaltonetworks.com/r/Cortex-XDR-REST-API/Get-all-Incidents
While testing, i realized while testing the 'hosts' field is empty, while in the reference page, it mentions <HOST ID>. Is this a bug or it is supposed to be populated if there's more than 2 host in an incident?
Testing Results
Reference Page
04-29-2025 09:19 AM
Maybe it's a permissions issue. When you change them, the data you get can change too. I had a similar problem, and it was due to permissions.
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!