Git Product home page Git Product logo

cp-mgmt-api-go-sdk's Introduction

cp-mgmt-api-go-sdk

Check 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 capabilities of the library. The kit is compatible with Golang version 1.12

Content

APIFiles - the API library project.

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.

add_host - demonstrates creating a new host.

show_hosts - demonstrates showing all of the hosts of the domain.

discard_sessions - demonstrates how to discard the changes to the database for un-published sessions.

find_duplicate_ip - demonstrates searching for all the hosts that share the same IP address.

auto_publish - demonstrates using auto publish feature by running multiple threads that create new network groups.

Instructions

The SDK can be imported to an other Go projects:

$ go get -t "github.com/CheckPointSW/cp-mgmt-api-go-sdk/APIFiles"
package main

import "github.com/CheckPointSW/cp-mgmt-api-go-sdk/APIFiles"

Running the examples

Clone repository to: $GOPATH/src/github.com/CheckPointSW/cp-mgmt-api-go-sdk

$ git clone [email protected]:CheckPointSW/cp-mgmt-api-go-sdk $GOPATH/src/github.com/CheckPointSW/cp-mgmt-api-go-sdk

Enter the sdk directory and build the sdk

$ cd $GOPATH/src/github.com/CheckPointSW/cp-mgmt-api-go-sdk
$ go build main.go
$ main.exe <example argument> ["discard"/"rule"/"add_host"/"show_hosts"/"dup_ip"]

cp-mgmt-api-go-sdk's People

Contributors

chkp-royl avatar chkp-alonshev avatar chkp-idoma avatar chkp-nimrodgab avatar chkp-roniz avatar chkp-michaele avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.