This repository has been archived by the owner on Oct 14, 2024. It is now read-only.
Add IAM policies #1946
Annotations
10 errors
Verification:
pkg/backend/config/config.go#L31
G101: Potential hardcoded credentials (gosec)
|
Verification:
pkg/backend/config/config.go#L32
G101: Potential hardcoded credentials (gosec)
|
Verification:
pkg/backend/backend.go#L58
calculated cyclomatic complexity for function Run is 11, max is 10 (cyclop)
|
Verification:
pkg/backend/iam/iam.go#L127
mnd: Magic number: 2, in <condition> detected (gomnd)
|
Verification:
pkg/backend/iam/provider/oidc.go#L90
mnd: Magic number: 2, in <condition> detected (gomnd)
|
Verification:
pkg/backend/iam/role_syncer/jwt.go#L16
ST1003: should not use underscores in package names (stylecheck)
|
Verification:
pkg/backend/iam/role_syncer/role_syncer.go#L16
ST1003: should not use underscores in package names (stylecheck)
|
Verification:
pkg/backend/iam/authorizer/rbac_local.go#L53
error returned from external package is unwrapped: sig: func (*github.com/casbin/casbin.Enforcer).EnforceSafe(rvals ...interface{}) (result bool, err error) (wrapcheck)
|
Verification:
pkg/backend/iam/provider/provider.go#L30
error returned from external package is unwrapped: sig: func github.com/openclarity/vmclarity/pkg/backend/iam/role_syncer.NewRoleSyncer(config github.com/openclarity/vmclarity/pkg/backend/config.AuthRoleSynchronization) (github.com/openclarity/vmclarity/pkg/backend/iam.RoleSyncer, error) (wrapcheck)
|
Verification:
pkg/backend/iam/provider/provider.go#L35
error returned from external package is unwrapped: sig: func github.com/openclarity/vmclarity/pkg/backend/iam/authorizer.NewAuthorizer(config github.com/openclarity/vmclarity/pkg/backend/config.Authorization) (github.com/openclarity/vmclarity/pkg/backend/iam.Authorizer, error) (wrapcheck)
|