Skip to content

update otelgrpc from 0.35.0 0.46.1 for vulnerability patching #1568

update otelgrpc from 0.35.0 0.46.1 for vulnerability patching

update otelgrpc from 0.35.0 0.46.1 for vulnerability patching #1568

Triggered via pull request December 11, 2023 22:15
Status Failure
Total duration 1m 47s
Artifacts

security.yaml

on: pull_request
trivy  /  Trivy security scan
1m 34s
trivy / Trivy security scan
trivy  /  notify-failure
0s
trivy / notify-failure
Fit to window
Zoom out
Zoom in

Annotations

10 errors
trivy / Trivy security scan
cannot use &TracerProvider{} (value of type *TracerProvider) as "go.opentelemetry.io/otel/trace".TracerProvider value in variable declaration: *TracerProvider does not implement "go.opentelemetry.io/otel/trace".TracerProvider (missing method tracerProvider)
trivy / Trivy security scan
cannot use t (variable of type *tracer) as "go.opentelemetry.io/otel/trace".Tracer value in return statement: *tracer does not implement "go.opentelemetry.io/otel/trace".Tracer (missing method tracer)
trivy / Trivy security scan
cannot use (*recordingSpan)(nil) (value of type *recordingSpan) as ReadWriteSpan value in variable declaration: *recordingSpan does not implement ReadWriteSpan (missing method span)
trivy / Trivy security scan
cannot use s.tracer.provider (variable of type *TracerProvider) as "go.opentelemetry.io/otel/trace".TracerProvider value in return statement: *TracerProvider does not implement "go.opentelemetry.io/otel/trace".TracerProvider (missing method tracerProvider)
trivy / Trivy security scan
cannot use nonRecordingSpan{} (value of type nonRecordingSpan) as "go.opentelemetry.io/otel/trace".Span value in variable declaration: nonRecordingSpan does not implement "go.opentelemetry.io/otel/trace".Span (missing method span)
trivy / Trivy security scan
cannot use s.tracer.provider (variable of type *TracerProvider) as "go.opentelemetry.io/otel/trace".TracerProvider value in return statement: *TracerProvider does not implement "go.opentelemetry.io/otel/trace".TracerProvider (missing method tracerProvider)
trivy / Trivy security scan
cannot use &tracer{} (value of type *tracer) as "go.opentelemetry.io/otel/trace".Tracer value in variable declaration: *tracer does not implement "go.opentelemetry.io/otel/trace".Tracer (missing method tracer)
trivy / Trivy security scan
impossible type assertion: p.(*recordingSpan)
trivy / Trivy security scan
cannot use tr.newNonRecordingSpan(sc) (value of type nonRecordingSpan) as "go.opentelemetry.io/otel/trace".Span value in return statement: nonRecordingSpan does not implement "go.opentelemetry.io/otel/trace".Span (missing method span)
trivy / Trivy security scan
cannot use tr.newRecordingSpan(psc, sc, name, samplingResult, config) (value of type *recordingSpan) as "go.opentelemetry.io/otel/trace".Span value in return statement: *recordingSpan does not implement "go.opentelemetry.io/otel/trace".Span (missing method span)