Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
gobears24
Explorer

How to display policy rules in mgmt_cli

Hi, I'm looking to display policy rules within mgmt_cli. Does anyone know how to do this? Sorry if this is an obvious question I am very new. Thanks!

0 Kudos
1 Reply
HeikoAnkenbrand
Champion
Champion

Hi @gobears24,

Shows the entire Access Rules layer. This layer is divided into sections. An Access Rule may be within a section, or independent of a section (in which case it is said to be under the "global" section). The reply features a list of objects. Each object may be a section of the layer, with all its rules in, or a rule itself, for the case of rules which are under the global section. An optional "filter" field may be added in order to filter out only those rules that match a search criteria.

# mgmt_cli show access-rulebase offset 0 limit 20 name "Network" details-level "standard" use-object-dictionary true --format json

You can find more about this topic here:
https://sc1.checkpoint.com/documents/latest/APIs/#cli/show-access-rulebase~v1.8%20https://sc1.checkp...


➜ CCSM Elite, CCME, CCTE
0 Kudos