- Products
- Learn
- Local User Groups
- Partners
- More
AI Security Masters
E1: How AI is Reshaping Our World
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
Hello,
I would like help to find duplicate host and network and service objects in Checkpoint SMC and delete if not used. how can we achieve that using API?
thanks
Assuming that the use-case is to "tidy" your environment from unused objects, you can use the Object Explorer in the SmartConsole application. Pop out the full dialog via the toolbar button, then select "Unused Objects" in the top left filter.
This will show all unused objects (it's similar to going through every object and doing "Where Used"). You can verify each one and delete them. It will show both duplicates or unique objects that aren't in use, but you probably want to clean up both types.
You'd have to pull the entire object database (by type) and find the duplicates manually.
You can use the 'where-used' API to ensure nothing is using that object before deletion: https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/where-used~v1.9%20
is there a script available that does already that? how do I pull the database with api? we would need to do a duplicate check first how to achive that in api? then we do the where used I think?thx
I haven't seen a script that does that.
You'd have to pull the different object types, such as:
Note that these endpoints will return a limited number of results.
You may need to iterate with the offset parameter to capture all the results.
Your script would have to figure out which of the objects are duplicates according to your logic.
You'd also have to call where-used for each object to see what results are returned.
Bottom line: this will require some development work.
Assuming that the use-case is to "tidy" your environment from unused objects, you can use the Object Explorer in the SmartConsole application. Pop out the full dialog via the toolbar button, then select "Unused Objects" in the top left filter.
This will show all unused objects (it's similar to going through every object and doing "Where Used"). You can verify each one and delete them. It will show both duplicates or unique objects that aren't in use, but you probably want to clean up both types.
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 cloudsThu 08 Jan 2026 @ 05:00 PM (CET)
AI Security Masters Session 1: How AI is Reshaping Our WorldAbout CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY