Is there a cli command available to search for and view all address objects in use in a firewall's policy? I have a firewall that has hit its maximum address objects limit and need to remove unused addresses.
you should check out the migration tool (the menu above > tools > migration tool)
It can be used to highlight unused objects and merge policies that are duplicate or overlap
Like @reaper mentioned the Migration tool does a fairly good job at this, you could also use the Global Search to verify that they aren't utilized anywhere within the config, or you could simply try to delete them (if they are used it will not allow you to delete the entry). I simply always attempt to delete them when I'm going through my address objects, I find the other options far more time consuming.
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 Live Community as a whole!
The Live Community thanks you for your participation!