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

How do I add a specific rule to a specific package and section in the package via the api?

I am trying to create an automatic script that Creates the package  Example: 

  • add package name test1 access true threat-prevention true comments testcase

After that I want to create a section title in this package, I tried as an example 

  • add access-section layer "Network" package "test1" position top name "DHCP"
    • errored out on the package name

My next step was going to add a rule to the specific package in that specific section.  I was going to try the following: 

  • add access-rule package "test1" access-section "DHCP" layer "Network" position top name "rule 1" action "Accept" source "Home.123" destination "Spock" service "dhcp


2 Replies
This widget could not be displayed.