- Products
- Learn
- Local User Groups
- Partners
- More
What's New in R82.10?
Register HereWhen the Agents Attack
A Live Look at Agentic Exposure Validation
AI Security Masters E8:
Claude Mythos: New Era in Cyber Security
CheckMates Go:
CheckMates Fest
Hi friends-
I'm looking to use the API to add a rule to a layer and then install policy on the appropriate package (or packages for a shared layer). In SmartConsole, when I view layers (Manage policies and layers...), it shows me the package(s) the layer is used on, but I can't seem to find that mapping in the API. I've tried both show access-layer and show access-layers, but neither give me the packages. I tried doing a where-used on my layer UID, but that just gives me an error. I've noticed that showing all my packages lists the layers that are used, but what about the other way around? How do find which policy(ies) my access layer is a part of?
I'm on v1.5.
Thanks!
Hey Brian,
Thank you for your question.
As @PhoneBoy mentioned, there's currently no API that corresponds with the SmartConsole view you mentioned.
Indeed, the current way to achieve that would be iterating on the policy packages access layers' and check on which packages the changed layer is in use.
If you need help with implementing such logic, feel free to consult with us here.
Regardless, we'll look into the possibility of adding such field to the "access-layer" reply in future versions.
Best Regards,
Nir
Pretty sure this is not part of the API. Sounds like a good RFE. @Nir_Amara
Hey Brian,
Thank you for your question.
As @PhoneBoy mentioned, there's currently no API that corresponds with the SmartConsole view you mentioned.
Indeed, the current way to achieve that would be iterating on the policy packages access layers' and check on which packages the changed layer is in use.
If you need help with implementing such logic, feel free to consult with us here.
Regardless, we'll look into the possibility of adding such field to the "access-layer" reply in future versions.
Best Regards,
Nir
Thanks, Nir.
Adding a "packages : []" output or something like that to the access-layer would be awesome. It would make it really easy to walk up the chain from adding a rule to installation.
I'll put my friend JQ to work and start dumping my packages until said enhancement arrives. Let me know if you want an official RFE.
@Nir_Amara - I'm noticing that the show-package API does not show inline access layers in the output. I've even tried with full details. Would you agree? How do I map an inline layer to a package?
I'm going back to my original question. I know my layer name (which may be an inline layer), but how do I find the package my layer is used on for installation? If it's not an inline layer, show-package does the trick, but inline...not so much.
Hi Brian,
As Nir mentioned, we'll look into the possibility of adding such field to the "access-layer" reply in future versions.
In the mean time you can find the packages which are using a specific inline layer by using the following steps:
Notice: the layers you will find in step 2 can be also inline-layers.
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
Thu 25 Jun 2026 @ 10:00 AM (PDT)
AI Security Masters E10: READY OR NOT: Securing the AI Enterprise 2/5 - AI Red TeamingThu 02 Jul 2026 @ 06:00 PM (CST)
Revolucionando la Seguridad con IA Generativa: Prevención Inteligente en Tiempo RealThu 09 Jul 2026 @ 11:00 AM (CEST)
The Cloud Architects Series: Check Point Edge Protection SD-WAN & SASEThu 25 Jun 2026 @ 10:00 AM (PDT)
AI Security Masters E10: READY OR NOT: Securing the AI Enterprise 2/5 - AI Red TeamingTue 14 Jul 2026 @ 10:00 AM (PDT)
AI Security Masters E11: READY OR NOT: Securing the AI Enterprise 3/5 - AI Workforce SecurityThu 30 Jul 2026 @ 10:00 AM (PDT)
AI Security Masters E12: READY OR NOT: Securing the AI Enterprise 4/5 - AI GatewayThu 02 Jul 2026 @ 06:00 PM (CST)
Revolucionando la Seguridad con IA Generativa: Prevención Inteligente en Tiempo RealAbout CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY