List all access layers in all policy packages (bash script)

Document created by Uri Bialik Expert on Dec 23, 2015Last modified by Uri Bialik Expert on Jul 11, 2017
Version 2Show Document
  • View in full screen mode


A bash script that logs into a domain/SmartCenter, lists all policy packages and prints the names of the access-policy layers (rulebases)



Place the file on the management server and run it.

Enter credentials and an optional domain name.


Code Version

Code version 0.0.0


Tested on version

R80, API version 1.0


NOTICE: By using this sample code you agree to terms and conditions in this Terms and Conditions