Allow topaz to run as an edge authorizer #384
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
10 errors
test:
pkg/cli/cmd/configure.go#L40
hugeParam: cmd is heavy (184 bytes); consider passing it by pointer (gocritic)
|
test:
pkg/app/middlewares/middlewares.go#L41
appendCombine: can combine chain of 3 appends into one (gocritic)
|
test:
pkg/app/authorizer.go#L113
appendCombine: can combine chain of 2 appends into one (gocritic)
|
test:
pkg/app/authorizer.go#L116
importShadow: shadow of imported from 'github.com/aserto-dev/go-edge-ds/pkg/server' package 'edge' (gocritic)
|
test:
pkg/app/topaz.go#L40
importShadow: shadow of imported from 'github.com/aserto-dev/topaz/resolvers' package 'resolvers' (gocritic)
|
test:
pkg/app/authorizer.go#L28
var `allowedOrigins` is unused (unused)
|
test:
pkg/app/authorizer.go#L202
func `isLocalDirectory` is unused (unused)
|
test:
pkg/app/middlewares/instance_middleware.go#L23
ineffectual assignment to details (ineffassign)
|
test:
pkg/app/topaz/runtime_resolver.go#L68
ineffectual assignment to details (ineffassign)
|
test:
pkg/cli/cmd/configure.go#L83
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
|