- Products
- Learn
- Local User Groups
- Partners
- More
Check Point Jump-Start Online Training
Now Available on CheckMates for Beginners!
Why do Hackers Love IoT Devices so Much?
Join our TechTalk on Aug 17, at 5PM CET | 11AM EST
Welcome to Maestro Masters!
Talk to Masters, Engage with Masters, Be a Maestro Master!
ZTNA Buyer’s Guide
Zero Trust essentials for your most valuable assets
The SMB Cyber Master
Boost your knowledge on Quantum Spark SMB gateways!
As YOU DESERVE THE BEST SECURITY
Upgrade to our latest GA Jumbo
CheckFlix!
All Videos In One Space
Hi,
Ref. an earlier discussion here on Check Mates R80 automation - VS logging settings through CLI/API , thanks Dameon Welch Abernathy and Valeri Loukine for your insights.
Took the time to migrate the code handling VSX VS creation over from SSH/CLI scraping to REST, using the `run-script` method[1]. It works great, except for custom parameters we discussed earlier.
Speaking of `run-script` - we are also automating BGP configuration and other things on the VSX VS nodes.
I would like to migrate that code over to using REST as well, but it looks like it's not possible to specify a VSX cluster node as the `run-script` target , only domain management servers.
I'm probably missing something. Is SSH/CLI scraping still the best approach for automating VSX VS configuration?
Thanks!
Kind regards,
Fredrik Holmberg
you are welcome
The actual API call is targeted at the management, but run-script has an argument that allows you to specify which gateways the script is run against.
See: Check Point - Management API reference: run-script
I'm not sure in the case of a cluster if you specify the cluster or you must specify the individual nodes in that cluster.
Going to move this to Developers (Code Hub)
Thanks Dameon Welch Abernathy , you pointed me in the right direction!
For `run-script` to work, first you need to login to the VSX cluster's domain, then set the target parameter in `run-script` to point to that VSX cluster domain's management server... Learning by doing 🙂
Have a great weekend!
- Fredrik
About CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY