Merge pull request #1957 from rksharma95/fix-alerts-duplication #5530
ci-test-go.yml
on: push
go-fmt
16s
go-lint
24s
go-lint-tests
19s
go-sec
1m 57s
go-vuln
1m 8s
go-test
1m 49s
license
28s
Annotations
3 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-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/multicontainer/multicontainer_test.go#L12
should not use dot imports
|
go-lint-tests:
tests/k8s_env/multicontainer/multicontainer_test.go#L13
should not use dot imports
|
go-lint-tests:
tests/k8s_env/multicontainer/multicontainer_test.go#L14
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/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/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/privileged/privileged_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
|
go-lint
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
|
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/presets/base/basePreset.go#L15
don't use ALL_CAPS in Go names; use CamelCase
|
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/common/common.go#L454
parameter 'ContainerRuntime' seems to be unused, consider removing or renaming it as _
|
go-lint:
KubeArmor/presets/protectEnv/preset.go#L154
parameter 'containerID' seems to be unused, consider removing or renaming it as _
|
go-lint:
KubeArmor/presets/anonmapexec/utils.go#L8
exported function ParseProtectionFlags should have comment or be unexported
|
go-lint:
KubeArmor/cert/tls.go#L19
type TlsConfig should be TLSConfig
|
go-lint:
KubeArmor/cert/cert.go#L29
don't use underscores in Go names; const KubeArmor_ORG should be KubeArmorORG
|
go-lint:
KubeArmor/presets/anonmapexec/preset.go#L29
exported const NAME should have comment (or a comment on this block) or be unexported
|
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
|