Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Brian_Deutmeyer
Collaborator
Jump to solution

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!

0 Kudos
5 Replies
This widget could not be displayed.

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events