- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
04-15-2025 10:20 PM
Hello everyone,
We are wondering if anyone have experience in listing out all security rules in Palo Alto Firewall and get the 'last used' field from the rules using any API.
We are looking into reviewing all our rules and perform clean up to unused rules. Appreciate if anyone can share some experience in handling such task. We tried to use the API but could not find a suitable one and could not get the 'last used' field from each security rules.
Thank you in advance.
05-12-2025 11:48 PM
It's very well documented here -Export security rule hitcount to CSV | Develop with Palo Alto Networks
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!