Little project which is utilizing cpridutil over run-script CHKP MGMT API call to get firmware version of all SMB devices managed by the domain. The interesting part is that we are listing LSM (SmartProvisioning) managed devices as well. At the end, we write all output into CSV file (default output.csv).
GW,Image,Serial,MAC,IP,Status
SMB-1500-GW,R80_992002665_20_40,XX12X12345,00:1C:DE:AD:BE:EF,192.168.1.1,Successful
This way you have a list of all SMB devices and their firmware version.
We are utilizing Python CHKP MGMT API SDK for the API communication.
You can run the code either directly on the CHKP MGMT server or a separate machine with API access to the CHKP MGMT API.
Additional integration with Check Point SourceGuard for code security scan on each code change, as well as latest Check Point's acquisition of SpectralOps to scan for any potential Secrets leak like passwords or API keys. All running as Github Actions workflow.
The code is under MIT License:
https://github.com/Senas23/cp_cpridutil