Hello Cisco Community,
On other major vendors I've dealt with the API has a Filter function when pulling the Access Policy.
Does FMC have this functionality?
For example,
I want to pull all of the rules that match the following query:
SRC:10.10.10.0/24
DST: 10.20.10.15
SVC: 443
With Check Point I'd simply add a "filter" JSON Key with the value being the search syntax:
search_filter = "src:10.10.10.0/27 AND dst:10.20.10.15 AND svc:443"
("show-access-rulebase",
{
"offset" : 0,
"limit" : 500,
"name" : layer,
"details-level" : "standard",
"use-object-dictionary" : "true",
"filter" : search_filter,
"filter-settings" : { "search-mode" : "packet"}
}
)
Thank you in advance!