- CheckMates
- :
- Products
- :
- Developers
- :
- API / CLI Discussion
- :
- export rulebase layer as HTML (bash script)
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×
Sign in with your Check Point UserCenter/PartnerMap account to access more great content and get a chance to win some Apple AirPods! If you don't have an account, create one now for free!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
export rulebase layer as HTML (bash script)
Description
Gets a layer-name as an argument and prints the layer as an HTML table.
Instructions
Run the script on a management server. Pass the layer name as an argument to this script.
The code assumes that you're running the script as the root user so it uses "mgmt_cli login --root true" which does not ask for login credentials.
Code Version
Code version 0.0.3
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
...
2 Replies

Not applicable
2016-09-01
11:17 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1:How to use this script in MDM environment?
2:what mean “layer-name”? If I want export policy how I to do it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Very nice.
Check out SmartConsole Extensions to integrate this script as a tool inside SmartConsole.
