Skip to content

Merge pull request #1913 from rksharma95/feat-deprecate-rbac-proxy #5178

Merge pull request #1913 from rksharma95/feat-deprecate-rbac-proxy

Merge pull request #1913 from rksharma95/feat-deprecate-rbac-proxy #5178

Triggered via push December 24, 2024 06:07
Status Success
Total duration 2m 19s
Artifacts

ci-test-go.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 27 warnings
go-vuln
common.hasMultipleMounts calls mountinfo.GetMountInfo
go-vuln
common.checkOrMountDefaultLocations calls mountinfo.IsMountFS
go-vuln
common.init calls mountinfo.init
go-vuln
common.hasMultipleMounts calls mountinfo.GetMountInfo
go-vuln
common.checkOrMountDefaultLocations calls mountinfo.IsMountFS
go-vuln
common.init calls mountinfo.init
go-vuln
util.init calls vm.init, which eventually calls addressing.init
go-vuln
util.K8sGetPods calls gentype.alsoLister[*k8s.io/api/core/v1.Pod, *k8s.io/api/core/v1.PodList].List[*k8s.io/api/core/v1.Pod *k8s.io/api/core/v1.PodList], which eventually calls api.Rule.DeepCopyInto
go-vuln
util.K8sDelete calls fmt.Sprintf, which eventually calls api.Rules.String
go-vuln
util.init calls vm.init, which eventually calls api.init
go-fmt
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
go-lint-tests: tests/k8s_env/csp/csp_test.go#L10
should not use dot imports
go-lint-tests: tests/k8s_env/csp/csp_test.go#L11
should not use dot imports
go-lint-tests: tests/k8s_env/csp/csp_test.go#L12
should not use dot imports
go-lint-tests: tests/k8s_env/blockposture/block_test.go#L11
should not use dot imports
go-lint-tests: tests/k8s_env/smoke/smoke_test.go#L11
should not use dot imports
go-lint-tests: tests/k8s_env/throttling/throttling_test.go#L10
should not use dot imports
go-lint-tests: tests/k8s_env/privileged/privileged_test.go#L12
should not use dot imports
go-lint-tests: tests/k8s_env/privileged/privileged_suite_test.go#L9
should not use dot imports
go-lint-tests: tests/k8s_env/blockposture/block_test.go#L12
should not use dot imports
go-lint-tests
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
license
Restore cache failed: Some specified paths were not resolved, unable to cache dependencies.
go-lint
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
go-lint: KubeArmor/state/stateAgent.go#L4
package comment should be of the form "Package state ..."
go-lint: KubeArmor/state/stateAgent.go#L98
parameter 'msg' seems to be unused, consider removing or renaming it as _
go-lint: KubeArmor/state/stateAgent.go#L123
parameter 'msg' seems to be unused, consider removing or renaming it as _
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/enforcer/appArmorProfile.go#L268
redefinition of the built-in function cap
go-lint: KubeArmor/enforcer/apparmorContainerProfile.go#L7
exported const AppArmorDefaultPreStart should have comment (or a comment on this block) or be unexported
go-lint: KubeArmor/policy/policy.go#L26
parameter 'c' seems to be unused, consider removing or renaming it as _
go-lint: KubeArmor/policy/policy.go#L58
parameter 'c' seems to be unused, consider removing or renaming it as _
go-lint: KubeArmor/enforcer/bpflsm/rulesHandling.go#L477
parameter 'newPosture' seems to be unused, consider removing or renaming it as _
go-lint: KubeArmor/enforcer/SELinuxEnforcer.go#L36
parameter 'node' seems to be unused, consider removing or renaming it as _
go-vuln
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
go-test
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
go-sec
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum