C-WCOW: Enable runtime logging enforcement #292
Annotations
12 errors
|
verify-vendor
Process completed with exit code 1.
|
|
verify-vendor
./go.mod is not up to date. Please run `go mod tidy && go mod vendor`
|
|
lint (linux)
issues found
|
|
lint (linux):
pkg/securitypolicy/securitypolicyenforcer.go#L61
var osType is unused (unused)
|
|
lint (linux):
pkg/securitypolicy/securitypolicyenforcer.go#L269
directive `//nolint:unused // used in rego enforcer (build tag: rego)` is unused for linter "unused" (nolintlint)
|
|
lint (linux):
pkg/securitypolicy/securitypolicyenforcer.go#L146
directive `// nolint` should be written without leading space as `//nolint` (nolintlint)
|
|
lint (linux):
pkg/securitypolicy/securitypolicyenforcer.go#L141
directive `// nolint` should be written without leading space as `//nolint` (nolintlint)
|
|
lint (linux):
pkg/securitypolicy/securitypolicyenforcer.go#L138
directive `// nolint` should be written without leading space as `//nolint` (nolintlint)
|
|
lint (windows)
issues found
|
|
lint (windows)
too many errors"
|
|
lint (windows):
internal/windevice/devicequery_test.go#L120
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
|
lint (windows):
internal/windevice/devicequery_test.go#L103
Error return value of `m.Disconnect` is not checked (errcheck)
|