Forum Discussion
Anthony_Gerace_
Nov 15, 2004Historic F5 Account
How to retrieve the rule details with query_all_rules
Hi!
I am attempting to write a script that will display the contents of all rules on a given system. In trying to use the query_all_rules method I'm having difficulty with retrieving the...
Loc_Pham_101863
Nov 15, 2004Historic F5 Account
Each "rule_details" in the returned list is just a string representation of the rule text, with each rule detail string corresponding to the same rule name at a particular index. For example:
rule_names[i] = "rule_1"
rule_details[i] = "rule details for rule_1"
Hope this helps.
Loc
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects