Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
William_Garner
Employee Alumnus
Employee Alumnus
Jump to solution

Attach newly created layer to "Network" layer from cli

It is easy to create a new layer from the cli:

add access-layer name AppCon-URLF firewall false applications-and-url-filtering true

Is it possible from the cli to then attach this layer to the existing layer "Network" in the policy "Standard" ?

My goal is to completely build an ordered FW and App. Control policy from a flat file using the cli.

Thanks!

0 Kudos
1 Solution

Accepted Solutions
Igal_Rivin
Employee Alumnus
Employee Alumnus

Hi,

To add the layer to a package use the following command:

set package name Standard access-layers.add.0.name AppCon-URLF access-layers.add.0.position 2

Please note, the position parameter sets this layer to be on the second place, after the Network layer.

Please use Check Point - Management API documentaion as a reference to the set-package command

View solution in original post

0 Kudos
1 Reply
Igal_Rivin
Employee Alumnus
Employee Alumnus

Hi,

To add the layer to a package use the following command:

set package name Standard access-layers.add.0.name AppCon-URLF access-layers.add.0.position 2

Please note, the position parameter sets this layer to be on the second place, after the Network layer.

Please use Check Point - Management API documentaion as a reference to the set-package command

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events