Assign Install Policy Tool

Document created by Inbar Moskovich Employee on Jan 2, 2017Last modified by Inbar Moskovich Employee on Jul 11, 2017
Version 1Show Document
  • View in full screen mode


The tool assigns a global policy to the local domains and installs polices on gateways in these domains according to the configuration file.



The tool works according to the following steps:

  1. Assigns a global assignment on the domains that are mentioned in the configuration file.
  2. Installs a policy package which is mentioned in the configuration file to the installation targets.
  3. If  installation targets are not mentioned in the configuration file, the policy is installed on all the gateways on the management.
  4. Creates a report and sends it via mail to the recipient that appears in the configuration file.


Follow the steps below:

     1. Unzip attached zip file on the management machine

     2. Edit config.json file according to your system and add to it:

    • The desired domains
    • Policy packages (with targets - optional).
    • Configure SMTP server with the port number

     3. Run the tool with the following command:  



Code Version

Code version 1.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