Python script to install access rules on check point R80.40 - Part 1

preview_player
Показать описание
Environments:
Windows subsystem Linux
Linux Python 3.8.10

install pandas (excel reader)
sudo apt install python3-pandas

Check point R80.40

Steps

1. enable check point API from GUI

2. download Check Point API Python Development Kit

3. extract the downloaded files into a folder, say, Test

4. download from below link the three files and put them into the Test folder

ADD_RULES.xlsx

5. run the python script to install the rules from excel.
6. test the rules by ping.
Рекомендации по теме
Комментарии
Автор

@Marti, how did you install the GAIA API 1.8? I installed CheckPoint in Standalone mode (GW and MGMT on same VM) and I have the API at version 1.6.

cp-standalone> mgmt show api-versions

current-version: "1.6"
supported-versions:
- "1"
- "1.1"
- "1.2"
- "1.3"
- "1.4"
- "1.5"
- "1.6"

cp-standalone> show version all
Product version Check Point Gaia R80.40
OS build 294
OS kernel version 3.10.0-957.21.3cpx86_64
OS edition 64-bit
cp-standalone>

victorgrecu
Автор

@marty is there any way can run this script in MDSM management which have multiple DMS