- Products
- Learn
- Local User Groups
- Partners
- More
CheckMates Fifth Birthday
Celebrate with Us!
days
hours
minutes
seconds
Join the CHECKMATES Everywhere Competition
Submit your picture to win!
Check Point Proactive support
Free trial available for 90 Days!
As YOU DESERVE THE BEST SECURITY
Upgrade to our latest GA Jumbo
The 2022 MITRE Engenuity ATT&CK®
Evaluations Results Are In!
Now Available: SmartAwareness Security Training
Training Built to Educate and Engage
MITRE ATT&CK
Inside Check Point products!
CheckFlix!
All Videos In One Space
Hi, Is there a way for me to check duplicated, triplicated, etc. objects, but not for name but its configuration in some way? For example I have this:
The 10.169.1.0/24 network is twice but with different names, I would like to know if I can list all the objects that have the same parameters but different name, Thanks.
Manually you can look this in object explorer. Put the IP-address or network in the Search-field and it will show all the objects with this IP. This is of course not very useful if you have a lot of objects you want to check.
Check Point Professional Services has a tool to run a report of your policy and object database (including duplicate objects). You can also create an API script to look for the duplicate objects.
In case you are still using R77.30, it's just a mouse-click away:
Search > Network Objects > Duplicates
There is also a python script available, which comes with the default example scripts for the python module regarding the management API:
cp_mgmt_api_python_sdk/find_duplicate_ip at master · CheckPointSW/cp_mgmt_api_python_sdk · GitHub
But note that this one just lists only duplicate IP addresses and does not compare other parameters. But it's a starting point which could be advanced to also compare other parameters like tags etc.
Hi Maik,
This link is not valid to get the duplicate object. can u help. my environment is on R80.40
Hi
everytime i am running the code i am getting the following error. can u help
Enter server IP address or hostname:172.16.x.x
Enter username: admin
Attention! Your password will be shown on the screen!
Enter password: $$$$$$$
You currently do not have a record of this server's fingerprint.
Server's fingerprint: EE7442B5991900E66981D3D8B41CAC6CFBABD889
Do you accept this fingerprint? [y/n] y
Fingerprint saved.
Login failed:
APIResponse received a response which is not a valid JSON.
Saving data to debug file api_calls.json
Traceback (most recent call last):
File "C:\Users\Anastasia\Documents\Python\find duplicate object.py", line 98, in <module>
main()
File "C:\Users\Anastasia\Documents\Python\find duplicate object.py", line 53, in main
exit(1)
NameError: name 'exit' is not defined
About CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY