From 4d58eba02756c0e1248c23fac3e60303e46f660d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 9 May 2023 11:22:57 +0200 Subject: [PATCH] core: bump github.com/getsentry/sentry-go from 0.20.0 to 0.21.0 (#5548) * core: bump github.com/getsentry/sentry-go from 0.20.0 to 0.21.0 Bumps [github.com/getsentry/sentry-go](https://github.com/getsentry/sentry-go) from 0.20.0 to 0.21.0. - [Release notes](https://github.com/getsentry/sentry-go/releases) - [Changelog](https://github.com/getsentry/sentry-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-go/compare/v0.20.0...v0.21.0) --- updated-dependencies: - dependency-name: github.com/getsentry/sentry-go dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * fix Signed-off-by: Jens Langhammer --------- Signed-off-by: dependabot[bot] Signed-off-by: Jens Langhammer Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jens Langhammer --- go.mod | 2 +- go.sum | 4 ++-- internal/outpost/ldap/bind/request.go | 2 +- internal/outpost/ldap/search/request.go | 2 +- internal/outpost/radius/handler.go | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index 9e7ff3e95..212354ef5 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ require ( github.com/Netflix/go-env v0.0.0-20210215222557-e437a7e7f9fb github.com/coreos/go-oidc v2.2.1+incompatible github.com/garyburd/redigo v1.6.4 - github.com/getsentry/sentry-go v0.20.0 + github.com/getsentry/sentry-go v0.21.0 github.com/go-http-utils/etag v0.0.0-20161124023236-513ea8f21eb1 github.com/go-ldap/ldap/v3 v3.4.4 github.com/go-openapi/runtime v0.26.0 diff --git a/go.sum b/go.sum index 9c45b7af2..e663703e8 100644 --- a/go.sum +++ b/go.sum @@ -24,8 +24,8 @@ github.com/felixge/httpsnoop v1.0.1 h1:lvB5Jl89CsZtGIWuTcDM1E/vkVs49/Ml7JJe07l8S github.com/felixge/httpsnoop v1.0.1/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= github.com/garyburd/redigo v1.6.4 h1:LFu2R3+ZOPgSMWMOL+saa/zXRjw0ID2G8FepO53BGlg= github.com/garyburd/redigo v1.6.4/go.mod h1:rTb6epsqigu3kYKBnaF028A7Tf/Aw5s0cqA47doKKqw= -github.com/getsentry/sentry-go v0.20.0 h1:bwXW98iMRIWxn+4FgPW7vMrjmbym6HblXALmhjHmQaQ= -github.com/getsentry/sentry-go v0.20.0/go.mod h1:lc76E2QywIyW8WuBnwl8Lc4bkmQH4+w1gwTf25trprY= +github.com/getsentry/sentry-go v0.21.0 h1:c9l5F1nPF30JIppulk4veau90PK6Smu3abgVtVQWon4= +github.com/getsentry/sentry-go v0.21.0/go.mod h1:lc76E2QywIyW8WuBnwl8Lc4bkmQH4+w1gwTf25trprY= github.com/go-asn1-ber/asn1-ber v1.5.4 h1:vXT6d/FNDiELJnLb6hGNa309LMsrCoYFvpwHDF0+Y1A= github.com/go-asn1-ber/asn1-ber v1.5.4/go.mod h1:hEBeB/ic+5LoWskz+yKT7vGhhPYkProFKoKdwZRWMe0= github.com/go-errors/errors v1.4.2 h1:J6MZopCL4uSllY1OfXM374weqZFFItUbrImctkmUxIA= diff --git a/internal/outpost/ldap/bind/request.go b/internal/outpost/ldap/bind/request.go index 59827105d..9ea810e11 100644 --- a/internal/outpost/ldap/bind/request.go +++ b/internal/outpost/ldap/bind/request.go @@ -22,7 +22,7 @@ type Request struct { func NewRequest(bindDN string, bindPW string, conn net.Conn) (*Request, *sentry.Span) { span := sentry.StartSpan(context.TODO(), "authentik.providers.ldap.bind", - sentry.TransactionName("authentik.providers.ldap.bind")) + sentry.WithTransactionName("authentik.providers.ldap.bind")) span.Description = bindDN rid := uuid.New().String() span.SetTag("request_uid", rid) diff --git a/internal/outpost/ldap/search/request.go b/internal/outpost/ldap/search/request.go index fb7a12379..10eeeccd8 100644 --- a/internal/outpost/ldap/search/request.go +++ b/internal/outpost/ldap/search/request.go @@ -26,7 +26,7 @@ type Request struct { func NewRequest(bindDN string, searchReq ldap.SearchRequest, conn net.Conn) (*Request, *sentry.Span) { rid := uuid.New().String() bindDN = strings.ToLower(bindDN) - span := sentry.StartSpan(context.TODO(), "authentik.providers.ldap.search", sentry.TransactionName("authentik.providers.ldap.search")) + span := sentry.StartSpan(context.TODO(), "authentik.providers.ldap.search", sentry.WithTransactionName("authentik.providers.ldap.search")) span.Description = fmt.Sprintf("%s (%s)", searchReq.BaseDN, ldap.ScopeMap[searchReq.Scope]) span.SetTag("request_uid", rid) hub := sentry.GetHubFromContext(span.Context()) diff --git a/internal/outpost/radius/handler.go b/internal/outpost/radius/handler.go index 62deaf023..e98d77606 100644 --- a/internal/outpost/radius/handler.go +++ b/internal/outpost/radius/handler.go @@ -35,7 +35,7 @@ func (r *RadiusRequest) ID() string { func (rs *RadiusServer) ServeRADIUS(w radius.ResponseWriter, r *radius.Request) { span := sentry.StartSpan(r.Context(), "authentik.providers.radius.connect", - sentry.TransactionName("authentik.providers.radius.connect")) + sentry.WithTransactionName("authentik.providers.radius.connect")) rid := uuid.New().String() span.SetTag("request_uid", rid) rl := rs.log.WithField("code", r.Code.String()).WithField("request", rid)