How to query my Public IPs only

Is there a way to query all my assets with Public IP only?

This would be useful to create a remediation project where we monitor our internet-facing assets.


I have a separate Site that is just external IP.
I then report off of that Site

I have more than one site with public IPs and would be nice to have a dynamic query to include all of them once I add more sites with public IPs.