I want to query my rule using API command show-access-rulebase.
It is working perfectly fine for a single or multiple IP or Port.
But i am not able to figure out what filter to use for any IP range, say, 10.10.10.100-10.10.10.250 or port range, say, 1024-5000
below is my sample payload for API call
payload = {
"limit": page_size,
"offset": offset,
"use-object-dictionary": True,
"filter": filter,
"filter-settings": {
"search-mode" : "packet",
"packet-search-settings" : {
"expand-group-members" : "true"
}
},
"uid": access_layer_uid
}
page_size, offset, filter, access_layer_uid being variables.