chore: moving to otel from opencensus #4
scan-vulns.yaml
on: pull_request
Run govulncheck
44s
[Trivy] Scan for vulnerabilities
2m 53s
Annotations
11 errors
Run govulncheck:
pkg/audit/stats_reporter.go#L71
expected declaration, found view
|
Run govulncheck:
pkg/audit/manager.go#L166
undefined: newStatsReporter
|
Run govulncheck:
pkg/audit/manager.go#L187
am.reporter.registerCallback undefined (type *reporter has no field or method registerCallback)
|
Run govulncheck:
pkg/audit/manager.go#L201
am.reporter.reportLatency undefined (type *reporter has no field or method reportLatency)
|
Run govulncheck:
pkg/audit/stats_reporter.go#L4
"context" imported and not used
|
Run govulncheck:
pkg/audit/stats_reporter.go#L5
"errors" imported and not used
|
Run govulncheck:
pkg/audit/stats_reporter.go#L9
"go.opentelemetry.io/otel/attribute" imported and not used
|
Run govulncheck:
pkg/audit/stats_reporter.go#L11
"go.opentelemetry.io/otel/sdk/metric" imported as sdkmetric and not used
|
Run govulncheck:
pkg/audit/stats_reporter.go#L12
"github.com/open-policy-agent/gatekeeper/v3/pkg/metrics/exporters/view" imported and not used
|
Run govulncheck:
pkg/controller/constrainttemplate/stats_reporter.go#L61
expected declaration, found view
|
[Trivy] Scan for vulnerabilities
Process completed with exit code 2.
|