{"id":19873083,"url":"https://github.com/checkpointsw/localtoglobal","last_synced_at":"2026-06-10T19:31:45.936Z","repository":{"id":89041287,"uuid":"101554125","full_name":"CheckPointSW/LocalToGlobal","owner":"CheckPointSW","description":"Check Point LocalToGlobal tool enables you to copy objects from a local domain to the global domain.","archived":false,"fork":false,"pushed_at":"2026-03-31T10:37:38.000Z","size":39,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2026-04-21T01:44:12.482Z","etag":null,"topics":["management-api"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CheckPointSW.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-27T13:28:12.000Z","updated_at":"2022-03-15T12:39:13.000Z","dependencies_parsed_at":"2023-03-13T18:14:56.937Z","dependency_job_id":null,"html_url":"https://github.com/CheckPointSW/LocalToGlobal","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CheckPointSW/LocalToGlobal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CheckPointSW%2FLocalToGlobal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CheckPointSW%2FLocalToGlobal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CheckPointSW%2FLocalToGlobal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CheckPointSW%2FLocalToGlobal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CheckPointSW","download_url":"https://codeload.github.com/CheckPointSW/LocalToGlobal/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CheckPointSW%2FLocalToGlobal/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34168086,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["management-api"],"created_at":"2024-11-12T16:17:43.815Z","updated_at":"2026-06-10T19:31:41.648Z","avatar_url":"https://github.com/CheckPointSW.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LocalToGlobal\r\nCheck Point LocalToGlobal tool enables you to copy objects from a local domain to the global domain.\r\n\r\n## Instructions\r\nClone the repository with this command:\r\n```git\r\ngit clone https://github.com/CheckPoint-APIs-Team/LocalToGlobal\r\n```\r\nor by clicking the Download ZIP button.\r\n\r\nDownload and install the [Check Point API Python SDK](https://github.com/CheckPointSW/cp_mgmt_api_python_sdk) \r\nrepository, follow the instructions in the SDK repository.\r\n\r\nFor copying an object, which type is known, run the script:\r\n\r\n'local_[object type]_to_global.py' -o [object uid]\r\n\r\nFor copying an object, which type is unknown, run the script:\r\n\r\n'local_object_to_global.py' -o [object uid]\r\n\r\nFor copying multiple objects, these objects need to be tagged using Check Point SmartConsole application or 'add-tag' Check Point Management CLI command, and then run the script:\r\n\r\n'local_to_global_by_tag.py' [tag name]\r\n\r\n### Additional Flags\r\nThe following flags are mandatory:\r\n\r\n-d [local domain name] : the local domain name that contains the object that needs to be copied\r\n\r\n-n [prefix] : the new global object name will be created in the following format - prefix_[local_object_name]\r\n\r\nIf the scripts are not run on Check Point Management server, the following flags are mandatory:\r\n\r\n-s [server IP address] : the IP address or name of Check Point Management server\r\n\r\n-u [user name] : for authentication\r\n\r\nThe following flags are optional:\r\n\r\n-p [port number] : the default value is 443\r\n\r\n-g [global domain name] : the default value is 'Global'\r\n\r\n### The scripts create the following output files:\r\n1. json_objects.json - contains a list of {[original object uid] : [cloned global object uid]}\r\n\r\n2. csv_file.csv - contains a list of {[original object uid], [original object name], [cloned global object name], [cloned global object uid]}\r\n\r\nIf a global object is not created, the [cloned global object name] [cloned global object uid] will remain empty.\r\n\r\n### Notes\r\n1. Here is the list of 'known' object types - host, network, address range, network group, tcp service, udp service, service group.\r\n\r\n2. If a group object is copied, the script will also copy all group member objects.\r\n\r\n3. If an object contains a 'nat-settings' field, this field is not copied.\r\n\r\n## Development Environment\r\nThe tool is developed using Python language version 2.7.9 and [Check Point API Python SDK.](https://github.com/CheckPoint-APIs-Team/cpapi-python-sdk)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheckpointsw%2Flocaltoglobal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcheckpointsw%2Flocaltoglobal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheckpointsw%2Flocaltoglobal/lists"}