This repository has been archived by the owner on Oct 14, 2024. It is now read-only.
Add IAM policies #1851
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
10 errors
Verification:
backend/pkg/config/config.go#L30
G101: Potential hardcoded credentials (gosec)
|
Verification:
backend/pkg/config/config.go#L35
G101: Potential hardcoded credentials (gosec)
|
Verification:
backend/pkg/backend/backend.go#L56
calculated cyclomatic complexity for function Run is 11, max is 10 (cyclop)
|
Verification:
backend/pkg/iam/iam.go#L78
mnd: Magic number: 2, in <condition> detected (gomnd)
|
Verification:
backend/pkg/iam/oidc.go#L73
mnd: Magic number: 2, in <condition> detected (gomnd)
|
Verification:
runtime_scan/pkg/provider/aws/config.go#L92
SA9003: empty branch (staticcheck)
|
Verification:
backend/pkg/iam/iam.go#L64
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)
|
Verification:
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)
|
Verification:
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)
|
Verification:
backend/pkg/rest/asset_controller.go#L37
error returned from external package is unwrapped: sig: func github.com/openclarity/vmclarity/backend/pkg/common.SendResponse(ctx github.com/labstack/echo/v4.Context, code int, object interface{}) error (wrapcheck)
|