Merge pull request #1585 from kranurag7/kr/add-go-vuln-scan #218
ci-test-go.yml
on: push
go-fmt
19s
go-lint
32s
go-lint-tests
39s
go-sec
1m 32s
go-vuln
51s
go-test
1m 29s
license
24s
Annotations
10 errors and 28 warnings
go-vuln
missing go.sum entry for module providing package github.com/golang/protobuf/ptypes/empty (imported by github.com/kubearmor/KubeArmor/protobuf); to add:
|
go-vuln
missing go.sum entry for module providing package google.golang.org/grpc (imported by github.com/kubearmor/KubeArmor/protobuf); to add:
|
go-vuln
missing go.sum entry for module providing package google.golang.org/grpc/codes (imported by github.com/kubearmor/KubeArmor/protobuf); to add:
|
go-vuln
missing go.sum entry for module providing package google.golang.org/grpc/status (imported by github.com/kubearmor/KubeArmor/protobuf); to add:
|
go-vuln
missing go.sum entry for module providing package google.golang.org/protobuf/reflect/protoreflect (imported by github.com/kubearmor/KubeArmor/protobuf); to add:
|
go-vuln
missing go.sum entry for module providing package google.golang.org/protobuf/runtime/protoimpl (imported by github.com/kubearmor/KubeArmor/protobuf); to add:
|
go-vuln:
protobuf/kubearmor.pb.go#L10
could not import google.golang.org/protobuf/reflect/protoreflect (invalid package name: "")
|
go-vuln:
protobuf/kubearmor.pb.go#L11
could not import google.golang.org/protobuf/runtime/protoimpl (invalid package name: "")
|
go-vuln:
protobuf/kubearmor_grpc.pb.go#L11
could not import google.golang.org/grpc (invalid package name: "")
|
go-vuln:
protobuf/kubearmor_grpc.pb.go#L12
could not import google.golang.org/grpc/codes (invalid package name: "")
|
go-fmt
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
license
Restore cache failed: Some specified paths were not resolved, unable to cache dependencies.
|
license
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
go-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
go-lint:
KubeArmor/policy/policy.go#L52
parameter 'c' seems to be unused, consider removing or renaming it as _
|
go-lint:
KubeArmor/policy/policy.go#L24
parameter 'c' seems to be unused, consider removing or renaming it as _
|
go-lint:
KubeArmor/state/stateAgent.go#L98
parameter 'msg' seems to be unused, consider removing or renaming it as _
|
go-lint:
KubeArmor/policy/policy.go#L17
type name will be used as policy.PolicyServer by other packages, and that stutters; consider calling this Server
|
go-lint:
KubeArmor/state/stateAgent.go#L42
type name will be used as state.StateAgent by other packages, and that stutters; consider calling this Agent
|
go-lint:
KubeArmor/state/stateAgent.go#L123
parameter 'msg' seems to be unused, consider removing or renaming it as _
|
go-lint:
KubeArmor/common/common.go#L99
redefinition of the built-in function new
|
go-lint:
KubeArmor/state/stateAgent.go#L4
package comment should be of the form "Package state ..."
|
go-lint:
KubeArmor/enforcer/bpflsm/mapHelpers.go#L72
comment on exported method BPFEnforcer.DeleteContainerInnerMap should be of the form "DeleteContainerInnerMap ..."
|
go-lint:
KubeArmor/enforcer/bpflsm/mapHelpers.go#L45
comment on exported method BPFEnforcer.CreateContainerInnerMap should be of the form "CreateContainerInnerMap ..."
|
go-lint-tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
go-lint-tests:
tests/k8s_env/visibility/visibility_test.go#L12
should not use dot imports
|
go-lint-tests:
tests/k8s_env/visibility/visibility_test.go#L11
should not use dot imports
|
go-lint-tests:
tests/k8s_env/block/block_test.go#L11
should not use dot imports
|
go-lint-tests:
tests/k8s_env/visibility/visibility_test.go#L13
should not use dot imports
|
go-lint-tests:
tests/k8s_env/block/block_test.go#L12
should not use dot imports
|
go-lint-tests:
tests/k8s_env/block/block_test.go#L13
should not use dot imports
|
go-lint-tests:
tests/util/kartutil.go#L594
comment on exported function RunDockerCommand should be of the form "RunDockerCommand ..."
|
go-lint-tests:
tests/util/kartutil.go#L219
exported function AnnotationsMatch should have comment or be unexported
|
go-lint-tests:
tests/k8s_env/multicontainer/multicontainer_test.go#L11
should not use dot imports
|
go-lint-tests:
tests/k8s_env/multicontainer/multicontainer_test.go#L10
should not use dot imports
|
go-vuln
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
go-test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
go-sec
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|