- Products
- Learn
- Local User Groups
- Partners
- More
What's New in R82.10?
10 December @ 5pm CET / 11am ET
Improve Your Security Posture with
Threat Prevention and Policy Insights
Overlap in Security Validation
Help us to understand your needs better
CheckMates Go:
Maestro Madness
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.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
Wed 03 Dec 2025 @ 10:00 AM (COT)
Última Sesión del Año – CheckMates LATAM: ERM & TEM con ExpertosThu 04 Dec 2025 @ 12:30 PM (SGT)
End-of-Year Event: Securing AI Transformation in a Hyperconnected World - APACThu 04 Dec 2025 @ 03:00 PM (CET)
End-of-Year Event: Securing AI Transformation in a Hyperconnected World - EMEAThu 04 Dec 2025 @ 02:00 PM (EST)
End-of-Year Event: Securing AI Transformation in a Hyperconnected World - AmericasWed 03 Dec 2025 @ 10:00 AM (COT)
Última Sesión del Año – CheckMates LATAM: ERM & TEM con ExpertosThu 04 Dec 2025 @ 12:30 PM (SGT)
End-of-Year Event: Securing AI Transformation in a Hyperconnected World - APACThu 04 Dec 2025 @ 03:00 PM (CET)
End-of-Year Event: Securing AI Transformation in a Hyperconnected World - EMEAThu 04 Dec 2025 @ 02:00 PM (EST)
End-of-Year Event: Securing AI Transformation in a Hyperconnected World - AmericasAbout CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY