- Products
- Learn
- Local User Groups
- Partners
- More
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
Hi All,
I need to import some policy packages from one R80.10 CMS to another R80.10 CMS. I used the python tool to export each and every policy packages from the first CMS. But when I tried to import them one by one to the 2nd CMS, first policy package was imported with its objects without any issues but when importing the 2nd policy package, new objects were created with the name of "NAME_COLLISION_RESOLVED_". I think it is because during the import of 1st policy package, majority of the objects were imported and during the 2nd policy package import, it tried to import same objects again and met with name collisions. Then all those duplicated objects were renamed as NAME_COLLISION_RESOLVED_objects and saved as new objects. Is there anyway to overcome this issue?
Or any other successful method to import those policies? I really appreciate you responds
Thanks and Regards,
udanap
Hi
I just did import of 4-5 rulebases from same management to a (empty) different one at a customer, and modified the script a bit to get rid of the name collision handling.
Search for NAME_COLLISION_RESOLVED in the file importing/import_objects.py
Then remove the whole block checking and doing the rename.
Result is that it will spit out error message for each object that already exist, but not import it.
In the rules, the object that already exists in the management database will be used (which is what you want in your scenario I think)
Remove (or put comment # in front of each line) the block, it is around line 220 I think.
Line before it is
api_reply = client.api_call(api_call, payload)
and you remove from
if not api_reply.success and "name" in payload and "More than one object" in api_reply.error_message:
and all lines up to, but not including this one:
if not api_reply.success:
at about line 237
Would have been nice to have this as an "official" option in future versions.
Suggest testing i something not production first as usual..
Regards
Petter
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 cloudsAbout CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY