- Products
- Learn
- Local User Groups
- Partners
- More
AI Security Masters E7:
How CPR Broke ChatGPT's Isolation and What It Means for You
Blueprint Architecture for Securing
The AI Factory & AI Data Center
Call For Papers
Your Expertise. Our Stage
Good, Better, Best:
Prioritizing Defenses Against Credential Abuse
Ink Dragon: A Major Nation-State Campaign
Watch HereCheckMates Go:
CheckMates Fest
Hello,
The script leverages Check Points own Python SDK for communicating to the Management API. This has to be installed into your python befor using the script.
Problem here is, you are trying to use it on a Check Point host. The script seems not to be intended for usage on a Check Point host itself as the cpapi module is not installed there. As far as i remember, it is not recommended (otherwise lets say a "Don´t") to install modules into python interpreter on Check Point systems.
So, please use an external machine with installed python interpreter and the sdk module.
Installation of that module is described here:
https://github.com/CheckPointSW/cp_mgmt_api_python_sdk
for example by
pip install cp-mgmt-api-sdk
Checking, if this is installed:
to see all modules installed:
pip listlook than for cpapi or cp-mgmt-api-sdk.
depending on your system you might have different python versions installed, so you´d might have to install the module with i.e. "pip3.12" and execute the script with "python3.12" then.
hope that helps
About CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY