- Products
- Learn
- Local User Groups
- Partners
- More
MVP 2026: Submissions
Are Now Open!
What's New in R82.10?
Watch NowOverlap in Security Validation
Help us to understand your needs better
CheckMates Go:
Maestro Madness
I use the following to add script to the first policy on my SMS, using SmartConsole API.
add access-section layer "Network" position top name "Gateways Access"
add access-section layer "Network" position bottom name "Noise Suppression"
add access-section layer "Network" position bottom name "Stealth Rule"
add access-section layer "Network" position bottom name "Internet Access"
add access-section layer "Network" position bottom name "Cleanup Rule"
Later, I created a second policy for another gateway, I want to add these access-sections to the new policy.
I find that this still adds the sections to the first policy, no matter which policy I have selected in SmartConsole.
https://sc1.checkpoint.com/documents/latest/APIs/#gui-cli/add-access-section~v1.9%20
The API does not support specifying a package.
How do I script adding access-sections to a specific policy package using SmartConsole API?
You need to replace the name of the layer, in the case of your example "Network" with the relevant one.
You can retrieve the name in CLI or in SmartConsole > Menu > Manage policies and layers > Layers > Access Control
For example from Cloud Demo:
It seems that hardly any command has an option to select the package. So far I only found it at
@PhoneBoy explained the context of this previously here:
https://community.checkpoint.com/t5/API-CLI-Discussion/set-a-policy-package-api/m-p/8995
You need to replace the name of the layer, in the case of your example "Network" with the relevant one.
You can retrieve the name in CLI or in SmartConsole > Menu > Manage policies and layers > Layers > Access Control
For example from Cloud Demo:
@Tal_Paz-Fridman thank you for the detailed instructions and screenshot.
The first (default) layer was "Network" in policy "Policy_one".
The new layer in "Policy_two" was actually named "Policy_two Network".
To find this I followed your instructions
You can retrieve the name in CLI or in SmartConsole > Menu > Manage policies and layers > Layers > Access Control
Under Layer details I found the correct name.
To sum up:
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
| User | Count |
|---|---|
| 4 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
Tue 16 Dec 2025 @ 05:00 PM (CET)
Under the Hood: CloudGuard Network Security for Oracle Cloud - Config and Autoscaling!Thu 18 Dec 2025 @ 10:00 AM (CET)
Cloud Architect Series - Building a Hybrid Mesh Security Strategy across cloudsTue 16 Dec 2025 @ 05:00 PM (CET)
Under the Hood: CloudGuard Network Security for Oracle Cloud - Config and Autoscaling!Thu 18 Dec 2025 @ 10:00 AM (CET)
Cloud Architect Series - Building a Hybrid Mesh Security Strategy across cloudsAbout CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY