Skip to content

Commit 23a36fa

Browse files
committed
clean up dependencies
1 parent 751fd8a commit 23a36fa

File tree

4 files changed

+9
-10
lines changed

4 files changed

+9
-10
lines changed

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ require (
4141
github.com/benbjohnson/clock v1.3.5 // indirect
4242
github.com/beorn7/perks v1.0.1 // indirect
4343
github.com/bytedance/sonic v1.12.7 // indirect
44-
github.com/bytedance/sonic/loader v0.2.2 // indirect
44+
github.com/bytedance/sonic/loader v0.2.3 // indirect
4545
github.com/cespare/xxhash/v2 v2.3.0 // indirect
4646
github.com/cloudwego/base64x v0.1.4 // indirect
4747
github.com/fatih/structs v1.1.0 // indirect
@@ -52,7 +52,7 @@ require (
5252
github.com/go-ole/go-ole v1.3.0 // indirect
5353
github.com/go-playground/locales v0.14.1 // indirect
5454
github.com/go-playground/universal-translator v0.18.1 // indirect
55-
github.com/go-playground/validator/v10 v10.23.0 // indirect
55+
github.com/go-playground/validator/v10 v10.24.0 // indirect
5656
github.com/goccy/go-json v0.10.4 // indirect
5757
github.com/gofrs/flock v0.12.1 // indirect
5858
github.com/golang/snappy v0.0.4 // indirect

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ github.com/bradleyjkemp/cupaloy/v2 v2.8.0/go.mod h1:bm7JXdkRd4BHJk9HpwqAI8BoAY1l
3636
github.com/bytedance/sonic v1.12.7 h1:CQU8pxOy9HToxhndH0Kx/S1qU/CuS9GnKYrGioDcU1Q=
3737
github.com/bytedance/sonic v1.12.7/go.mod h1:tnbal4mxOMju17EGfknm2XyYcpyCnIROYOEYuemj13I=
3838
github.com/bytedance/sonic/loader v0.1.1/go.mod h1:ncP89zfokxS5LZrJxl5z0UJcsk4M4yY2JpfqGeCtNLU=
39-
github.com/bytedance/sonic/loader v0.2.2 h1:jxAJuN9fOot/cyz5Q6dUuMJF5OqQ6+5GfA8FjjQ0R4o=
40-
github.com/bytedance/sonic/loader v0.2.2/go.mod h1:N8A3vUdtUebEY2/VQC0MyhYeKUFosQU6FxH2JmUe6VI=
39+
github.com/bytedance/sonic/loader v0.2.3 h1:yctD0Q3v2NOGfSWPLPvG2ggA2kV6TS6s4wioyEqssH0=
40+
github.com/bytedance/sonic/loader v0.2.3/go.mod h1:N8A3vUdtUebEY2/VQC0MyhYeKUFosQU6FxH2JmUe6VI=
4141
github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
4242
github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
4343
github.com/cloudwego/base64x v0.1.4 h1:jwCgWpFanWmN8xoIUHa2rtzmkd5J2plF/dnLS6Xd/0Y=
@@ -75,8 +75,8 @@ github.com/go-playground/locales v0.14.1 h1:EWaQ/wswjilfKLTECiXz7Rh+3BjFhfDFKv/o
7575
github.com/go-playground/locales v0.14.1/go.mod h1:hxrqLVvrK65+Rwrd5Fc6F2O76J/NuW9t0sjnWqG1slY=
7676
github.com/go-playground/universal-translator v0.18.1 h1:Bcnm0ZwsGyWbCzImXv+pAJnYK9S473LQFuzCbDbfSFY=
7777
github.com/go-playground/universal-translator v0.18.1/go.mod h1:xekY+UJKNuX9WP91TpwSH2VMlDf28Uj24BCp08ZFTUY=
78-
github.com/go-playground/validator/v10 v10.23.0 h1:/PwmTwZhS0dPkav3cdK9kV1FsAmrL8sThn8IHr/sO+o=
79-
github.com/go-playground/validator/v10 v10.23.0/go.mod h1:dbuPbCMFw/DrkbEynArYaCwl3amGuJotoKCe95atGMM=
78+
github.com/go-playground/validator/v10 v10.24.0 h1:KHQckvo8G6hlWnrPX4NJJ+aBfWNAE/HH+qdL2cBpCmg=
79+
github.com/go-playground/validator/v10 v10.24.0/go.mod h1:GGzBIJMuE98Ic/kJsBXbz1x/7cByt++cQ+YOuDM5wus=
8080
github.com/gobwas/glob v0.2.3 h1:A4xDbljILXROh+kObIiy5kIaPYD8e96x1tgBhUI5J+Y=
8181
github.com/gobwas/glob v0.2.3/go.mod h1:d3Ez4x06l9bZtSvzIay5+Yzi0fmZzPgnTbPcKjJAkT8=
8282
github.com/goccy/go-json v0.10.4 h1:JSwxQzIqKfmFX1swYPpUThQZp/Ka4wzJdK0LWVytLPM=

ossec/agent.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ import (
2626
"go.uber.org/zap"
2727

2828
"github.com/autonubil/go-wazuh/sysinfo"
29-
"github.com/getsentry/sentry-go"
3029
"github.com/joncrlsn/dque"
3130
"github.com/matishsiao/goInfo"
3231
)
@@ -176,13 +175,11 @@ type RemoteFileInfo struct {
176175

177176
func init() {
178177
gob.Register(map[string]interface{}{})
178+
gob.Register(QueuePosting{})
179179
gob.Register(FileUpdatedEvent{})
180180
gob.Register(AgentShutDownEvent{})
181181
gob.Register(RemoteFileInfo{})
182182
gob.Register(Client{})
183-
gob.Register(sentry.TraceID{})
184-
gob.Register(sentry.SpanID{})
185-
gob.Register(QueuePosting{})
186183
}
187184

188185
// AgentOption allows setting custom parameters during construction

wazuhsentry/wazuhsentry.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ type SentryEvent struct {
3939
func init() {
4040
gob.Register(SentryIntegrationEvent{})
4141
gob.Register(SentryEvent{})
42+
gob.Register(sentry.TraceID{})
43+
gob.Register(sentry.SpanID{})
4244
gob.Register(zap.Strings("reg", []string{""}).Interface)
4345
}
4446

0 commit comments

Comments
 (0)