- CheckMates
- :
- Products
- :
- Quantum
- :
- Security Gateways
- :
- Re: Gaia API - Loss of functionality with upgrade?
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Gaia API - Loss of functionality with upgrade?
I've been running on Gaia API version 1.0 successfully since its release. As we continue to build more integrations, some features of v1.2 intrigued me, so I upgraded. After I upgrade, we lost the 'run-script' functionality. It now results in a generic_error. Has anyone else noticed this? Why would an "upgrade" result in a downgrade? When will the run-script API be back? I'm downgrading my API version to v1.0 since v1.2 doesn't support the same things v1.0 did.
Here is what I'm seeing:
curl -w '%{http_code}' -k -X POST "https://gw.site.net/gaia_api/run-script " -H "Content-Type: application/json" -H "X-chkp-sid: $MYSECRET" -d "{\"script-name\":\"do-it\",\"script\":\"/var/log/myscript.sh\"}" -s
{
"code": "generic_error",
"message": "Internal error."
}
500
Thanks!
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Brian,
Apologize for the inconvenience, this API was released for POC purposes and it wasn't documented.
V1.3 of GAIA API includes this API and it is well structured and documented - should be available at the beginning of November via sk143612
GAIA APIs documentation can be found here
Thanks,
Tal Martsiano
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Brian,
Apologize for the inconvenience, this API was released for POC purposes and it wasn't documented.
V1.3 of GAIA API includes this API and it is well structured and documented - should be available at the beginning of November via sk143612
GAIA APIs documentation can be found here
Thanks,
Tal Martsiano
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, Tal! That's great news. I'll keep an eye out for v1.3 so I can validate once released.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Tal-
I have a two follow-on questions.
1. There are lots of show route options with the Gaia API, but not 'show route destination x.x.x.x'. Is this something you guys are planning to add? You could create a new API call or just allow a destination to passed in the request body of the show-routes api.
2. Will the ability to specify a virtual system ID or name be coming for use with APIs like show route destination? For example:
POST {server}/v1.3/show-routes Content-Type: application/json X-chkp-sid: {{session}} {"destination" : "1.1.1.1", "vsid" : "1"}
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1. We plan to add this capability to a future release.
2. We will look into the requirement to add vsid to the APIs to support VSX
Tuyen