GO-2023-1863: rudder-server is vulnerable to SQL injection in github.com/rudderlabs/rudder-server
package
Version:
v0.2.1
Opens a new window with list of versions in this module.
Published: Jul 14, 2022
License: AGPL-3.0
Opens a new window with license information.
Imports: 18
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Produce(jsonData json.RawMessage, producer, _ interface{}) (statusCode int, respStatus, responseMessage string)
NewProducer creates a producer based on destination config
type Config struct {
Credentials string `json:"credentials"`
SheetId string `json:"sheetId"`
SheetName string `json:"sheetName"`
EventKeyMap []map[string]string `json:"eventKeyMap"`
DestID string `json:"destId"`
TestConfig TestConfig `json:"testConfig"`
}
type Credentials struct {
Email string `json:"client_email"`
PrivateKey string `json:"private_key"`
TokenUrl string `json:"token_uri"`
}
type TestConfig struct {
Endpoint string `json:"endpoint"`
AccessToken string `json:"accessToken"`
RefreshToken string `json:"refreshToken"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.