support for unorchestrated rootfull and rootless Podman using OCI hook #4992
ci-test-go.yml
on: pull_request
go-fmt
19s
go-lint
33s
go-lint-tests
29s
go-sec
1m 40s
go-vuln
1m 14s
go-test
17s
license
32s
Annotations
22 errors and 27 warnings
go-test
missing go.sum entry for module providing package go.uber.org/zap (imported by github.com/kubearmor/KubeArmor/KubeArmor/log); to add:
|
go-test
missing go.sum entry for module providing package go.uber.org/zap/zapcore (imported by github.com/kubearmor/KubeArmor/KubeArmor/log); to add:
|
go-test
missing go.sum entry for module providing package golang.org/x/sys/unix (imported by github.com/kubearmor/KubeArmor/KubeArmor/common); to add:
|
go-test
missing go.sum entry for module providing package golang.org/x/text/runes (imported by github.com/spf13/afero); to add:
|
go-test
missing go.sum entry for module providing package golang.org/x/text/transform (imported by github.com/spf13/afero); to add:
|
go-test
missing go.sum entry for module providing package golang.org/x/text/unicode/norm (imported by github.com/spf13/afero); to add:
|
go-test
missing go.sum entry for module providing package golang.org/x/text/encoding/unicode (imported by github.com/subosito/gotenv); to add:
|
go-test
missing go.sum entry for module providing package github.com/pelletier/go-toml/v2 (imported by github.com/spf13/viper/internal/encoding/toml); to add:
|
go-test
missing go.sum entry for module providing package github.com/containerd/containerd/api/services/containers/v1 (imported by github.com/kubearmor/KubeArmor/KubeArmor/core); to add:
|
go-test
missing go.sum entry for module providing package github.com/containerd/containerd/api/services/tasks/v1 (imported by github.com/kubearmor/KubeArmor/KubeArmor/core); to add:
|
license
Process completed with exit code 1.
|
go-vuln
missing go.sum entry for module providing package go.uber.org/zap (imported by github.com/kubearmor/KubeArmor/KubeArmor/log); to add:
|
go-vuln
missing go.sum entry for module providing package go.uber.org/zap/zapcore (imported by github.com/kubearmor/KubeArmor/KubeArmor/log); to add:
|
go-vuln:
KubeArmor/log/logger.go#L12
could not import go.uber.org/zap (invalid package name: "")
|
go-vuln:
KubeArmor/log/logger.go#L13
could not import go.uber.org/zap/zapcore (invalid package name: "")
|
go-vuln
missing go.sum entry for module providing package golang.org/x/sys/unix (imported by github.com/kubearmor/KubeArmor/KubeArmor/common); to add:
|
go-vuln
could not import golang.org/x/sys/unix (invalid package name: "")
|
go-vuln
missing go.sum entry for module providing package golang.org/x/text/runes (imported by github.com/spf13/afero); to add:
|
go-vuln
missing go.sum entry for module providing package golang.org/x/text/transform (imported by github.com/spf13/afero); to add:
|
go-vuln
missing go.sum entry for module providing package golang.org/x/text/unicode/norm (imported by github.com/spf13/afero); to add:
|
go-vuln
could not import golang.org/x/text/runes (invalid package name: "")
|
go-sec
Process completed with exit code 2.
|
go-test
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
|
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/visibility/visibility_test.go#L11
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/visibility/visibility_test.go#L13
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/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/blockposture/block_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
|
license
Restore cache failed: Some specified paths were not resolved, unable to cache dependencies.
|
go-lint:
KubeArmor/deployHook/main.go#L1
should have a package comment
|
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/hook/main.go#L4
should have a package comment
|
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/hook/main.go#L234
error strings should not be capitalized or end with punctuation or a newline
|
go-lint:
KubeArmor/cert/certloader.go#L15
exported type CertLoader should have comment or be unexported
|
go-lint:
KubeArmor/cert/tls.go#L37
type TlsCredentialManager should be TLSCredentialManager
|
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-vuln
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
|