This repository has been archived by the owner on Oct 14, 2024. It is now read-only.
Add IAM policies #1846
Annotations
10 errors
backend/pkg/iam/iam.go#L30
Comment should end in a period (godot)
|
backend/pkg/iam/iam.go#L46
Comment should end in a period (godot)
|
backend/pkg/config/config.go#L30
G101: Potential hardcoded credentials (gosec)
|
backend/pkg/config/config.go#L35
G101: Potential hardcoded credentials (gosec)
|
backend/pkg/backend/backend.go#L56
calculated cyclomatic complexity for function Run is 11, max is 10 (cyclop)
|
backend/pkg/iam/oidc.go#L73
mnd: Magic number: 2, in <condition> detected (gomnd)
|
runtime_scan/pkg/provider/aws/config.go#L92
SA9003: empty branch (staticcheck)
|
backend/pkg/iam/iam.go#L52
error returned from interface method should be wrapped: sig: func (github.com/openclarity/vmclarity/backend/pkg/iam.Provider).Authenticate(ctx context.Context, request *net/http.Request) (*github.com/openclarity/vmclarity/backend/pkg/iam.User, error) (wrapcheck)
|
backend/pkg/iam/oidc.go#L136
error returned from interface method should be wrapped: sig: func (golang.org/x/oauth2.TokenSource).Token() (*golang.org/x/oauth2.Token, error) (wrapcheck)
|
backend/pkg/rest/asset_controller.go#L34
error returned from external package is unwrapped: sig: func github.com/openclarity/vmclarity/backend/pkg/common.SendError(ctx github.com/labstack/echo/v4.Context, code int, message string) error (wrapcheck)
|
The logs for this run have expired and are no longer available.
Loading