Skip to content

feat (proto): include PolicyDataList for ContainerData and HostSecurityPolicies in getProbeData rpc #5191

feat (proto): include PolicyDataList for ContainerData and HostSecurityPolicies in getProbeData rpc

feat (proto): include PolicyDataList for ContainerData and HostSecurityPolicies in getProbeData rpc #5191

Triggered via pull request December 24, 2024 12:43
Status Success
Total duration 2m 10s
Artifacts

ci-test-go.yml

on: pull_request
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/throttling/throttling_test.go#L10
should not use dot imports
go-lint-tests: tests/k8s_env/throttling/throttling_test.go#L11
should not use dot imports
go-lint-tests: tests/k8s_env/throttling/throttling_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/csp/csp_test.go#L10
should not use dot imports
go-lint-tests: tests/k8s_env/visibility/visibility_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/visibility/visibility_test.go#L13
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/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/cert/tls.go#L15
exported const SelfCertProvider should have comment (or a comment on this block) or be unexported
go-lint: KubeArmor/cert/tls.go#L19
exported type TlsConfig should have comment or be unexported
go-lint: KubeArmor/cert/tls.go#L37
exported type TlsCredentialManager should have comment or be unexported
go-lint: KubeArmor/monitor/syscallParser.go#L557
comment on exported function GetProtocol should be of the form "GetProtocol ..."
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/cert/cert.go#L28
comment on exported const KubeArmor_ORG should be of the form "KubeArmor_ORG ..."
go-lint: KubeArmor/cert/certloader.go#L15
exported type CertLoader should have comment or be unexported
go-lint: KubeArmor/monitor/syscallParser.go#L611
exported var CapToCode should have comment or be unexported
go-lint: KubeArmor/cert/tls.go#L41
exported function NewTlsCredentialManager should have comment or be unexported
go-lint: KubeArmor/cert/cert.go#L30
exported const KubeArmor_CN should have comment (or a comment on this block) or be unexported
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