Versions in this module Expand all Collapse all v2 v2.13.2 Jul 9, 2024 v2.13.1 Jun 12, 2024 v2.13.0 Jun 12, 2024 Changes in this version + const AnonymizeReplacement + const B + const GB + const KB + const MB + const ServiceNowTableDefault + func BuildAndInitOtpt(settings *ActionSettings, khulnasoftServerUrl string) actions.Action + func SetupConnOptions(opts []nats.Option) []nats.Option + type ActionSettings struct + AffectsVersions []string + Alias string + Assignee []string + BoardName string + BodyContent string + BodyFile string + ClientHostName string + DependencyTrackAPIKey string + DockerCmd []string + DockerEnv []string + DockerImageName string + DockerNetwork string + DockerVolumes map[string]string + Enable bool + Entity string + Env []string + ExecScript string + FixVersions []string + Headers map[string][]string + Host string + InputFile string + InstanceName string + IssueType string + KubeActions map[string]map[string]string + KubeConfigFile string + KubeLabelSelector string + KubeNamespace string + Labels []string + Method string + Name string + OrganizationId string + PagerdutyAuthToken string + PagerdutyRoutingKey string + Password string + Port int + Priority string + ProjectKey string + Recipients []string + RunsOn string + Sender string + SizeLimit int + Sprint string + Summary string + Tags []string + Timeout string + TlsVerify bool + Token string + Type string + Unknowns map[string]string + Url string + UseMX bool + User string + type Router struct + ConfigCh chan *nats.Msg + ControllerURL string + Mode string + NatsConn *nats.Conn + NatsMsgCh chan *nats.Msg + NatsServer *server.Server + RunnerName string + func Instance() *Router + func (ctx *Router) GetCurrentEvents() []any + func (ctx *Router) HandleRoute(routeName string, in []byte) + func (ctx *Router) ReloadConfig() + func (ctx *Router) Send(data []byte) + func (ctx *Router) Start(cfgfile string) error + func (ctx *Router) Terminate() + type Rule struct + ID string + Name string + type Template struct + Body string + LegacyScanRenderer string + Name string + RegoPackage string + Url string + type TenantSettings struct + Actions []ActionSettings + DBMaxSize string + DBRemoveOldData int + DBTestInterval int + InputRoutes []routes.InputRoute + KhulnasoftServer string + Rules []Rule + Templates []Template + func Parsev2cfg(cfgpath string) (*TenantSettings, error)