cancel
Showing results for 
Search instead for 
Did you mean: 
Create a Post

New Gaia features (Dynamic CLI and REST API) are available !

Remember the teasers about new Gaia features in EA (REST API and Dynamic CLI) ? So, we are glad to let you know that both features are now available for download, and have public SKs with all relevant information : Ender (REST API) - sk143612 Dynamic CLI - sk144112 Please, feel free to try them out, and let us know what you think. You can use GAIA_TECH@MICHAEL.CHECKPOINT.COM forum to ask questions and share your experience, so that more people will get the sense of those features. We will be showing both features in upcoming CPX, with live demo in Tech Room. Let me know if you want to meet there and discuss specific use-cases or roadmap.
TO READ THE FULL POST it's simple and free
4 Comments

I’ve installed the Gaia API, but there doesn’t seem to be a run-script option, according to the local documentation.  Is this feature:

1) present, but undocumented 

2) planned

3) not planned 

I’d be happy to meet and discuss our use cases, if interested.

I decided to test the run-script command based on the management API and... IT WORKED!

Here are the commands I ran...

SID=`curl -k -X POST "https://gatewayname.site.com/gaia_api/login" -H "Content-Type: application/json" -d "{\"user\":\"USERNAME\",\"password\":\"PASSWORD\"}" -s | jq '.' | grep sid | awk -F'"' '{print $4}'`

curl -k -X POST "https://gatewayname.site.com/gaia_api/run-script" -H "Content-Type: application/json" -H "X-chkp-sid: $SID" -d "{\"script-name\":\"pleaseWork\",\"script\":\"/tmp/myscript.sh\"}" -s

curl -k -X POST "https://gatewayname.site.com/gaia_api/logout" -H "Content-Type: application/json" -H "X-chkp-sid: $SID" -d "{}" -s

Awesome stuff.  Thank you!

Employee+
Employee+

phlrnnr
Copper

Will the Gaia API eventually be installed and enabled by default?  I could see that being useful for zero touch deployment of FW gateways.