fix(core): implement NRI handler #5412
ci-test-go.yml
on: pull_request
go-fmt
18s
go-lint
35s
go-lint-tests
34s
go-sec
2m 9s
go-vuln
1m 33s
go-test
1m 45s
license
41s
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/presets/presets_test.go#L12
should not use dot imports
|
go-lint-tests:
tests/k8s_env/presets/presets_test.go#L13
should not use dot imports
|
go-lint-tests:
tests/k8s_env/presets/presets_test.go#L14
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/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/blockposture/block_test.go#L12
should not use dot imports
|
go-lint-tests:
tests/k8s_env/blockposture/block_test.go#L13
should not use dot imports
|
go-lint-tests:
tests/k8s_env/configmap/kubearmor_config_test.go#L11
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
|
go-lint
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
|
go-lint:
KubeArmor/presets/base/basePreset.go#L15
don't use ALL_CAPS in Go names; use CamelCase
|
go-lint:
KubeArmor/presets/anonmapexec/preset.go#L4
should have a package comment
|
go-lint:
KubeArmor/presets/anonmapexec/utils.go#L8
exported function ParseProtectionFlags should have comment or be unexported
|
go-lint:
KubeArmor/presets/anonmapexec/utils.go#L33
exported function ParseMemoryFlags should have comment or be unexported
|
go-lint:
KubeArmor/common/common.go#L43
comment on exported const DefaultMaxRecvMaxSize should be of the form "DefaultMaxRecvMaxSize ..."
|
go-lint:
KubeArmor/common/common.go#L570
comment on exported function HandleGRPCErrors should be of the form "HandleGRPCErrors ..."
|
go-lint:
KubeArmor/common/common.go#L591
comment on exported function GetBootTime should be of the form "GetBootTime ..."
|
go-lint:
KubeArmor/cert/tls.go#L19
type TlsConfig should be TLSConfig
|
go-lint:
KubeArmor/cert/tls.go#L37
type TlsCredentialManager should be TLSCredentialManager
|
go-lint:
KubeArmor/enforcer/bpflsm/mapHelpers.go#L45
comment on exported method BPFEnforcer.CreateContainerInnerMap should be of the form "CreateContainerInnerMap ..."
|
license
Restore cache failed: Some specified paths were not resolved, unable to cache dependencies.
|
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
|