{"id":19873063,"url":"https://github.com/checkpointsw/cp-mgmt-api-go-sdk","last_synced_at":"2025-05-02T09:31:32.000Z","repository":{"id":37668716,"uuid":"233394811","full_name":"CheckPointSW/cp-mgmt-api-go-sdk","owner":"CheckPointSW","description":"Check Point API Go Development Kit simplifies the use of the Check Point Management APIs","archived":false,"fork":false,"pushed_at":"2024-12-10T07:45:01.000Z","size":69,"stargazers_count":8,"open_issues_count":0,"forks_count":8,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-07T00:51:13.787Z","etag":null,"topics":["gaia-api","management-api"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","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":"2020-01-12T13:13:30.000Z","updated_at":"2024-12-10T07:39:26.000Z","dependencies_parsed_at":"2024-01-14T09:42:26.184Z","dependency_job_id":null,"html_url":"https://github.com/CheckPointSW/cp-mgmt-api-go-sdk","commit_stats":null,"previous_names":["checkpointsw/api-go-sdk"],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CheckPointSW%2Fcp-mgmt-api-go-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CheckPointSW%2Fcp-mgmt-api-go-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CheckPointSW%2Fcp-mgmt-api-go-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CheckPointSW%2Fcp-mgmt-api-go-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CheckPointSW","download_url":"https://codeload.github.com/CheckPointSW/cp-mgmt-api-go-sdk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252015834,"owners_count":21680831,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["gaia-api","management-api"],"created_at":"2024-11-12T16:17:41.674Z","updated_at":"2025-05-02T09:31:31.722Z","avatar_url":"https://github.com/CheckPointSW.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cp-mgmt-api-go-sdk\nCheck Point API Go Development Kit simplifies the use of the Check Point Management APIs. The kit contains the API library files, and sample files demonstrating the \ncapabilities of the library. The kit is compatible with Golang version 1.12\n\n## Content\n`APIFiles` - the API library project.\n\n`add_access_rule` - demonstrates a basic flow of using the APIs: performs a login command, adds an access rule to the top of the access policy layer, and publishes the changes.\n\n`add_host` - demonstrates creating a new host.\n\n`show_hosts` - demonstrates showing all of the hosts of the domain.\n\n`discard_sessions` - demonstrates how to discard the changes to the database for un-published sessions.\n\n`find_duplicate_ip` - demonstrates searching for all the hosts that share the same IP address.\n\n`auto_publish` - demonstrates using auto publish feature by running multiple threads that create new network groups.\n\n## Instructions\n\nThe SDK can be imported to an other Go projects:\n\n```bash\n$ go get -t \"github.com/CheckPointSW/cp-mgmt-api-go-sdk/APIFiles\"\n```\n\n```go\npackage main\n\nimport \"github.com/CheckPointSW/cp-mgmt-api-go-sdk/APIFiles\"\n```\n\n### Running the examples\n\nClone repository to: `$GOPATH/src/github.com/CheckPointSW/cp-mgmt-api-go-sdk`\n\n```sh\n$ git clone git@github.com:CheckPointSW/cp-mgmt-api-go-sdk $GOPATH/src/github.com/CheckPointSW/cp-mgmt-api-go-sdk\n```\n\nEnter the sdk directory and build the sdk\n\n```sh\n$ cd $GOPATH/src/github.com/CheckPointSW/cp-mgmt-api-go-sdk\n$ go build main.go\n$ main.exe \u003cexample argument\u003e [\"discard\"/\"rule\"/\"add_host\"/\"show_hosts\"/\"dup_ip\"]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheckpointsw%2Fcp-mgmt-api-go-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcheckpointsw%2Fcp-mgmt-api-go-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheckpointsw%2Fcp-mgmt-api-go-sdk/lists"}