AnsweredAssumed Answered

How to add a firewall policy to a specific package via api

Question asked by Nicholas Doropoulos on Feb 13, 2019
Latest reply on Feb 13, 2019 by Maik Dummer

Ok, I've got two policy packages on an R80.20 SMS (Standard and TestPackage):



What I want to do is to import a set of firewall rules into the TestPackage via the api with the following command:


mgmt_cli add access-rule --batch fwpolicy-final.csv


The problem though is that the firewall rules are added to the Standard package and NOT the TestPackage one. 


So my question is, is there an argument I could add to the above command to specify the policy package I want to add the firewall rules to? I can't find one in the api reference: Check Point - Management API reference .


Thanks in advance.