Giter Site home page Giter Site logo

chkp-edenbr / exportimportpolicypackage Goto Github PK

View Code? Open in Web Editor NEW

This project forked from checkpointsw/exportimportpolicypackage

0.0 0.0 0.0 288 KB

Check Point ExportImportPolicyPackage tool enables you to export a policy package from a Management database to a .tar.gz file, which can then be imported into any other Management database. The tool is supported for version R80.10 and above.

License: Apache License 2.0

Python 100.00%

exportimportpolicypackage's Introduction

ExportImportPolicyPackage

Check Point ExportImportPolicyPackage tool enables you to export a policy package from a Management database to a .tar.gz file, which can then be imported into any other Management database. The tool is supported for version R80.10 and above.

This tool can be used for backups, database transfers, testing, and more.

In the case you are exporting a policy package from a CMA, please verify that a global policy was NOT assigned to that CMA. The tool doesn't support exporting a policy with global policy assigned!

Description

This tool enables you to export a policy package (Access Policy, Threat Policy or both) from a Management database into a .tar.gz file.

Release Notes:

  • There are some types of objects that the script might not be able to export. In such a case, an appropriate dummy object will be exported instead, and a message will be logged into the log files to notify you of this. In the Check Point SmartConsole you can easily replace each of these objects by searching "export_error" in the search field, see where each object is used, create the necessary object manually, then replace it.

  • Processing of Data Center Object types - before importing to the destination Management database, you must manually create a Data Center object using the exact same name as in the source Management database, and ensure connectivity.

Instructions

Clone the repository with this command:

git clone https://github.com/CheckPoint-APIs-Team/ExportImportPolicyPackage

or by clicking the Download ZIP button.

Download and install the Check Point API Python SDK repository, follow the instructions in the SDK repository.

To export a package, run the import_export_package.py script. An interactive menu will guide you the rest of the way. Command line flags may also be set in order to skip some or all of the menu.

A lot more details can of course be accessed with the '-h' option. This option also prints the current version of the tool.

Development Environment

The tool is developed using Python language version 2.7.9 and Check Point API Python SDK. From version 5.0 the tool is developed using Python language version 3.7.

Requirements

From version 5.0 the min Python language version required is 3.7. Last release to support Python language version 2.7.9 is v4.2.

exportimportpolicypackage's People

Contributors

chkp-royl avatar chkp-rdecker avatar chkp-ubialik avatar chkp-edenbr avatar chkp-maxcalderon avatar chkp-orito avatar chkp-liorai avatar chkp-shirango avatar chkp-yaelg avatar chkp-amiads avatar assasc avatar chkp-orso avatar chkp-roniz avatar parkerpatel avatar chkp-shirao avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.