Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Participant

set a policy package - api

Jump to solution

Which api would be used to set a policy package. I don't want to modify a policy package using "set-package" but would like to change to a specific policy package instead of "standard" so that objects/policies are modified for that specific package. I searched but could not find any thing relevant.

currently anything in playbook is executed against a standard policy package.

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Admin
Admin

Rules are contained in layers, which are part of a policy package 

A policy package can actually contain multiple layers.

Layers can also be used in multiple policy packages, or even within the same policy package multiple times (inline layers).

Therefore, if you want to modify rules, you do so in terms of the layer, not the policy package.

Objects have never been specific to a policy package (even in R77.x and earlier).

View solution in original post

0 Kudos
2 Replies
Highlighted
Admin
Admin

Rules are contained in layers, which are part of a policy package 

A policy package can actually contain multiple layers.

Layers can also be used in multiple policy packages, or even within the same policy package multiple times (inline layers).

Therefore, if you want to modify rules, you do so in terms of the layer, not the policy package.

Objects have never been specific to a policy package (even in R77.x and earlier).

View solution in original post

0 Kudos
Highlighted
Participant

Thanks Dameon:

Yes that is correct and it makes sense. 

0 Kudos