- Products
- Learn
- Local User Groups
- Partners
- More
Policy Insights and Policy Auditor in Action
19 November @ 5pm CET / 11am ET
Access Control and Threat Prevention Best Practices
Watch HereOverlap in Security Validation
Help us to understand your needs better
CheckMates Go:
Maestro Madness
Since deleting unused rules always annoyed me, I created a SmarteConsole plugin.
It does the following:
- Shows all rules in SmartConsole that have not been used (hit counter = 0).
- Lets you select any of the unused rules you want to delete.
- Generates the CLI commands for the Management Server to delete those rules.
You only need to copy and paste the output into an SSH session on the SMS.
I deliberately did not automate the deletion directly in SmartConsole, to avoid accidental rule removal if the tool is misused.
Install Smart Console Extension:
https://www.checkpoint.tips/ex/delete.json
PS:
I quickly created the SmartConsole extension during the last two days of my vacation.
When I have a bit more time, I’ll build a nicer version and make it available in the tools section.
Versions:
1.0 Basic version 08/20/2025
1.1 Public community version 08/27/2025
1.2 Add layers and autoload 09/01/2025
| Demo video |
|---|
| Install SmartConsole Extension |
|---|
To install SmartConsole Extensions, you can watch this video:
Since deleting unused rules always annoyed me, I created a SmarteConsole plugin.
It does the following:
- Shows all rules in SmartConsole that have not been used (hit counter = 0).
- Lets you select any of the unused rules you want to delete.
- Generates the CLI commands for the Management Server to delete those rules.
You only need to copy and paste the output into an SSH session on the SMS.
I deliberately did not automate the deletion directly in SmartConsole, to avoid
...;The challenge with inline layers is that they are not integrated into the regular rule framework but are instead referenced within the internal database. As a result, a parser would be required to index the database for inline layers. This is particularly difficult when developing SmartConsole plugins, because every interaction with the API triggers a confirmation prompt—a security feature of Check Point—which would lead to an excessive number of confirmations. From my perspective, this approach is not practical.
For several years, I have hoped that Check Point would introduce an alternative mechanism, such as a signing key for trusted SmartConsole application developers. Unfortunately, such a solution does not exist.
Maybe I should apply to Check Point as a programmer. 😀
The challenge with inline layers is that they are not integrated into the regular rule framework but are instead referenced within the internal database. As a result, a parser would be required to index the database for inline layers. This is particularly difficult when developing SmartConsole plugins, because every interaction with the API triggers a confirmation prompt—a security feature of Check Point—which would lead to an excessive number of confirmations. From my perspective, this a
...;It might make more sense for the CLI commands to be ones you can copy/paste to the Command Line available in SmartConsole.
Or maybe it can be an option, just a thought.
That's a good suggestion. I would add the "creation date", as well, as most of the times we don't want to remove the rules that are created or modified recently (probably in order to facilitate for some traffic that is expected in the future).
That's a good suggestion. I would add the "creation date", as well, as most of the times we don't want to remove the rules that are created or modified recently (probably in order to facilitate for some traffic that is expected in the future).
;Hi HeikoAnkenbrand,
Sorry to bother you, But would be better if you can pass the instructions "How to inject this plugin" in Smart Console.
@satish_Puri see the interactive guide here: https://support.checkpoint.com/results/sk/sk171436#Extension
Or see here: https://community.checkpoint.com/t5/Management/How-to-extend-and-enhance-SmartConsole/td-p/41429
@satish_Puri see the interactive guide here: https://support.checkpoint.com/results/sk/sk171436#Extension
Or see here: https://community.checkpoint.com/t5/Management/How-to-extend-and-enhance-SmartConsole/td-p/41429
About CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY