CodeQL #565
Annotations
10 errors and 6 warnings
golangci-lint:
pkg/kmsca/kmsca.go#L86
emptyStringTest: replace `len(input.CustomerMasterKeySpec) > 0` with `input.CustomerMasterKeySpec != ""` (gocritic)
|
golangci-lint:
pkg/kmsca/kmsca.go#L89
emptyStringTest: replace `len(input.Description) > 0` with `input.Description != ""` (gocritic)
|
golangci-lint:
pkg/kmsca/kmsca.go#L92
emptyStringTest: replace `len(input.Policy) > 0` with `input.Policy != ""` (gocritic)
|
golangci-lint:
pkg/interfaces/kmsclient.go#L6
import 'github.com/aws/aws-sdk-go-v2/service/kms' is not allowed from list 'Main' (depguard)
|
golangci-lint:
main.go#L26
import 'k8s.io/client-go/plugin/pkg/client/auth' is not allowed from list 'Main' (depguard)
|
golangci-lint:
main.go#L27
import 'k8s.io/utils/clock' is not allowed from list 'Main' (depguard)
|
golangci-lint:
main.go#L29
import 'k8s.io/apimachinery/pkg/runtime' is not allowed from list 'Main' (depguard)
|
golangci-lint:
main.go#L30
import 'k8s.io/apimachinery/pkg/util/runtime' is not allowed from list 'Main' (depguard)
|
golangci-lint:
main.go#L31
import 'k8s.io/client-go/kubernetes/scheme' is not allowed from list 'Main' (depguard)
|
golangci-lint:
main.go#L32
import 'sigs.k8s.io/controller-runtime' is not allowed from list 'Main' (depguard)
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3.1.0, actions/setup-go@v3, github/codeql-action/init@v2, golangci/golangci-lint-action@v3.4.0. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Initialize CodeQL
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
|
golangci-lint:
apis/certmanager/v1alpha1/status_test.go#L22
dot-imports: should not use dot imports (revive)
|
golangci-lint:
pkg/signer/suite_test.go#L22
dot-imports: should not use dot imports (revive)
|
golangci-lint:
pkg/signer/suite_test.go#L23
dot-imports: should not use dot imports (revive)
|
golangci-lint:
main.go#L99
unused-parameter: parameter 'service' seems to be unused, consider removing or renaming it as _ (revive)
|
Loading