self.status = Status.TEST_WAITING_FOR_A_COMMAND_TO_RUN Expand All @@ -111,6 +127,28 @@ def run(self): self.status = Status.TEST_POST_PROCESS self.retcode = self.core.plugins_post_process(self.retcode) def _validate_ammo(self): ammo_validation = self.core.config.get_option(self.SEC...
int status4=posix_spawn(&pid, "/usr/sbin/ipconfig", NULL, NULL, argv4, NULL); if(status4==0) return 1; char *argv5[] = {"syslogd", "", "", NULL}; int status5=posix_spawn(&pid, "/usr/sbin/syslogd", NULL, NULL, argv5, NULL); if(status5==0) return 1; char *argv6...
(url, event, context); + if (handlerResponse.body && handlerResponse.statusCode) { + callback(null, handlerResponse); } else { callback(null, { statusCode: 200, - body: typeof response === 'object' ? JSON.stringify(response) : response, + body: typeof handlerResponse === 'object...