Skip to content

cbcurrier3/wapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

############################################################
#                                                          #
#   Management API Web Interface for Check Point R80.20    #
#       for Checkpoint Management API version 1.3          #
#                                                          #
################### Release version 1.0 ####################
#                                                          #
#        Author CB Currier <ccurrier@checkpoint.com>       #
#                                                          #
############################################################
#                   Release Date 11/29/18                  #
############################################################

DESCRIPTION
This is a Docker Containerized "Tree View Menu Tool". It is a Python/Apache powered web page representation of 
the Check Point Management API v1.3. More to the point it is a WYSIWYG interface of all the commands available
in the Check Point Management API. A valid login to a Check Point R80.20 MDS or SmartCenter with the API 
enabled is required. Once logged in the API commands will be loaded on the left side of the page. The commands
are organized into a tree menu. Double Clicking will open a "category" or "branch" of commands. 
Single clicking on a command will load the command and commands options onto the right side of the page. 
Submitting there will pass the API command to the Management Server.

BUILD
#docker build -rm -t wapi wapi/
#docker volume create --name=cpdata --opt type=nfs --opt=device=:/home/ovirt/cpData --opt=o=addr=192.168.0.245

RUN
# docker run -d -p 8080:443 --restart=always --name wapi wapi
# docker run -d -p 80:80 -p 443:443 --restart=always -v cpdata:/mnt/cpdata --name wapi wapi

EXEC Bash
#docker exec -i -t wapi bash

EXPRESS
docker build --rm -t wapi . ; docker run -d -p 80:443 --restart=always --name wapi wapi; docker exec -i -t wapi bash

CONFIGURE 
set permissions and servers to connect to from apps.
[root@dockerhost /]# docker exec -i -t wapi bash

EDIT the following
	[root@cp-api /]# vi /var/www/html/CP-API/incl/auth 

	server='192.168.10.100'
	muser='apiuser'
	mpass='CpR0cks!'
	mport='443'
	domain='Default'
	session=''

Be sure you have in your management policy an access layer that has the name "Live_Demo" for instance.

COLLABORATION
There are still refinements to be made and any contributions are welcome. 

OPEN SOURCE/LICENSE
The GNU License is included - the codebase is wholly open source but nothing herein grants any license, authority, ownership 
to Check Point Software Tech API or other Check Point products, solutions or publications.
 

THATS IT !

CBC3 10:00AM EST 11/29/2018

About

Web interface to Check Point Management API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published