Forum Discussion
API: search for address lists containing an IP, or rules containing an address list?
Hello,
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
mgmt/cm/firewall/working-config/rule-lists?$filter=name+eq+someRuleListName
will give me the desired record contents, or using
mgmt/cm/adc-core/working-config/net/ip-address-lists?$filter=name+eq+someAddressListName
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 10.1.3.4 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?
Thanks!
right now I can not test but did you had a look at this :
Have you tried it with 'options'?
- Leslie_HubertusRet. Employee
- questionsNimbostratus
Hi, I did see the "demystifying" set of articles prior to posting, but I'm not sure how to use 'options' to accomplish this task.
- Leslie_HubertusRet. Employee
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com