Forum Discussion

questions's avatar
Icon for Nimbostratus rankNimbostratus
Jul 12, 2023

API: search for address lists containing an IP, or rules containing an address list?


Using the API, I'm able to look up things like address lists or rule lists if I know their names, for example, a curl to




will give me the desired record contents, or using




shows me the contents of the desired address list.

But how do I find those records if I don't know their names?

For example, if I want to know if the IP exists in an address list, how do I query that from the API?

Or, if I know that address list webserverOne exists, how can I find what rules reference that list?


4 Replies